diff --git a/go.mod b/go.mod index 258a08fed..7f03dd4b8 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,14 @@ module github.com/redhat-developer/mapt -go 1.21 +go 1.21.12 + +toolchain go1.22.9 require ( github.com/coocood/freecache v1.2.4 - github.com/pulumi/pulumi-command/sdk v0.11.1 - github.com/pulumi/pulumi-random/sdk/v4 v4.16.2 - github.com/pulumi/pulumi/sdk/v3 v3.135.0 + github.com/pulumi/pulumi-command/sdk v1.0.1 + github.com/pulumi/pulumi-random/sdk/v4 v4.16.7 + github.com/pulumi/pulumi/sdk/v3 v3.142.0 github.com/sirupsen/logrus v1.9.3 github.com/spf13/cobra v1.8.0 golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 @@ -21,14 +23,14 @@ require ( github.com/aws/aws-sdk-go-v2 v1.27.2 github.com/aws/aws-sdk-go-v2/config v1.27.18 github.com/aws/aws-sdk-go-v2/service/ec2 v1.142.0 - github.com/pulumi/pulumi-aws/sdk/v6 v6.39.0 - github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.64.2 - github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.64.2 - github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.64.2 - github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.64.2 - github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.64.2 - github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.64.2 - github.com/pulumi/pulumi-tls/sdk/v5 v5.0.3 + github.com/pulumi/pulumi-aws/sdk/v6 v6.64.0 + github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.76.0 + github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.76.0 + github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.76.0 + github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.76.0 + github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.76.0 + github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.76.0 + github.com/pulumi/pulumi-tls/sdk/v5 v5.0.9 ) require ( @@ -97,7 +99,7 @@ require ( github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi-azure-native-sdk/v2 v2.64.2 // indirect + github.com/pulumi/pulumi-azure-native-sdk/v2 v2.76.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect diff --git a/go.sum b/go.sum index 97daf1c43..2c7830e4f 100644 --- a/go.sum +++ b/go.sum @@ -119,8 +119,8 @@ github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FM github.com/evertras/bubble-table v0.15.2 h1:hVj27V9tk5TD5p6mVv0RK/KJu2sHq0U+mBMux/HptkU= github.com/evertras/bubble-table v0.15.2/go.mod h1:SPOZKbIpyYWPHBNki3fyNpiPBQkvkULAtOT7NTD5fKY= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= -github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= @@ -252,32 +252,32 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi-aws/sdk/v6 v6.39.0 h1:MVBKXVDr4As1B2LcAzWrPLn0ysR0oiCEQOBvnsrEOcY= -github.com/pulumi/pulumi-aws/sdk/v6 v6.39.0/go.mod h1:cV2EBfrvaS/YUKr9L0ua93vrSuAihpkhokzyYjj6NkQ= -github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.64.2 h1:vJzGBj5viOFTCfYyKwc7p9b4rcW37bHAsbS5mka0uow= -github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.64.2/go.mod h1:PWdAgtaVplvbqTGkqD3hR7AVTRTP8X/q9YDJQVVHNCM= -github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.64.2 h1:J74vg89UTseQAq9L2rYaf8RW7aVt+PAUj7SBRu1YG08= -github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.64.2/go.mod h1:NNS9WhpTuiIftC0AFA1BlfHvqgeY1UOwyWeRSEMZg+A= -github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.64.2 h1:ULOfuN9Iodvjgm9kG9YP5Ed22EOSRHRmZGRicPGLiCo= -github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.64.2/go.mod h1:iGsy7/ehEDoD7ZLTlQRG0lTDRwARRho2Z3Vf3beYfUE= +github.com/pulumi/pulumi-aws/sdk/v6 v6.64.0 h1:O2J/O1MHKykwYCBRPVtSSoK28QfT/miuxeMCqfCsXCY= +github.com/pulumi/pulumi-aws/sdk/v6 v6.64.0/go.mod h1:dKczi8eHVnlINfyDpds1iqXzojUILHAjUQIjvRlRYx4= +github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.76.0 h1:D8EielhAoUhSKGIS9s/aWijpXdZorMhngLHO/jFxclw= +github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.76.0/go.mod h1:vyF2FgS7llLc9ostzI5g5K5ULNjaqWR8zG+VgNI7Rek= +github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.76.0 h1:9R38rvw0dM9xrbyzh/llFjmZ51J2n5T+nVwpi6tyu6E= +github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.76.0/go.mod h1:aBX/NnjCDs8C7iHqUTsL17unHaPHU7PZEp188473iyk= +github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.76.0 h1:fRmE02UIfZ2NJ7RuaL90jPyQkD8Z5Yo3dgxOxMIpYoA= +github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.76.0/go.mod h1:fyLq/yndyidsS2R2IHweADvHvnSOlt8pNCh51KkE2H8= github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v2 v2.53.0 h1:HctTS276Dl0hzqyioTuvLSfFO6xUy0DALtF3Kr2DrmI= github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v2 v2.53.0/go.mod h1:qMFN9OZL50ARd8xi9zFMpCLflH/3YIT1MtXe5Qxu+54= -github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.64.2 h1:QG2Wp1m/1C4fSzxbp/oWfitpfJ44k9T04nB0zjN4lRc= -github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.64.2/go.mod h1:FGzP1UI3jXg5QI0cU3KZi4tyhD2Xx9K8fdgTQyg2/Ps= -github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.64.2 h1:0qKMJsFgoqBXI93oMlNoHIT0HkLDhzsPqEB1DusmXR4= -github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.64.2/go.mod h1:g3WeHy2U/COLYZ/W5v+EHwIwp66+Hm/0GBu2F0Zs/qE= -github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.64.2 h1:qyKJs/0hX1+AlkC17PP46AIlC4WRHX2EB1MIuSkQ05g= -github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.64.2/go.mod h1:XYgPtWQ277cdQaHiX6Ml1gFfN7FIKPLl8hEW/44Vrcg= -github.com/pulumi/pulumi-azure-native-sdk/v2 v2.64.2 h1:kU2KoBPkbfP74RNQabLgGeB61fCLvt/dIDG8LEwvd4M= -github.com/pulumi/pulumi-azure-native-sdk/v2 v2.64.2/go.mod h1:vFd7IQFHtss7v1j0906SwyLcANJer1O9SnkrVj4pRsw= -github.com/pulumi/pulumi-command/sdk v0.11.1 h1:5LCte8TvYlnOfD2Cn6Xm7ZA1fRtT74XAP0QvCPFpIcA= -github.com/pulumi/pulumi-command/sdk v0.11.1/go.mod h1:NfMh7+awKDW3r8Z91JkAN4/lRPsXcCsMqGID0YJHjkk= -github.com/pulumi/pulumi-random/sdk/v4 v4.16.2 h1:5el+INHB9exKLbuQMaz1OEmnasU1A6/GoOMFHCveXb8= -github.com/pulumi/pulumi-random/sdk/v4 v4.16.2/go.mod h1:FuKLicnDYepG3W/tGmqCYkgdML5GK9RE/Ti984E/Tq8= -github.com/pulumi/pulumi-tls/sdk/v5 v5.0.3 h1:kbdrJVO1PczQakfZZ2Ke2P5G4jlPgTw2geGHR2+7zYc= -github.com/pulumi/pulumi-tls/sdk/v5 v5.0.3/go.mod h1:onWsBMCIYPEHfGAQ24FRZ67JtJDkuUQQLd9zp5MDoTM= -github.com/pulumi/pulumi/sdk/v3 v3.135.0 h1:oBP7QsmZv6uUf3eJ9j6av0nrZpipV9IguNu6rVpHlFU= -github.com/pulumi/pulumi/sdk/v3 v3.135.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.76.0 h1:JxRUm3C4d3XWjGxfH9G8SaKRCPzetRY5DqEZJ9Wu+Tg= +github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.76.0/go.mod h1:QgeSXdPDEHomdNwglkZVvMCgOkal+t7UnwpKwaXAPEQ= +github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.76.0 h1:FbHj46EceaqP7EF5N0LXT0RLcnl72VZv+joUA24+hTY= +github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.76.0/go.mod h1:v6vn0ZJhN6leDMklEDV/fuwLW7w2BdnMIC4Lw1nNzKk= +github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.76.0 h1:DibeHp41RuqnWnvTDCRn9b4vTmYB0dVMkUCy2U1xY80= +github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.76.0/go.mod h1:ptTNCATyAzeT7NgWBhRTMnd8L+cQtuf3VrwYfdjiLOo= +github.com/pulumi/pulumi-azure-native-sdk/v2 v2.76.0 h1:SzPA7P0H213ULOUvneoJRi40XERRzLM0xJJ3I98noLQ= +github.com/pulumi/pulumi-azure-native-sdk/v2 v2.76.0/go.mod h1:pzCvLkEbZ3aZJ3SMXxR3+0mV1fK0Qm7wHiMDfaoLib4= +github.com/pulumi/pulumi-command/sdk v1.0.1 h1:ZuBSFT57nxg/fs8yBymUhKLkjJ6qmyN3gNvlY/idiN0= +github.com/pulumi/pulumi-command/sdk v1.0.1/go.mod h1:C7sfdFbUIoXKoIASfXUbP/U9xnwPfxvz8dBpFodohlA= +github.com/pulumi/pulumi-random/sdk/v4 v4.16.7 h1:39rhOe/PTUGMYia8pR5T2wbxxMt2pwrlonf0ncYKSzE= +github.com/pulumi/pulumi-random/sdk/v4 v4.16.7/go.mod h1:cxxDhJzUPt/YElfvlWa15Q4NGF6XXS8kUs4OQsCxSBk= +github.com/pulumi/pulumi-tls/sdk/v5 v5.0.9 h1:JH5TkGJDwlTqKdSJxd49DfrJOpVkRyGDvgKS9gwcV9U= +github.com/pulumi/pulumi-tls/sdk/v5 v5.0.9/go.mod h1:3B+v+HC4bjAYf1mVxRVL/bDY20+VEMwfxRKgc3oeCrs= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= 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= diff --git a/oci/Containerfile b/oci/Containerfile index 4019168e6..3ae6b8129 100644 --- a/oci/Containerfile +++ b/oci/Containerfile @@ -6,7 +6,7 @@ WORKDIR /workspace COPY . . # renovate: datasource=github-releases depName=pulumi/pulumi -ENV PULUMI_VERSION 3.135.0 +ENV PULUMI_VERSION 3.142.0 RUN GOARCH=${TARGETARCH} make build \ && if [ "$TARGETARCH" = "amd64" ]; then \ export PULUMI_URL="https://github.com/pulumi/pulumi/releases/download/v${PULUMI_VERSION}/pulumi-v${PULUMI_VERSION}-linux-x64.tar.gz"; \ @@ -35,17 +35,17 @@ ENV AZ_CLI_VERSION 2.61.0 # Pulumi plugins # renovate: datasource=github-releases depName=pulumi/pulumi-aws -ARG PULUMI_AWS_VERSION=v6.37.1 -# renovate: datasource=github-releases depName=pulumi/pulumi-aws -ARG PULUMI_AWSX_VERSION=v2.3.0 +ARG PULUMI_AWS_VERSION=v6.64.0 +# Install this +# https://releases.hashicorp.com/terraform-provider-aws/5.75.1/terraform-provider-aws_5.75.1_linux_amd64.zip # renovate: datasource=github-releases depName=pulumi/pulumi-azure-native -ARG PULUMI_AZURE_NATIVE_VERSION=v2.64.2 +ARG PULUMI_AZURE_NATIVE_VERSION=v2.76.0 # renovate: datasource=github-releases depName=pulumi/pulumi-command -ARG PULUMI_COMMAND_VERSION=v0.11.1 +ARG PULUMI_COMMAND_VERSION=v1.0.1 # renovate: datasource=github-releases depName=pulumi/pulumi-tls -ARG PULUMI_TLS_VERSION=v5.0.3 +ARG PULUMI_TLS_VERSION=v5.0.9 # renovate: datasource=github-releases depName=pulumi/pulumi-random -ARG PULUMI_RANDOM_VERSION=v4.16.2 +ARG PULUMI_RANDOM_VERSION=v4.16.7 RUN if [ "$TARGETARCH" = "amd64" ]; then \ export ARCH_N=x86_64; \ @@ -66,7 +66,6 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \ && rm -rf /var/cache/yum \ && mkdir -p "${INTERNAL_OUTPUT}" \ && pulumi plugin install resource aws ${PULUMI_AWS_VERSION} \ - && pulumi plugin install resource awsx ${PULUMI_AWSX_VERSION} \ && pulumi plugin install resource azure-native ${PULUMI_AZURE_NATIVE_VERSION} \ && pulumi plugin install resource command ${PULUMI_COMMAND_VERSION} \ && pulumi plugin install resource tls ${PULUMI_TLS_VERSION} \ diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getAmiIds.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getAmiIds.go index 93c14aca6..4db64db9c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getAmiIds.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getAmiIds.go @@ -96,14 +96,20 @@ type GetAmiIdsResult struct { func GetAmiIdsOutput(ctx *pulumi.Context, args GetAmiIdsOutputArgs, opts ...pulumi.InvokeOption) GetAmiIdsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAmiIdsResult, error) { + ApplyT(func(v interface{}) (GetAmiIdsResultOutput, error) { args := v.(GetAmiIdsArgs) - r, err := GetAmiIds(ctx, &args, opts...) - var s GetAmiIdsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAmiIdsResult + secret, err := ctx.InvokePackageRaw("aws:autoscaling/getAmiIds:getAmiIds", args, &rv, "", opts...) + if err != nil { + return GetAmiIdsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAmiIdsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAmiIdsResultOutput), nil + } + return output, nil }).(GetAmiIdsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getGroup.go index 8d15ed006..8003d1756 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/getGroup.go @@ -120,14 +120,20 @@ type LookupGroupResult struct { func LookupGroupOutput(ctx *pulumi.Context, args LookupGroupOutputArgs, opts ...pulumi.InvokeOption) LookupGroupResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupGroupResult, error) { + ApplyT(func(v interface{}) (LookupGroupResultOutput, error) { args := v.(LookupGroupArgs) - r, err := LookupGroup(ctx, &args, opts...) - var s LookupGroupResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupGroupResult + secret, err := ctx.InvokePackageRaw("aws:autoscaling/getGroup:getGroup", args, &rv, "", opts...) + if err != nil { + return LookupGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGroupResultOutput), nil + } + return output, nil }).(LookupGroupResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/policy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/policy.go index 2e7974d9e..bf5cf68bb 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/policy.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/policy.go @@ -323,7 +323,7 @@ type Policy struct { // _, err := autoscaling.NewPolicy(ctx, "example", &autoscaling.PolicyArgs{ // StepAdjustments: autoscaling.PolicyStepAdjustmentArray{ // &autoscaling.PolicyStepAdjustmentArgs{ - // ScalingAdjustment: -1, + // ScalingAdjustment: pulumi.Int(-1), // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // }, @@ -455,7 +455,7 @@ type policyState struct { // _, err := autoscaling.NewPolicy(ctx, "example", &autoscaling.PolicyArgs{ // StepAdjustments: autoscaling.PolicyStepAdjustmentArray{ // &autoscaling.PolicyStepAdjustmentArgs{ - // ScalingAdjustment: -1, + // ScalingAdjustment: pulumi.Int(-1), // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // }, @@ -555,7 +555,7 @@ type PolicyState struct { // _, err := autoscaling.NewPolicy(ctx, "example", &autoscaling.PolicyArgs{ // StepAdjustments: autoscaling.PolicyStepAdjustmentArray{ // &autoscaling.PolicyStepAdjustmentArgs{ - // ScalingAdjustment: -1, + // ScalingAdjustment: pulumi.Int(-1), // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // }, @@ -657,7 +657,7 @@ type policyArgs struct { // _, err := autoscaling.NewPolicy(ctx, "example", &autoscaling.PolicyArgs{ // StepAdjustments: autoscaling.PolicyStepAdjustmentArray{ // &autoscaling.PolicyStepAdjustmentArgs{ - // ScalingAdjustment: -1, + // ScalingAdjustment: pulumi.Int(-1), // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // }, @@ -756,7 +756,7 @@ type PolicyArgs struct { // _, err := autoscaling.NewPolicy(ctx, "example", &autoscaling.PolicyArgs{ // StepAdjustments: autoscaling.PolicyStepAdjustmentArray{ // &autoscaling.PolicyStepAdjustmentArgs{ - // ScalingAdjustment: -1, + // ScalingAdjustment: pulumi.Int(-1), // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // }, @@ -980,7 +980,7 @@ func (o PolicyOutput) ScalingAdjustment() pulumi.IntPtrOutput { // _, err := autoscaling.NewPolicy(ctx, "example", &autoscaling.PolicyArgs{ // StepAdjustments: autoscaling.PolicyStepAdjustmentArray{ // &autoscaling.PolicyStepAdjustmentArgs{ -// ScalingAdjustment: -1, +// ScalingAdjustment: pulumi.Int(-1), // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // }, diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/pulumiTypes.go index 7d0972ebe..7ebc3672f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling/pulumiTypes.go @@ -1290,12 +1290,18 @@ func (o GroupMixedInstancesPolicyPtrOutput) LaunchTemplate() GroupMixedInstances } type GroupMixedInstancesPolicyInstancesDistribution struct { - OnDemandAllocationStrategy *string `pulumi:"onDemandAllocationStrategy"` - OnDemandBaseCapacity *int `pulumi:"onDemandBaseCapacity"` - OnDemandPercentageAboveBaseCapacity *int `pulumi:"onDemandPercentageAboveBaseCapacity"` - SpotAllocationStrategy *string `pulumi:"spotAllocationStrategy"` - SpotInstancePools *int `pulumi:"spotInstancePools"` - SpotMaxPrice *string `pulumi:"spotMaxPrice"` + // Strategy to use when launching on-demand instances. Valid values: `prioritized`, `lowest-price`. Default: `prioritized`. + OnDemandAllocationStrategy *string `pulumi:"onDemandAllocationStrategy"` + // Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`. + OnDemandBaseCapacity *int `pulumi:"onDemandBaseCapacity"` + // Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`. + OnDemandPercentageAboveBaseCapacity *int `pulumi:"onDemandPercentageAboveBaseCapacity"` + // How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`, and `price-capacity-optimized`. Default: `lowest-price`. + SpotAllocationStrategy *string `pulumi:"spotAllocationStrategy"` + // Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`. + SpotInstancePools *int `pulumi:"spotInstancePools"` + // Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price. + SpotMaxPrice *string `pulumi:"spotMaxPrice"` } // GroupMixedInstancesPolicyInstancesDistributionInput is an input type that accepts GroupMixedInstancesPolicyInstancesDistributionArgs and GroupMixedInstancesPolicyInstancesDistributionOutput values. @@ -1310,12 +1316,18 @@ type GroupMixedInstancesPolicyInstancesDistributionInput interface { } type GroupMixedInstancesPolicyInstancesDistributionArgs struct { - OnDemandAllocationStrategy pulumi.StringPtrInput `pulumi:"onDemandAllocationStrategy"` - OnDemandBaseCapacity pulumi.IntPtrInput `pulumi:"onDemandBaseCapacity"` - OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput `pulumi:"onDemandPercentageAboveBaseCapacity"` - SpotAllocationStrategy pulumi.StringPtrInput `pulumi:"spotAllocationStrategy"` - SpotInstancePools pulumi.IntPtrInput `pulumi:"spotInstancePools"` - SpotMaxPrice pulumi.StringPtrInput `pulumi:"spotMaxPrice"` + // Strategy to use when launching on-demand instances. Valid values: `prioritized`, `lowest-price`. Default: `prioritized`. + OnDemandAllocationStrategy pulumi.StringPtrInput `pulumi:"onDemandAllocationStrategy"` + // Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`. + OnDemandBaseCapacity pulumi.IntPtrInput `pulumi:"onDemandBaseCapacity"` + // Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`. + OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput `pulumi:"onDemandPercentageAboveBaseCapacity"` + // How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`, and `price-capacity-optimized`. Default: `lowest-price`. + SpotAllocationStrategy pulumi.StringPtrInput `pulumi:"spotAllocationStrategy"` + // Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`. + SpotInstancePools pulumi.IntPtrInput `pulumi:"spotInstancePools"` + // Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price. + SpotMaxPrice pulumi.StringPtrInput `pulumi:"spotMaxPrice"` } func (GroupMixedInstancesPolicyInstancesDistributionArgs) ElementType() reflect.Type { @@ -1395,28 +1407,34 @@ func (o GroupMixedInstancesPolicyInstancesDistributionOutput) ToGroupMixedInstan }).(GroupMixedInstancesPolicyInstancesDistributionPtrOutput) } +// Strategy to use when launching on-demand instances. Valid values: `prioritized`, `lowest-price`. Default: `prioritized`. func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandAllocationStrategy() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyInstancesDistribution) *string { return v.OnDemandAllocationStrategy }).(pulumi.StringPtrOutput) } +// Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`. func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyInstancesDistribution) *int { return v.OnDemandBaseCapacity }).(pulumi.IntPtrOutput) } +// Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`. func (o GroupMixedInstancesPolicyInstancesDistributionOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyInstancesDistribution) *int { return v.OnDemandPercentageAboveBaseCapacity }).(pulumi.IntPtrOutput) } +// How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`, and `price-capacity-optimized`. Default: `lowest-price`. func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotAllocationStrategy() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyInstancesDistribution) *string { return v.SpotAllocationStrategy }).(pulumi.StringPtrOutput) } +// Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`. func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotInstancePools() pulumi.IntPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyInstancesDistribution) *int { return v.SpotInstancePools }).(pulumi.IntPtrOutput) } +// Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price. func (o GroupMixedInstancesPolicyInstancesDistributionOutput) SpotMaxPrice() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyInstancesDistribution) *string { return v.SpotMaxPrice }).(pulumi.StringPtrOutput) } @@ -1445,6 +1463,7 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) Elem() GroupMix }).(GroupMixedInstancesPolicyInstancesDistributionOutput) } +// Strategy to use when launching on-demand instances. Valid values: `prioritized`, `lowest-price`. Default: `prioritized`. func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandAllocationStrategy() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyInstancesDistribution) *string { if v == nil { @@ -1454,6 +1473,7 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandAllocat }).(pulumi.StringPtrOutput) } +// Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: `0`. func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyInstancesDistribution) *int { if v == nil { @@ -1463,6 +1483,7 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandBaseCap }).(pulumi.IntPtrOutput) } +// Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: `100`. func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyInstancesDistribution) *int { if v == nil { @@ -1472,6 +1493,7 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) OnDemandPercent }).(pulumi.IntPtrOutput) } +// How to allocate capacity across the Spot pools. Valid values: `lowest-price`, `capacity-optimized`, `capacity-optimized-prioritized`, and `price-capacity-optimized`. Default: `lowest-price`. func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotAllocationStrategy() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyInstancesDistribution) *string { if v == nil { @@ -1481,6 +1503,7 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotAllocationS }).(pulumi.StringPtrOutput) } +// Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Only available with `spotAllocationStrategy` set to `lowest-price`. Otherwise it must be set to `0`, if it has been defined before. Default: `2`. func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotInstancePools() pulumi.IntPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyInstancesDistribution) *int { if v == nil { @@ -1490,6 +1513,7 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotInstancePoo }).(pulumi.IntPtrOutput) } +// Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price. func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotMaxPrice() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyInstancesDistribution) *string { if v == nil { @@ -1500,8 +1524,10 @@ func (o GroupMixedInstancesPolicyInstancesDistributionPtrOutput) SpotMaxPrice() } type GroupMixedInstancesPolicyLaunchTemplate struct { + // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification `pulumi:"launchTemplateSpecification"` - Overrides []GroupMixedInstancesPolicyLaunchTemplateOverride `pulumi:"overrides"` + // List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below. + Overrides []GroupMixedInstancesPolicyLaunchTemplateOverride `pulumi:"overrides"` } // GroupMixedInstancesPolicyLaunchTemplateInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateArgs and GroupMixedInstancesPolicyLaunchTemplateOutput values. @@ -1516,8 +1542,10 @@ type GroupMixedInstancesPolicyLaunchTemplateInput interface { } type GroupMixedInstancesPolicyLaunchTemplateArgs struct { + // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput `pulumi:"launchTemplateSpecification"` - Overrides GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput `pulumi:"overrides"` + // List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below. + Overrides GroupMixedInstancesPolicyLaunchTemplateOverrideArrayInput `pulumi:"overrides"` } func (GroupMixedInstancesPolicyLaunchTemplateArgs) ElementType() reflect.Type { @@ -1597,12 +1625,14 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOutput) ToGroupMixedInstancesPoli }).(GroupMixedInstancesPolicyLaunchTemplatePtrOutput) } +// Override the instance launch template specification in the Launch Template. func (o GroupMixedInstancesPolicyLaunchTemplateOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplate) GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification { return v.LaunchTemplateSpecification }).(GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) } +// List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below. func (o GroupMixedInstancesPolicyLaunchTemplateOutput) Overrides() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplate) []GroupMixedInstancesPolicyLaunchTemplateOverride { return v.Overrides @@ -1633,6 +1663,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Elem() GroupMixedInsta }).(GroupMixedInstancesPolicyLaunchTemplateOutput) } +// Override the instance launch template specification in the Launch Template. func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplate) *GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification { if v == nil { @@ -1642,6 +1673,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) LaunchTemplateSpecific }).(GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) } +// List of nested arguments provides the ability to specify multiple instance types. This will override the same parameter in the launch template. For on-demand instances, Auto Scaling considers the order of preference of instance types to launch based on the order specified in the overrides list. Defined below. func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Overrides() GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplate) []GroupMixedInstancesPolicyLaunchTemplateOverride { if v == nil { @@ -1652,7 +1684,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplatePtrOutput) Overrides() GroupMixed } type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification struct { - LaunchTemplateId *string `pulumi:"launchTemplateId"` + // ID of the launch template. Conflicts with `launchTemplateName`. + LaunchTemplateId *string `pulumi:"launchTemplateId"` + // Name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName *string `pulumi:"launchTemplateName"` Version *string `pulumi:"version"` } @@ -1669,7 +1703,9 @@ type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationInput int } type GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArgs struct { - LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` + // ID of the launch template. Conflicts with `launchTemplateName`. + LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` + // Name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` Version pulumi.StringPtrInput `pulumi:"version"` } @@ -1751,12 +1787,14 @@ func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput }).(GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) } +// ID of the launch template. Conflicts with `launchTemplateName`. func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification) *string { return v.LaunchTemplateId }).(pulumi.StringPtrOutput) } +// Name of the launch template. Conflicts with `launchTemplateId`. func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification) *string { return v.LaunchTemplateName @@ -1791,6 +1829,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOut }).(GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationOutput) } +// ID of the launch template. Conflicts with `launchTemplateName`. func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification) *string { if v == nil { @@ -1800,6 +1839,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOut }).(pulumi.StringPtrOutput) } +// Name of the launch template. Conflicts with `launchTemplateId`. func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecification) *string { if v == nil { @@ -1819,10 +1859,14 @@ func (o GroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationPtrOut } type GroupMixedInstancesPolicyLaunchTemplateOverride struct { - InstanceRequirements *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements `pulumi:"instanceRequirements"` - InstanceType *string `pulumi:"instanceType"` + // Override the instance type in the Launch Template with instance types that satisfy the requirements. + InstanceRequirements *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements `pulumi:"instanceRequirements"` + // Override the instance type in the Launch Template. + InstanceType *string `pulumi:"instanceType"` + // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification *GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification `pulumi:"launchTemplateSpecification"` - WeightedCapacity *string `pulumi:"weightedCapacity"` + // Number of capacity units, which gives the instance type a proportional weight to other instance types. + WeightedCapacity *string `pulumi:"weightedCapacity"` } // GroupMixedInstancesPolicyLaunchTemplateOverrideInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateOverrideArgs and GroupMixedInstancesPolicyLaunchTemplateOverrideOutput values. @@ -1837,10 +1881,14 @@ type GroupMixedInstancesPolicyLaunchTemplateOverrideInput interface { } type GroupMixedInstancesPolicyLaunchTemplateOverrideArgs struct { - InstanceRequirements GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrInput `pulumi:"instanceRequirements"` - InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + // Override the instance type in the Launch Template with instance types that satisfy the requirements. + InstanceRequirements GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrInput `pulumi:"instanceRequirements"` + // Override the instance type in the Launch Template. + InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + // Override the instance launch template specification in the Launch Template. LaunchTemplateSpecification GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrInput `pulumi:"launchTemplateSpecification"` - WeightedCapacity pulumi.StringPtrInput `pulumi:"weightedCapacity"` + // Number of capacity units, which gives the instance type a proportional weight to other instance types. + WeightedCapacity pulumi.StringPtrInput `pulumi:"weightedCapacity"` } func (GroupMixedInstancesPolicyLaunchTemplateOverrideArgs) ElementType() reflect.Type { @@ -1894,22 +1942,26 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGroupMixedInsta return o } +// Override the instance type in the Launch Template with instance types that satisfy the requirements. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) InstanceRequirements() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverride) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements { return v.InstanceRequirements }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) } +// Override the instance type in the Launch Template. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) InstanceType() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverride) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } +// Override the instance launch template specification in the Launch Template. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) LaunchTemplateSpecification() GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverride) *GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification { return v.LaunchTemplateSpecification }).(GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) } +// Number of capacity units, which gives the instance type a proportional weight to other instance types. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideOutput) WeightedCapacity() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverride) *string { return v.WeightedCapacity }).(pulumi.StringPtrOutput) } @@ -1935,29 +1987,64 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) Index(i pulu } type GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements struct { - AcceleratorCount *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCount `pulumi:"acceleratorCount"` - AcceleratorManufacturers []string `pulumi:"acceleratorManufacturers"` - AcceleratorNames []string `pulumi:"acceleratorNames"` - AcceleratorTotalMemoryMib *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMib `pulumi:"acceleratorTotalMemoryMib"` - AcceleratorTypes []string `pulumi:"acceleratorTypes"` - AllowedInstanceTypes []string `pulumi:"allowedInstanceTypes"` - BareMetal *string `pulumi:"bareMetal"` - BaselineEbsBandwidthMbps *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbps `pulumi:"baselineEbsBandwidthMbps"` - BurstablePerformance *string `pulumi:"burstablePerformance"` - CpuManufacturers []string `pulumi:"cpuManufacturers"` - ExcludedInstanceTypes []string `pulumi:"excludedInstanceTypes"` - InstanceGenerations []string `pulumi:"instanceGenerations"` - LocalStorage *string `pulumi:"localStorage"` - LocalStorageTypes []string `pulumi:"localStorageTypes"` - MemoryGibPerVcpu *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpu `pulumi:"memoryGibPerVcpu"` - MemoryMib *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMib `pulumi:"memoryMib"` - NetworkBandwidthGbps *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbps `pulumi:"networkBandwidthGbps"` - NetworkInterfaceCount *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCount `pulumi:"networkInterfaceCount"` - OnDemandMaxPricePercentageOverLowestPrice *int `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` - RequireHibernateSupport *bool `pulumi:"requireHibernateSupport"` - SpotMaxPricePercentageOverLowestPrice *int `pulumi:"spotMaxPricePercentageOverLowestPrice"` - TotalLocalStorageGb *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGb `pulumi:"totalLocalStorageGb"` - VcpuCount *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCount `pulumi:"vcpuCount"` + // Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum. + AcceleratorCount *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCount `pulumi:"acceleratorCount"` + // List of accelerator manufacturer names. Default is any manufacturer. + AcceleratorManufacturers []string `pulumi:"acceleratorManufacturers"` + // List of accelerator names. Default is any acclerator. + AcceleratorNames []string `pulumi:"acceleratorNames"` + // Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. + AcceleratorTotalMemoryMib *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMib `pulumi:"acceleratorTotalMemoryMib"` + // List of accelerator types. Default is any accelerator type. + AcceleratorTypes []string `pulumi:"acceleratorTypes"` + // List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (\*), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types. + // + // > **NOTE:** If you specify `allowedInstanceTypes`, you can't specify `excludedInstanceTypes`. + AllowedInstanceTypes []string `pulumi:"allowedInstanceTypes"` + // Indicate whether bare metal instace types should be `included`, `excluded`, or `required`. Default is `excluded`. + BareMetal *string `pulumi:"bareMetal"` + // Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. + BaselineEbsBandwidthMbps *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbps `pulumi:"baselineEbsBandwidthMbps"` + // Indicate whether burstable performance instance types should be `included`, `excluded`, or `required`. Default is `excluded`. + BurstablePerformance *string `pulumi:"burstablePerformance"` + // List of CPU manufacturer names. Default is any manufacturer. + // + // > **NOTE:** Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + CpuManufacturers []string `pulumi:"cpuManufacturers"` + // List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*), to exclude an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. + // + // > **NOTE:** If you specify `excludedInstanceTypes`, you can't specify `allowedInstanceTypes`. + ExcludedInstanceTypes []string `pulumi:"excludedInstanceTypes"` + // List of instance generation names. Default is any generation. + InstanceGenerations []string `pulumi:"instanceGenerations"` + // Indicate whether instance types with local storage volumes are `included`, `excluded`, or `required`. Default is `included`. + LocalStorage *string `pulumi:"localStorage"` + // List of local storage type names. Default any storage type. + LocalStorageTypes []string `pulumi:"localStorageTypes"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *int `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. + MemoryGibPerVcpu *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpu `pulumi:"memoryGibPerVcpu"` + // Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. + MemoryMib *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMib `pulumi:"memoryMib"` + // Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum. + NetworkBandwidthGbps *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbps `pulumi:"networkBandwidthGbps"` + // Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. + NetworkInterfaceCount *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCount `pulumi:"networkInterfaceCount"` + // Price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. + // + // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. + OnDemandMaxPricePercentageOverLowestPrice *int `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` + // Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. + RequireHibernateSupport *bool `pulumi:"requireHibernateSupport"` + // Price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` + // + // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. + SpotMaxPricePercentageOverLowestPrice *int `pulumi:"spotMaxPricePercentageOverLowestPrice"` + // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. + TotalLocalStorageGb *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGb `pulumi:"totalLocalStorageGb"` + // Block describing the minimum and maximum number of vCPUs. Default is no maximum. + VcpuCount *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCount `pulumi:"vcpuCount"` } // GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsInput is an input type that accepts GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsArgs and GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput values. @@ -1972,29 +2059,64 @@ type GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsInput in } type GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsArgs struct { - AcceleratorCount GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCountPtrInput `pulumi:"acceleratorCount"` - AcceleratorManufacturers pulumi.StringArrayInput `pulumi:"acceleratorManufacturers"` - AcceleratorNames pulumi.StringArrayInput `pulumi:"acceleratorNames"` - AcceleratorTotalMemoryMib GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMibPtrInput `pulumi:"acceleratorTotalMemoryMib"` - AcceleratorTypes pulumi.StringArrayInput `pulumi:"acceleratorTypes"` - AllowedInstanceTypes pulumi.StringArrayInput `pulumi:"allowedInstanceTypes"` - BareMetal pulumi.StringPtrInput `pulumi:"bareMetal"` - BaselineEbsBandwidthMbps GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbpsPtrInput `pulumi:"baselineEbsBandwidthMbps"` - BurstablePerformance pulumi.StringPtrInput `pulumi:"burstablePerformance"` - CpuManufacturers pulumi.StringArrayInput `pulumi:"cpuManufacturers"` - ExcludedInstanceTypes pulumi.StringArrayInput `pulumi:"excludedInstanceTypes"` - InstanceGenerations pulumi.StringArrayInput `pulumi:"instanceGenerations"` - LocalStorage pulumi.StringPtrInput `pulumi:"localStorage"` - LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` - MemoryGibPerVcpu GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpuPtrInput `pulumi:"memoryGibPerVcpu"` - MemoryMib GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMibPtrInput `pulumi:"memoryMib"` - NetworkBandwidthGbps GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbpsPtrInput `pulumi:"networkBandwidthGbps"` - NetworkInterfaceCount GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCountPtrInput `pulumi:"networkInterfaceCount"` - OnDemandMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` - RequireHibernateSupport pulumi.BoolPtrInput `pulumi:"requireHibernateSupport"` - SpotMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"spotMaxPricePercentageOverLowestPrice"` - TotalLocalStorageGb GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGbPtrInput `pulumi:"totalLocalStorageGb"` - VcpuCount GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCountPtrInput `pulumi:"vcpuCount"` + // Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum. + AcceleratorCount GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCountPtrInput `pulumi:"acceleratorCount"` + // List of accelerator manufacturer names. Default is any manufacturer. + AcceleratorManufacturers pulumi.StringArrayInput `pulumi:"acceleratorManufacturers"` + // List of accelerator names. Default is any acclerator. + AcceleratorNames pulumi.StringArrayInput `pulumi:"acceleratorNames"` + // Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. + AcceleratorTotalMemoryMib GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMibPtrInput `pulumi:"acceleratorTotalMemoryMib"` + // List of accelerator types. Default is any accelerator type. + AcceleratorTypes pulumi.StringArrayInput `pulumi:"acceleratorTypes"` + // List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (\*), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types. + // + // > **NOTE:** If you specify `allowedInstanceTypes`, you can't specify `excludedInstanceTypes`. + AllowedInstanceTypes pulumi.StringArrayInput `pulumi:"allowedInstanceTypes"` + // Indicate whether bare metal instace types should be `included`, `excluded`, or `required`. Default is `excluded`. + BareMetal pulumi.StringPtrInput `pulumi:"bareMetal"` + // Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. + BaselineEbsBandwidthMbps GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbpsPtrInput `pulumi:"baselineEbsBandwidthMbps"` + // Indicate whether burstable performance instance types should be `included`, `excluded`, or `required`. Default is `excluded`. + BurstablePerformance pulumi.StringPtrInput `pulumi:"burstablePerformance"` + // List of CPU manufacturer names. Default is any manufacturer. + // + // > **NOTE:** Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + CpuManufacturers pulumi.StringArrayInput `pulumi:"cpuManufacturers"` + // List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*), to exclude an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. + // + // > **NOTE:** If you specify `excludedInstanceTypes`, you can't specify `allowedInstanceTypes`. + ExcludedInstanceTypes pulumi.StringArrayInput `pulumi:"excludedInstanceTypes"` + // List of instance generation names. Default is any generation. + InstanceGenerations pulumi.StringArrayInput `pulumi:"instanceGenerations"` + // Indicate whether instance types with local storage volumes are `included`, `excluded`, or `required`. Default is `included`. + LocalStorage pulumi.StringPtrInput `pulumi:"localStorage"` + // List of local storage type names. Default any storage type. + LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice pulumi.IntPtrInput `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. + MemoryGibPerVcpu GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpuPtrInput `pulumi:"memoryGibPerVcpu"` + // Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. + MemoryMib GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMibPtrInput `pulumi:"memoryMib"` + // Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum. + NetworkBandwidthGbps GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbpsPtrInput `pulumi:"networkBandwidthGbps"` + // Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. + NetworkInterfaceCount GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCountPtrInput `pulumi:"networkInterfaceCount"` + // Price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. + // + // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. + OnDemandMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` + // Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. + RequireHibernateSupport pulumi.BoolPtrInput `pulumi:"requireHibernateSupport"` + // Price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` + // + // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. + SpotMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"spotMaxPricePercentageOverLowestPrice"` + // Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. + TotalLocalStorageGb GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGbPtrInput `pulumi:"totalLocalStorageGb"` + // Block describing the minimum and maximum number of vCPUs. Default is no maximum. + VcpuCount GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCountPtrInput `pulumi:"vcpuCount"` } func (GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsArgs) ElementType() reflect.Type { @@ -2074,138 +2196,178 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutpu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) } +// Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) AcceleratorCount() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCountPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCount { return v.AcceleratorCount }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCountPtrOutput) } +// List of accelerator manufacturer names. Default is any manufacturer. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) AcceleratorManufacturers() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.AcceleratorManufacturers }).(pulumi.StringArrayOutput) } +// List of accelerator names. Default is any acclerator. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) AcceleratorNames() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.AcceleratorNames }).(pulumi.StringArrayOutput) } +// Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) AcceleratorTotalMemoryMib() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMibPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMib { return v.AcceleratorTotalMemoryMib }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMibPtrOutput) } +// List of accelerator types. Default is any accelerator type. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) AcceleratorTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.AcceleratorTypes }).(pulumi.StringArrayOutput) } +// List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (\*), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types. +// +// > **NOTE:** If you specify `allowedInstanceTypes`, you can't specify `excludedInstanceTypes`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) AllowedInstanceTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.AllowedInstanceTypes }).(pulumi.StringArrayOutput) } +// Indicate whether bare metal instace types should be `included`, `excluded`, or `required`. Default is `excluded`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) BareMetal() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *string { return v.BareMetal }).(pulumi.StringPtrOutput) } +// Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) BaselineEbsBandwidthMbps() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbpsPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbps { return v.BaselineEbsBandwidthMbps }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbpsPtrOutput) } +// Indicate whether burstable performance instance types should be `included`, `excluded`, or `required`. Default is `excluded`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) BurstablePerformance() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *string { return v.BurstablePerformance }).(pulumi.StringPtrOutput) } +// List of CPU manufacturer names. Default is any manufacturer. +// +// > **NOTE:** Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) CpuManufacturers() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.CpuManufacturers }).(pulumi.StringArrayOutput) } +// List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*), to exclude an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. +// +// > **NOTE:** If you specify `excludedInstanceTypes`, you can't specify `allowedInstanceTypes`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) ExcludedInstanceTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.ExcludedInstanceTypes }).(pulumi.StringArrayOutput) } +// List of instance generation names. Default is any generation. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) InstanceGenerations() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.InstanceGenerations }).(pulumi.StringArrayOutput) } +// Indicate whether instance types with local storage volumes are `included`, `excluded`, or `required`. Default is `included`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) LocalStorage() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *string { return v.LocalStorage }).(pulumi.StringPtrOutput) } +// List of local storage type names. Default any storage type. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) LocalStorageTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { return v.LocalStorageTypes }).(pulumi.StringArrayOutput) } +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` +func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntPtrOutput { + return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *int { + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntPtrOutput) +} + +// Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) MemoryGibPerVcpu() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpuPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpu { return v.MemoryGibPerVcpu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpuPtrOutput) } +// Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) MemoryMib() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMibPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMib { return v.MemoryMib }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMibPtrOutput) } +// Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) NetworkBandwidthGbps() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbpsPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbps { return v.NetworkBandwidthGbps }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbpsPtrOutput) } +// Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) NetworkInterfaceCount() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCountPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCount { return v.NetworkInterfaceCount }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCountPtrOutput) } +// Price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. +// +// If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) OnDemandMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *int { return v.OnDemandMaxPricePercentageOverLowestPrice }).(pulumi.IntPtrOutput) } +// Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) RequireHibernateSupport() pulumi.BoolPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *bool { return v.RequireHibernateSupport }).(pulumi.BoolPtrOutput) } +// Price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` +// +// If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) SpotMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *int { return v.SpotMaxPricePercentageOverLowestPrice }).(pulumi.IntPtrOutput) } +// Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) TotalLocalStorageGb() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGbPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGb { return v.TotalLocalStorageGb }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGbPtrOutput) } +// Block describing the minimum and maximum number of vCPUs. Default is no maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) VcpuCount() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCountPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCount { return v.VcpuCount @@ -2236,6 +2398,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsOutput) } +// Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) AcceleratorCount() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCountPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCount { if v == nil { @@ -2245,6 +2408,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorCountPtrOutput) } +// List of accelerator manufacturer names. Default is any manufacturer. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) AcceleratorManufacturers() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2254,6 +2418,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// List of accelerator names. Default is any acclerator. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) AcceleratorNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2263,6 +2428,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) AcceleratorTotalMemoryMib() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMibPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMib { if v == nil { @@ -2272,6 +2438,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsAcceleratorTotalMemoryMibPtrOutput) } +// List of accelerator types. Default is any accelerator type. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) AcceleratorTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2281,6 +2448,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (\*), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types. +// +// > **NOTE:** If you specify `allowedInstanceTypes`, you can't specify `excludedInstanceTypes`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) AllowedInstanceTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2290,6 +2460,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// Indicate whether bare metal instace types should be `included`, `excluded`, or `required`. Default is `excluded`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) BareMetal() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *string { if v == nil { @@ -2299,6 +2470,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringPtrOutput) } +// Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) BaselineEbsBandwidthMbps() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbpsPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbps { if v == nil { @@ -2308,6 +2480,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsBaselineEbsBandwidthMbpsPtrOutput) } +// Indicate whether burstable performance instance types should be `included`, `excluded`, or `required`. Default is `excluded`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) BurstablePerformance() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *string { if v == nil { @@ -2317,6 +2490,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringPtrOutput) } +// List of CPU manufacturer names. Default is any manufacturer. +// +// > **NOTE:** Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) CpuManufacturers() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2326,6 +2502,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (\*), to exclude an instance type, size, or generation. The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`. For example, if you specify `c5*`, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*`, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types. +// +// > **NOTE:** If you specify `excludedInstanceTypes`, you can't specify `allowedInstanceTypes`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) ExcludedInstanceTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2335,6 +2514,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// List of instance generation names. Default is any generation. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) InstanceGenerations() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2344,6 +2524,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// Indicate whether instance types with local storage volumes are `included`, `excluded`, or `required`. Default is `included`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) LocalStorage() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *string { if v == nil { @@ -2353,6 +2534,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringPtrOutput) } +// List of local storage type names. Default any storage type. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) LocalStorageTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) []string { if v == nil { @@ -2362,6 +2544,17 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.StringArrayOutput) } +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` +func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *int { + if v == nil { + return nil + } + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntPtrOutput) +} + +// Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) MemoryGibPerVcpu() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpuPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpu { if v == nil { @@ -2371,6 +2564,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryGibPerVcpuPtrOutput) } +// Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) MemoryMib() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMibPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMib { if v == nil { @@ -2380,6 +2574,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsMemoryMibPtrOutput) } +// Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) NetworkBandwidthGbps() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbpsPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbps { if v == nil { @@ -2389,6 +2584,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkBandwidthGbpsPtrOutput) } +// Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) NetworkInterfaceCount() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCountPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCount { if v == nil { @@ -2398,6 +2594,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsNetworkInterfaceCountPtrOutput) } +// Price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. +// +// If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) OnDemandMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *int { if v == nil { @@ -2407,6 +2606,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.IntPtrOutput) } +// Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) RequireHibernateSupport() pulumi.BoolPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *bool { if v == nil { @@ -2416,6 +2616,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.BoolPtrOutput) } +// Price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` +// +// If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) SpotMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *int { if v == nil { @@ -2425,6 +2628,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(pulumi.IntPtrOutput) } +// Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) TotalLocalStorageGb() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGbPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGb { if v == nil { @@ -2434,6 +2638,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOu }).(GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsTotalLocalStorageGbPtrOutput) } +// Block describing the minimum and maximum number of vCPUs. Default is no maximum. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsPtrOutput) VcpuCount() GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCountPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirements) *GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuCount { if v == nil { @@ -3812,7 +4017,9 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementsVcpuC } type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification struct { - LaunchTemplateId *string `pulumi:"launchTemplateId"` + // ID of the launch template. Conflicts with `launchTemplateName`. + LaunchTemplateId *string `pulumi:"launchTemplateId"` + // Name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName *string `pulumi:"launchTemplateName"` Version *string `pulumi:"version"` } @@ -3829,7 +4036,9 @@ type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationI } type GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationArgs struct { - LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` + // ID of the launch template. Conflicts with `launchTemplateName`. + LaunchTemplateId pulumi.StringPtrInput `pulumi:"launchTemplateId"` + // Name of the launch template. Conflicts with `launchTemplateId`. LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"` Version pulumi.StringPtrInput `pulumi:"version"` } @@ -3911,12 +4120,14 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificati }).(GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) } +// ID of the launch template. Conflicts with `launchTemplateName`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateId() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification) *string { return v.LaunchTemplateId }).(pulumi.StringPtrOutput) } +// Name of the launch template. Conflicts with `launchTemplateId`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) LaunchTemplateName() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification) *string { return v.LaunchTemplateName @@ -3953,6 +4164,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificati }).(GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationOutput) } +// ID of the launch template. Conflicts with `launchTemplateName`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateId() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification) *string { if v == nil { @@ -3962,6 +4174,7 @@ func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificati }).(pulumi.StringPtrOutput) } +// Name of the launch template. Conflicts with `launchTemplateId`. func (o GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecificationPtrOutput) LaunchTemplateName() pulumi.StringPtrOutput { return o.ApplyT(func(v *GroupMixedInstancesPolicyLaunchTemplateOverrideLaunchTemplateSpecification) *string { if v == nil { @@ -10553,6 +10766,8 @@ type GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement struc LocalStorage string `pulumi:"localStorage"` // List of local storage type names. LocalStorageTypes []string `pulumi:"localStorageTypes"` + // Price protection threshold for Spot Instances. + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice int `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` // List of objects describing the minimum and maximum amount of memory (GiB) per vCPU. MemoryGibPerVcpus []GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementMemoryGibPerVcpus `pulumi:"memoryGibPerVcpus"` // List of objects describing the minimum and maximum amount of memory (MiB). @@ -10612,6 +10827,8 @@ type GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementArgs s LocalStorage pulumi.StringInput `pulumi:"localStorage"` // List of local storage type names. LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` + // Price protection threshold for Spot Instances. + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice pulumi.IntInput `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` // List of objects describing the minimum and maximum amount of memory (GiB) per vCPU. MemoryGibPerVcpus GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementMemoryGibPerVcpusArrayInput `pulumi:"memoryGibPerVcpus"` // List of objects describing the minimum and maximum amount of memory (MiB). @@ -10780,6 +10997,13 @@ func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementOut }).(pulumi.StringArrayOutput) } +// Price protection threshold for Spot Instances. +func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntOutput { + return o.ApplyT(func(v GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement) int { + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntOutput) +} + // List of objects describing the minimum and maximum amount of memory (GiB) per vCPU. func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementOutput) MemoryGibPerVcpus() GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementMemoryGibPerVcpusArrayOutput { return o.ApplyT(func(v GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement) []GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementMemoryGibPerVcpus { diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiCopy.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiCopy.go index 8b37668a3..7556e577c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiCopy.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiCopy.go @@ -40,7 +40,6 @@ import ( // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := ec2.NewAmiCopy(ctx, "example", &ec2.AmiCopyArgs{ // Name: pulumi.String("example"), -// Description: pulumi.String("A copy of ami-xxxxxxxx"), // SourceAmiId: pulumi.String("ami-xxxxxxxx"), // SourceAmiRegion: pulumi.String("us-west-1"), // Tags: pulumi.StringMap{ diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiLaunchPermission.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiLaunchPermission.go index f919d81e7..db9865144 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiLaunchPermission.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/amiLaunchPermission.go @@ -85,7 +85,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := organizations.LookupOrganization(ctx, nil, nil) +// current, err := organizations.LookupOrganization(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/capacityBlockReservation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/capacityBlockReservation.go new file mode 100644 index 000000000..3db30c6c2 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/capacityBlockReservation.go @@ -0,0 +1,467 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ec2 + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Provides an EC2 Capacity Block Reservation. This allows you to purchase capacity block for your Amazon EC2 instances in a specific Availability Zone for machine learning (ML) Workloads. +// +// > **NOTE:** Once created, a reservation is valid for the `duration` of the provided `capacityBlockOfferingId` and cannot be deleted. Performing a `destroy` will only remove the resource from state. For more information see [EC2 Capacity Block Reservation Documentation](https://aws.amazon.com/ec2/instance-types/p5/) and [PurchaseReservedDBInstancesOffering](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-blocks-pricing-billing.html). +// +// > **NOTE:** Due to the expense of testing this resource, we provide it as best effort. If you find it useful, and have the ability to help test or notice issues, consider reaching out to us on GitHub. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// test, err := ec2.GetCapacityBlockOffering(ctx, &ec2.GetCapacityBlockOfferingArgs{ +// CapacityDurationHours: 24, +// EndDateRange: pulumi.StringRef("2024-05-30T15:04:05Z"), +// InstanceCount: 1, +// InstanceType: "p4d.24xlarge", +// StartDateRange: pulumi.StringRef("2024-04-28T15:04:05Z"), +// }, nil) +// if err != nil { +// return err +// } +// _, 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 +// } +// return nil +// }) +// } +// +// ``` +type CapacityBlockReservation struct { + pulumi.CustomResourceState + + // The ARN of the reservation. + Arn pulumi.StringOutput `pulumi:"arn"` + // The Availability Zone in which to create the Capacity Block Reservation. + AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` + // The Capacity Block Reservation ID. + CapacityBlockOfferingId pulumi.StringOutput `pulumi:"capacityBlockOfferingId"` + // The date and time at which the Capacity Block Reservation was created. + CreatedDate pulumi.StringOutput `pulumi:"createdDate"` + // Indicates whether the Capacity Reservation supports EBS-optimized instances. + EbsOptimized pulumi.BoolOutput `pulumi:"ebsOptimized"` + // The date and time at which the Capacity Block Reservation expires. When a Capacity Block Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + EndDate pulumi.StringOutput `pulumi:"endDate"` + // Indicates the way in which the Capacity Reservation ends. + EndDateType pulumi.StringOutput `pulumi:"endDateType"` + // The number of instances for which to reserve capacity. + 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"` + // The instance type for which to reserve capacity. + InstanceType pulumi.StringOutput `pulumi:"instanceType"` + // The ARN of the Outpost on which to create the Capacity Block Reservation. + OutpostArn pulumi.StringOutput `pulumi:"outpostArn"` + // The ARN of the placement group in which to create the Capacity Block Reservation. + PlacementGroupArn pulumi.StringOutput `pulumi:"placementGroupArn"` + // The type of Capacity Reservation. + ReservationType pulumi.StringOutput `pulumi:"reservationType"` + // The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + StartDate pulumi.StringOutput `pulumi:"startDate"` + // A map of tags to assign to the resource. 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 + // + // Deprecated: Please use `tags` instead. + TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` + // Indicates the tenancy of the Capacity Block Reservation. Specify either `default` or `dedicated`. + Tenancy pulumi.StringOutput `pulumi:"tenancy"` + Timeouts CapacityBlockReservationTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCapacityBlockReservation registers a new resource with the given unique name, arguments, and options. +func NewCapacityBlockReservation(ctx *pulumi.Context, + name string, args *CapacityBlockReservationArgs, opts ...pulumi.ResourceOption) (*CapacityBlockReservation, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CapacityBlockOfferingId == nil { + return nil, errors.New("invalid value for required argument 'CapacityBlockOfferingId'") + } + if args.InstancePlatform == nil { + return nil, errors.New("invalid value for required argument 'InstancePlatform'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource CapacityBlockReservation + err := ctx.RegisterResource("aws:ec2/capacityBlockReservation:CapacityBlockReservation", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCapacityBlockReservation gets an existing CapacityBlockReservation 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 GetCapacityBlockReservation(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CapacityBlockReservationState, opts ...pulumi.ResourceOption) (*CapacityBlockReservation, error) { + var resource CapacityBlockReservation + err := ctx.ReadResource("aws:ec2/capacityBlockReservation:CapacityBlockReservation", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CapacityBlockReservation resources. +type capacityBlockReservationState struct { + // The ARN of the reservation. + Arn *string `pulumi:"arn"` + // The Availability Zone in which to create the Capacity Block Reservation. + AvailabilityZone *string `pulumi:"availabilityZone"` + // The Capacity Block Reservation ID. + CapacityBlockOfferingId *string `pulumi:"capacityBlockOfferingId"` + // The date and time at which the Capacity Block Reservation was created. + CreatedDate *string `pulumi:"createdDate"` + // Indicates whether the Capacity Reservation supports EBS-optimized instances. + EbsOptimized *bool `pulumi:"ebsOptimized"` + // The date and time at which the Capacity Block Reservation expires. When a Capacity Block Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + EndDate *string `pulumi:"endDate"` + // Indicates the way in which the Capacity Reservation ends. + EndDateType *string `pulumi:"endDateType"` + // The number of instances for which to reserve capacity. + 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"` + // The instance type for which to reserve capacity. + InstanceType *string `pulumi:"instanceType"` + // The ARN of the Outpost on which to create the Capacity Block Reservation. + OutpostArn *string `pulumi:"outpostArn"` + // The ARN of the placement group in which to create the Capacity Block Reservation. + PlacementGroupArn *string `pulumi:"placementGroupArn"` + // The type of Capacity Reservation. + ReservationType *string `pulumi:"reservationType"` + // The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + StartDate *string `pulumi:"startDate"` + // A map of tags to assign to the resource. 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 + // + // Deprecated: Please use `tags` instead. + TagsAll map[string]string `pulumi:"tagsAll"` + // Indicates the tenancy of the Capacity Block Reservation. Specify either `default` or `dedicated`. + Tenancy *string `pulumi:"tenancy"` + Timeouts *CapacityBlockReservationTimeouts `pulumi:"timeouts"` +} + +type CapacityBlockReservationState struct { + // The ARN of the reservation. + Arn pulumi.StringPtrInput + // The Availability Zone in which to create the Capacity Block Reservation. + AvailabilityZone pulumi.StringPtrInput + // The Capacity Block Reservation ID. + CapacityBlockOfferingId pulumi.StringPtrInput + // The date and time at which the Capacity Block Reservation was created. + CreatedDate pulumi.StringPtrInput + // Indicates whether the Capacity Reservation supports EBS-optimized instances. + EbsOptimized pulumi.BoolPtrInput + // The date and time at which the Capacity Block Reservation expires. When a Capacity Block Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + EndDate pulumi.StringPtrInput + // Indicates the way in which the Capacity Reservation ends. + EndDateType pulumi.StringPtrInput + // The number of instances for which to reserve capacity. + 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 + // The instance type for which to reserve capacity. + InstanceType pulumi.StringPtrInput + // The ARN of the Outpost on which to create the Capacity Block Reservation. + OutpostArn pulumi.StringPtrInput + // The ARN of the placement group in which to create the Capacity Block Reservation. + PlacementGroupArn pulumi.StringPtrInput + // The type of Capacity Reservation. + ReservationType pulumi.StringPtrInput + // The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + StartDate pulumi.StringPtrInput + // A map of tags to assign to the resource. 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 + // + // Deprecated: Please use `tags` instead. + TagsAll pulumi.StringMapInput + // Indicates the tenancy of the Capacity Block Reservation. Specify either `default` or `dedicated`. + Tenancy pulumi.StringPtrInput + Timeouts CapacityBlockReservationTimeoutsPtrInput +} + +func (CapacityBlockReservationState) ElementType() reflect.Type { + return reflect.TypeOf((*capacityBlockReservationState)(nil)).Elem() +} + +type capacityBlockReservationArgs struct { + // The Capacity Block Reservation ID. + CapacityBlockOfferingId string `pulumi:"capacityBlockOfferingId"` + // 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"` + // A map of tags to assign to the resource. 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"` + Timeouts *CapacityBlockReservationTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CapacityBlockReservation resource. +type CapacityBlockReservationArgs struct { + // The Capacity Block Reservation ID. + CapacityBlockOfferingId pulumi.StringInput + // 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.StringInput + // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags pulumi.StringMapInput + Timeouts CapacityBlockReservationTimeoutsPtrInput +} + +func (CapacityBlockReservationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*capacityBlockReservationArgs)(nil)).Elem() +} + +type CapacityBlockReservationInput interface { + pulumi.Input + + ToCapacityBlockReservationOutput() CapacityBlockReservationOutput + ToCapacityBlockReservationOutputWithContext(ctx context.Context) CapacityBlockReservationOutput +} + +func (*CapacityBlockReservation) ElementType() reflect.Type { + return reflect.TypeOf((**CapacityBlockReservation)(nil)).Elem() +} + +func (i *CapacityBlockReservation) ToCapacityBlockReservationOutput() CapacityBlockReservationOutput { + return i.ToCapacityBlockReservationOutputWithContext(context.Background()) +} + +func (i *CapacityBlockReservation) ToCapacityBlockReservationOutputWithContext(ctx context.Context) CapacityBlockReservationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityBlockReservationOutput) +} + +// CapacityBlockReservationArrayInput is an input type that accepts CapacityBlockReservationArray and CapacityBlockReservationArrayOutput values. +// You can construct a concrete instance of `CapacityBlockReservationArrayInput` via: +// +// CapacityBlockReservationArray{ CapacityBlockReservationArgs{...} } +type CapacityBlockReservationArrayInput interface { + pulumi.Input + + ToCapacityBlockReservationArrayOutput() CapacityBlockReservationArrayOutput + ToCapacityBlockReservationArrayOutputWithContext(context.Context) CapacityBlockReservationArrayOutput +} + +type CapacityBlockReservationArray []CapacityBlockReservationInput + +func (CapacityBlockReservationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CapacityBlockReservation)(nil)).Elem() +} + +func (i CapacityBlockReservationArray) ToCapacityBlockReservationArrayOutput() CapacityBlockReservationArrayOutput { + return i.ToCapacityBlockReservationArrayOutputWithContext(context.Background()) +} + +func (i CapacityBlockReservationArray) ToCapacityBlockReservationArrayOutputWithContext(ctx context.Context) CapacityBlockReservationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityBlockReservationArrayOutput) +} + +// CapacityBlockReservationMapInput is an input type that accepts CapacityBlockReservationMap and CapacityBlockReservationMapOutput values. +// You can construct a concrete instance of `CapacityBlockReservationMapInput` via: +// +// CapacityBlockReservationMap{ "key": CapacityBlockReservationArgs{...} } +type CapacityBlockReservationMapInput interface { + pulumi.Input + + ToCapacityBlockReservationMapOutput() CapacityBlockReservationMapOutput + ToCapacityBlockReservationMapOutputWithContext(context.Context) CapacityBlockReservationMapOutput +} + +type CapacityBlockReservationMap map[string]CapacityBlockReservationInput + +func (CapacityBlockReservationMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CapacityBlockReservation)(nil)).Elem() +} + +func (i CapacityBlockReservationMap) ToCapacityBlockReservationMapOutput() CapacityBlockReservationMapOutput { + return i.ToCapacityBlockReservationMapOutputWithContext(context.Background()) +} + +func (i CapacityBlockReservationMap) ToCapacityBlockReservationMapOutputWithContext(ctx context.Context) CapacityBlockReservationMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityBlockReservationMapOutput) +} + +type CapacityBlockReservationOutput struct{ *pulumi.OutputState } + +func (CapacityBlockReservationOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CapacityBlockReservation)(nil)).Elem() +} + +func (o CapacityBlockReservationOutput) ToCapacityBlockReservationOutput() CapacityBlockReservationOutput { + return o +} + +func (o CapacityBlockReservationOutput) ToCapacityBlockReservationOutputWithContext(ctx context.Context) CapacityBlockReservationOutput { + return o +} + +// The ARN of the reservation. +func (o CapacityBlockReservationOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) +} + +// The Availability Zone in which to create the Capacity Block Reservation. +func (o CapacityBlockReservationOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.AvailabilityZone }).(pulumi.StringOutput) +} + +// The Capacity Block Reservation ID. +func (o CapacityBlockReservationOutput) CapacityBlockOfferingId() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.CapacityBlockOfferingId }).(pulumi.StringOutput) +} + +// The date and time at which the Capacity Block Reservation was created. +func (o CapacityBlockReservationOutput) CreatedDate() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.CreatedDate }).(pulumi.StringOutput) +} + +// Indicates whether the Capacity Reservation supports EBS-optimized instances. +func (o CapacityBlockReservationOutput) EbsOptimized() pulumi.BoolOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.BoolOutput { return v.EbsOptimized }).(pulumi.BoolOutput) +} + +// The date and time at which the Capacity Block Reservation expires. When a Capacity Block Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) +func (o CapacityBlockReservationOutput) EndDate() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.EndDate }).(pulumi.StringOutput) +} + +// Indicates the way in which the Capacity Reservation ends. +func (o CapacityBlockReservationOutput) EndDateType() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.EndDateType }).(pulumi.StringOutput) +} + +// The number of instances for which to reserve capacity. +func (o CapacityBlockReservationOutput) InstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.IntOutput { return v.InstanceCount }).(pulumi.IntOutput) +} + +// 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`. +func (o CapacityBlockReservationOutput) InstancePlatform() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.InstancePlatform }).(pulumi.StringOutput) +} + +// The instance type for which to reserve capacity. +func (o CapacityBlockReservationOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.InstanceType }).(pulumi.StringOutput) +} + +// The ARN of the Outpost on which to create the Capacity Block Reservation. +func (o CapacityBlockReservationOutput) OutpostArn() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.OutpostArn }).(pulumi.StringOutput) +} + +// The ARN of the placement group in which to create the Capacity Block Reservation. +func (o CapacityBlockReservationOutput) PlacementGroupArn() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.PlacementGroupArn }).(pulumi.StringOutput) +} + +// The type of Capacity Reservation. +func (o CapacityBlockReservationOutput) ReservationType() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.ReservationType }).(pulumi.StringOutput) +} + +// The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) +func (o CapacityBlockReservationOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.StartDate }).(pulumi.StringOutput) +} + +// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. +func (o CapacityBlockReservationOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block +// +// Deprecated: Please use `tags` instead. +func (o CapacityBlockReservationOutput) TagsAll() pulumi.StringMapOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput) +} + +// Indicates the tenancy of the Capacity Block Reservation. Specify either `default` or `dedicated`. +func (o CapacityBlockReservationOutput) Tenancy() pulumi.StringOutput { + return o.ApplyT(func(v *CapacityBlockReservation) pulumi.StringOutput { return v.Tenancy }).(pulumi.StringOutput) +} + +func (o CapacityBlockReservationOutput) Timeouts() CapacityBlockReservationTimeoutsPtrOutput { + return o.ApplyT(func(v *CapacityBlockReservation) CapacityBlockReservationTimeoutsPtrOutput { return v.Timeouts }).(CapacityBlockReservationTimeoutsPtrOutput) +} + +type CapacityBlockReservationArrayOutput struct{ *pulumi.OutputState } + +func (CapacityBlockReservationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CapacityBlockReservation)(nil)).Elem() +} + +func (o CapacityBlockReservationArrayOutput) ToCapacityBlockReservationArrayOutput() CapacityBlockReservationArrayOutput { + return o +} + +func (o CapacityBlockReservationArrayOutput) ToCapacityBlockReservationArrayOutputWithContext(ctx context.Context) CapacityBlockReservationArrayOutput { + return o +} + +func (o CapacityBlockReservationArrayOutput) Index(i pulumi.IntInput) CapacityBlockReservationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CapacityBlockReservation { + return vs[0].([]*CapacityBlockReservation)[vs[1].(int)] + }).(CapacityBlockReservationOutput) +} + +type CapacityBlockReservationMapOutput struct{ *pulumi.OutputState } + +func (CapacityBlockReservationMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CapacityBlockReservation)(nil)).Elem() +} + +func (o CapacityBlockReservationMapOutput) ToCapacityBlockReservationMapOutput() CapacityBlockReservationMapOutput { + return o +} + +func (o CapacityBlockReservationMapOutput) ToCapacityBlockReservationMapOutputWithContext(ctx context.Context) CapacityBlockReservationMapOutput { + return o +} + +func (o CapacityBlockReservationMapOutput) MapIndex(k pulumi.StringInput) CapacityBlockReservationOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CapacityBlockReservation { + return vs[0].(map[string]*CapacityBlockReservation)[vs[1].(string)] + }).(CapacityBlockReservationOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CapacityBlockReservationInput)(nil)).Elem(), &CapacityBlockReservation{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacityBlockReservationArrayInput)(nil)).Elem(), CapacityBlockReservationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacityBlockReservationMapInput)(nil)).Elem(), CapacityBlockReservationMap{}) + pulumi.RegisterOutputType(CapacityBlockReservationOutput{}) + pulumi.RegisterOutputType(CapacityBlockReservationArrayOutput{}) + pulumi.RegisterOutputType(CapacityBlockReservationMapOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/customerGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/customerGateway.go index 6aae388e2..18954e10b 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/customerGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/customerGateway.go @@ -57,8 +57,10 @@ type CustomerGateway struct { // The ARN of the customer gateway. Arn pulumi.StringOutput `pulumi:"arn"` - // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). - BgpAsn pulumi.StringOutput `pulumi:"bgpAsn"` + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `1` to `2147483647`. Conflicts with `bgpAsnExtended`. + BgpAsn pulumi.StringPtrOutput `pulumi:"bgpAsn"` + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `2147483648` to `4294967295` Conflicts with `bgpAsn`. + BgpAsnExtended pulumi.StringPtrOutput `pulumi:"bgpAsnExtended"` // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn pulumi.StringPtrOutput `pulumi:"certificateArn"` // A name for the customer gateway device. @@ -83,9 +85,6 @@ func NewCustomerGateway(ctx *pulumi.Context, return nil, errors.New("missing one or more required arguments") } - if args.BgpAsn == nil { - return nil, errors.New("invalid value for required argument 'BgpAsn'") - } if args.Type == nil { return nil, errors.New("invalid value for required argument 'Type'") } @@ -114,8 +113,10 @@ func GetCustomerGateway(ctx *pulumi.Context, type customerGatewayState struct { // The ARN of the customer gateway. Arn *string `pulumi:"arn"` - // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `1` to `2147483647`. Conflicts with `bgpAsnExtended`. BgpAsn *string `pulumi:"bgpAsn"` + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `2147483648` to `4294967295` Conflicts with `bgpAsn`. + BgpAsnExtended *string `pulumi:"bgpAsnExtended"` // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn *string `pulumi:"certificateArn"` // A name for the customer gateway device. @@ -136,8 +137,10 @@ type customerGatewayState struct { type CustomerGatewayState struct { // The ARN of the customer gateway. Arn pulumi.StringPtrInput - // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `1` to `2147483647`. Conflicts with `bgpAsnExtended`. BgpAsn pulumi.StringPtrInput + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `2147483648` to `4294967295` Conflicts with `bgpAsn`. + BgpAsnExtended pulumi.StringPtrInput // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn pulumi.StringPtrInput // A name for the customer gateway device. @@ -160,8 +163,10 @@ func (CustomerGatewayState) ElementType() reflect.Type { } type customerGatewayArgs struct { - // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). - BgpAsn string `pulumi:"bgpAsn"` + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `1` to `2147483647`. Conflicts with `bgpAsnExtended`. + BgpAsn *string `pulumi:"bgpAsn"` + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `2147483648` to `4294967295` Conflicts with `bgpAsn`. + BgpAsnExtended *string `pulumi:"bgpAsnExtended"` // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn *string `pulumi:"certificateArn"` // A name for the customer gateway device. @@ -177,8 +182,10 @@ type customerGatewayArgs struct { // The set of arguments for constructing a CustomerGateway resource. type CustomerGatewayArgs struct { - // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). - BgpAsn pulumi.StringInput + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `1` to `2147483647`. Conflicts with `bgpAsnExtended`. + BgpAsn pulumi.StringPtrInput + // The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `2147483648` to `4294967295` Conflicts with `bgpAsn`. + BgpAsnExtended pulumi.StringPtrInput // The Amazon Resource Name (ARN) for the customer gateway certificate. CertificateArn pulumi.StringPtrInput // A name for the customer gateway device. @@ -284,9 +291,14 @@ func (o CustomerGatewayOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *CustomerGateway) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) } -// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). -func (o CustomerGatewayOutput) BgpAsn() pulumi.StringOutput { - return o.ApplyT(func(v *CustomerGateway) pulumi.StringOutput { return v.BgpAsn }).(pulumi.StringOutput) +// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `1` to `2147483647`. Conflicts with `bgpAsnExtended`. +func (o CustomerGatewayOutput) BgpAsn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomerGateway) pulumi.StringPtrOutput { return v.BgpAsn }).(pulumi.StringPtrOutput) +} + +// The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values are from `2147483648` to `4294967295` Conflicts with `bgpAsn`. +func (o CustomerGatewayOutput) BgpAsnExtended() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomerGateway) pulumi.StringPtrOutput { return v.BgpAsnExtended }).(pulumi.StringPtrOutput) } // The Amazon Resource Name (ARN) for the customer gateway certificate. diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/eip.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/eip.go index ff396f34f..224426c9e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/eip.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/eip.go @@ -181,6 +181,33 @@ import ( // // ``` // +// ### Allocating EIP from the IPAM Pool +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ec2.NewEip(ctx, "ipam-ip", &ec2.EipArgs{ +// Domain: pulumi.String("vpc"), +// IpamPoolId: pulumi.String("ipam-pool-07ccc86aa41bef7ce"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Import // // Using `pulumi import`, import EIPs in a VPC using their Allocation ID. For example: @@ -210,6 +237,8 @@ type Eip struct { Domain pulumi.StringOutput `pulumi:"domain"` // EC2 instance ID. Instance pulumi.StringOutput `pulumi:"instance"` + // The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. + IpamPoolId pulumi.StringOutput `pulumi:"ipamPoolId"` // Location from which the IP address is advertised. Use this parameter to limit the address to this location. NetworkBorderGroup pulumi.StringOutput `pulumi:"networkBorderGroup"` // Network interface ID to associate with. @@ -294,6 +323,8 @@ type eipState struct { Domain *string `pulumi:"domain"` // EC2 instance ID. Instance *string `pulumi:"instance"` + // The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. + IpamPoolId *string `pulumi:"ipamPoolId"` // Location from which the IP address is advertised. Use this parameter to limit the address to this location. NetworkBorderGroup *string `pulumi:"networkBorderGroup"` // Network interface ID to associate with. @@ -349,6 +380,8 @@ type EipState struct { Domain pulumi.StringPtrInput // EC2 instance ID. Instance pulumi.StringPtrInput + // The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. + IpamPoolId pulumi.StringPtrInput // Location from which the IP address is advertised. Use this parameter to limit the address to this location. NetworkBorderGroup pulumi.StringPtrInput // Network interface ID to associate with. @@ -399,6 +432,8 @@ type eipArgs struct { Domain *string `pulumi:"domain"` // EC2 instance ID. Instance *string `pulumi:"instance"` + // The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. + IpamPoolId *string `pulumi:"ipamPoolId"` // Location from which the IP address is advertised. Use this parameter to limit the address to this location. NetworkBorderGroup *string `pulumi:"networkBorderGroup"` // Network interface ID to associate with. @@ -432,6 +467,8 @@ type EipArgs struct { Domain pulumi.StringPtrInput // EC2 instance ID. Instance pulumi.StringPtrInput + // The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. + IpamPoolId pulumi.StringPtrInput // Location from which the IP address is advertised. Use this parameter to limit the address to this location. NetworkBorderGroup pulumi.StringPtrInput // Network interface ID to associate with. @@ -589,6 +626,11 @@ func (o EipOutput) Instance() pulumi.StringOutput { return o.ApplyT(func(v *Eip) pulumi.StringOutput { return v.Instance }).(pulumi.StringOutput) } +// The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. +func (o EipOutput) IpamPoolId() pulumi.StringOutput { + return o.ApplyT(func(v *Eip) pulumi.StringOutput { return v.IpamPoolId }).(pulumi.StringOutput) +} + // Location from which the IP address is advertised. Use this parameter to limit the address to this location. func (o EipOutput) NetworkBorderGroup() pulumi.StringOutput { return o.ApplyT(func(v *Eip) pulumi.StringOutput { return v.NetworkBorderGroup }).(pulumi.StringOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmi.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmi.go index 2b6efa43b..dad39e545 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmi.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmi.go @@ -33,7 +33,7 @@ import ( // "self", // }, // MostRecent: pulumi.BoolRef(true), -// NameRegex: pulumi.StringRef("^myami-\\d{3}"), +// NameRegex: pulumi.StringRef("^myami-[0-9]{3}"), // Owners: []string{ // "self", // }, @@ -198,14 +198,20 @@ type LookupAmiResult struct { func LookupAmiOutput(ctx *pulumi.Context, args LookupAmiOutputArgs, opts ...pulumi.InvokeOption) LookupAmiResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupAmiResult, error) { + ApplyT(func(v interface{}) (LookupAmiResultOutput, error) { args := v.(LookupAmiArgs) - r, err := LookupAmi(ctx, &args, opts...) - var s LookupAmiResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAmiResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getAmi:getAmi", args, &rv, "", opts...) + if err != nil { + return LookupAmiResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupAmiResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupAmiResultOutput), nil + } + return output, nil }).(LookupAmiResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmiIds.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmiIds.go index 636a0e4b5..5b4b68fe8 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmiIds.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getAmiIds.go @@ -98,14 +98,20 @@ type GetAmiIdsResult struct { func GetAmiIdsOutput(ctx *pulumi.Context, args GetAmiIdsOutputArgs, opts ...pulumi.InvokeOption) GetAmiIdsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetAmiIdsResult, error) { + ApplyT(func(v interface{}) (GetAmiIdsResultOutput, error) { args := v.(GetAmiIdsArgs) - r, err := GetAmiIds(ctx, &args, opts...) - var s GetAmiIdsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAmiIdsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getAmiIds:getAmiIds", args, &rv, "", opts...) + if err != nil { + return GetAmiIdsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetAmiIdsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetAmiIdsResultOutput), nil + } + return output, nil }).(GetAmiIdsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCapacityBlockOffering.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCapacityBlockOffering.go new file mode 100644 index 000000000..3d5bc4765 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCapacityBlockOffering.go @@ -0,0 +1,194 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool 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/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Information about a single EC2 Capacity Block Offering. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ec2.GetCapacityBlockOffering(ctx, &ec2.GetCapacityBlockOfferingArgs{ +// CapacityDurationHours: 24, +// EndDateRange: pulumi.StringRef("2024-05-30T15:04:05Z"), +// InstanceCount: 1, +// InstanceType: "p4d.24xlarge", +// StartDateRange: pulumi.StringRef("2024-04-28T15:04:05Z"), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetCapacityBlockOffering(ctx *pulumi.Context, args *GetCapacityBlockOfferingArgs, opts ...pulumi.InvokeOption) (*GetCapacityBlockOfferingResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCapacityBlockOfferingResult + err := ctx.Invoke("aws:ec2/getCapacityBlockOffering:getCapacityBlockOffering", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCapacityBlockOffering. +type GetCapacityBlockOfferingArgs struct { + // The amount of time of the Capacity Block reservation in hours. + CapacityDurationHours int `pulumi:"capacityDurationHours"` + // The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + EndDateRange *string `pulumi:"endDateRange"` + // The number of instances for which to reserve capacity. + InstanceCount int `pulumi:"instanceCount"` + // The instance type for which to reserve capacity. + InstanceType string `pulumi:"instanceType"` + // The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + StartDateRange *string `pulumi:"startDateRange"` +} + +// A collection of values returned by getCapacityBlockOffering. +type GetCapacityBlockOfferingResult struct { + // The Availability Zone in which to create the Capacity Reservation. + AvailabilityZone string `pulumi:"availabilityZone"` + // The Capacity Block Reservation ID. + CapacityBlockOfferingId string `pulumi:"capacityBlockOfferingId"` + CapacityDurationHours int `pulumi:"capacityDurationHours"` + // The currency of the payment for the Capacity Block. + CurrencyCode string `pulumi:"currencyCode"` + EndDateRange string `pulumi:"endDateRange"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + InstanceCount int `pulumi:"instanceCount"` + InstanceType string `pulumi:"instanceType"` + StartDateRange string `pulumi:"startDateRange"` + // Indicates the tenancy of the Capacity Reservation. Specify either `default` or `dedicated`. + Tenancy string `pulumi:"tenancy"` + // The total price to be paid up front. + UpfrontFee string `pulumi:"upfrontFee"` +} + +func GetCapacityBlockOfferingOutput(ctx *pulumi.Context, args GetCapacityBlockOfferingOutputArgs, opts ...pulumi.InvokeOption) GetCapacityBlockOfferingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCapacityBlockOfferingResultOutput, error) { + args := v.(GetCapacityBlockOfferingArgs) + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCapacityBlockOfferingResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getCapacityBlockOffering:getCapacityBlockOffering", args, &rv, "", opts...) + if err != nil { + return GetCapacityBlockOfferingResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(GetCapacityBlockOfferingResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCapacityBlockOfferingResultOutput), nil + } + return output, nil + }).(GetCapacityBlockOfferingResultOutput) +} + +// A collection of arguments for invoking getCapacityBlockOffering. +type GetCapacityBlockOfferingOutputArgs struct { + // The amount of time of the Capacity Block reservation in hours. + CapacityDurationHours pulumi.IntInput `pulumi:"capacityDurationHours"` + // The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + EndDateRange pulumi.StringPtrInput `pulumi:"endDateRange"` + // The number of instances for which to reserve capacity. + InstanceCount pulumi.IntInput `pulumi:"instanceCount"` + // The instance type for which to reserve capacity. + InstanceType pulumi.StringInput `pulumi:"instanceType"` + // The date and time at which the Capacity Block Reservation starts. Valid values: [RFC3339 time string](https://tools.ietf.org/html/rfc3339#section-5.8) (`YYYY-MM-DDTHH:MM:SSZ`) + StartDateRange pulumi.StringPtrInput `pulumi:"startDateRange"` +} + +func (GetCapacityBlockOfferingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCapacityBlockOfferingArgs)(nil)).Elem() +} + +// A collection of values returned by getCapacityBlockOffering. +type GetCapacityBlockOfferingResultOutput struct{ *pulumi.OutputState } + +func (GetCapacityBlockOfferingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCapacityBlockOfferingResult)(nil)).Elem() +} + +func (o GetCapacityBlockOfferingResultOutput) ToGetCapacityBlockOfferingResultOutput() GetCapacityBlockOfferingResultOutput { + return o +} + +func (o GetCapacityBlockOfferingResultOutput) ToGetCapacityBlockOfferingResultOutputWithContext(ctx context.Context) GetCapacityBlockOfferingResultOutput { + return o +} + +// The Availability Zone in which to create the Capacity Reservation. +func (o GetCapacityBlockOfferingResultOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.AvailabilityZone }).(pulumi.StringOutput) +} + +// The Capacity Block Reservation ID. +func (o GetCapacityBlockOfferingResultOutput) CapacityBlockOfferingId() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.CapacityBlockOfferingId }).(pulumi.StringOutput) +} + +func (o GetCapacityBlockOfferingResultOutput) CapacityDurationHours() pulumi.IntOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) int { return v.CapacityDurationHours }).(pulumi.IntOutput) +} + +// The currency of the payment for the Capacity Block. +func (o GetCapacityBlockOfferingResultOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetCapacityBlockOfferingResultOutput) EndDateRange() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.EndDateRange }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCapacityBlockOfferingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCapacityBlockOfferingResultOutput) InstanceCount() pulumi.IntOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) int { return v.InstanceCount }).(pulumi.IntOutput) +} + +func (o GetCapacityBlockOfferingResultOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.InstanceType }).(pulumi.StringOutput) +} + +func (o GetCapacityBlockOfferingResultOutput) StartDateRange() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.StartDateRange }).(pulumi.StringOutput) +} + +// Indicates the tenancy of the Capacity Reservation. Specify either `default` or `dedicated`. +func (o GetCapacityBlockOfferingResultOutput) Tenancy() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.Tenancy }).(pulumi.StringOutput) +} + +// The total price to be paid up front. +func (o GetCapacityBlockOfferingResultOutput) UpfrontFee() pulumi.StringOutput { + return o.ApplyT(func(v GetCapacityBlockOfferingResult) string { return v.UpfrontFee }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCapacityBlockOfferingResultOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPool.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPool.go index 80f193cc9..db5fd10c8 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPool.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPool.go @@ -57,14 +57,20 @@ type GetCoipPoolResult struct { func GetCoipPoolOutput(ctx *pulumi.Context, args GetCoipPoolOutputArgs, opts ...pulumi.InvokeOption) GetCoipPoolResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCoipPoolResult, error) { + ApplyT(func(v interface{}) (GetCoipPoolResultOutput, error) { args := v.(GetCoipPoolArgs) - r, err := GetCoipPool(ctx, &args, opts...) - var s GetCoipPoolResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCoipPoolResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getCoipPool:getCoipPool", args, &rv, "", opts...) + if err != nil { + return GetCoipPoolResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCoipPoolResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCoipPoolResultOutput), nil + } + return output, nil }).(GetCoipPoolResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPools.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPools.go index e8e335c62..5ccfa8a64 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPools.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCoipPools.go @@ -46,14 +46,20 @@ type GetCoipPoolsResult struct { func GetCoipPoolsOutput(ctx *pulumi.Context, args GetCoipPoolsOutputArgs, opts ...pulumi.InvokeOption) GetCoipPoolsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCoipPoolsResult, error) { + ApplyT(func(v interface{}) (GetCoipPoolsResultOutput, error) { args := v.(GetCoipPoolsArgs) - r, err := GetCoipPools(ctx, &args, opts...) - var s GetCoipPoolsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCoipPoolsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getCoipPools:getCoipPools", args, &rv, "", opts...) + if err != nil { + return GetCoipPoolsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCoipPoolsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCoipPoolsResultOutput), nil + } + return output, nil }).(GetCoipPoolsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCustomerGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCustomerGateway.go index 698078e42..b73a86147 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCustomerGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getCustomerGateway.go @@ -89,6 +89,8 @@ type LookupCustomerGatewayResult struct { Arn string `pulumi:"arn"` // Gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). BgpAsn int `pulumi:"bgpAsn"` + // Gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). + BgpAsnExtended int `pulumi:"bgpAsnExtended"` // ARN for the customer gateway certificate. CertificateArn string `pulumi:"certificateArn"` // Name for the customer gateway device. @@ -105,14 +107,20 @@ type LookupCustomerGatewayResult struct { func LookupCustomerGatewayOutput(ctx *pulumi.Context, args LookupCustomerGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupCustomerGatewayResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupCustomerGatewayResult, error) { + ApplyT(func(v interface{}) (LookupCustomerGatewayResultOutput, error) { args := v.(LookupCustomerGatewayArgs) - r, err := LookupCustomerGateway(ctx, &args, opts...) - var s LookupCustomerGatewayResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupCustomerGatewayResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getCustomerGateway:getCustomerGateway", args, &rv, "", opts...) + if err != nil { + return LookupCustomerGatewayResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupCustomerGatewayResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupCustomerGatewayResultOutput), nil } - return s, err + return output, nil }).(LookupCustomerGatewayResultOutput) } @@ -157,6 +165,11 @@ func (o LookupCustomerGatewayResultOutput) BgpAsn() pulumi.IntOutput { return o.ApplyT(func(v LookupCustomerGatewayResult) int { return v.BgpAsn }).(pulumi.IntOutput) } +// Gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). +func (o LookupCustomerGatewayResultOutput) BgpAsnExtended() pulumi.IntOutput { + return o.ApplyT(func(v LookupCustomerGatewayResult) int { return v.BgpAsnExtended }).(pulumi.IntOutput) +} + // ARN for the customer gateway certificate. func (o LookupCustomerGatewayResultOutput) CertificateArn() pulumi.StringOutput { return o.ApplyT(func(v LookupCustomerGatewayResult) string { return v.CertificateArn }).(pulumi.StringOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getDedicatedHost.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getDedicatedHost.go index b83035ce9..9086c9a15 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getDedicatedHost.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getDedicatedHost.go @@ -129,14 +129,20 @@ type LookupDedicatedHostResult struct { func LookupDedicatedHostOutput(ctx *pulumi.Context, args LookupDedicatedHostOutputArgs, opts ...pulumi.InvokeOption) LookupDedicatedHostResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupDedicatedHostResult, error) { + ApplyT(func(v interface{}) (LookupDedicatedHostResultOutput, error) { args := v.(LookupDedicatedHostArgs) - r, err := LookupDedicatedHost(ctx, &args, opts...) - var s LookupDedicatedHostResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDedicatedHostResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getDedicatedHost:getDedicatedHost", args, &rv, "", opts...) + if err != nil { + return LookupDedicatedHostResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupDedicatedHostResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupDedicatedHostResultOutput), nil + } + return output, nil }).(LookupDedicatedHostResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getEips.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getEips.go index 1350fc8f6..2b9f343ae 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getEips.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getEips.go @@ -76,14 +76,20 @@ type GetEipsResult struct { func GetEipsOutput(ctx *pulumi.Context, args GetEipsOutputArgs, opts ...pulumi.InvokeOption) GetEipsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetEipsResult, error) { + ApplyT(func(v interface{}) (GetEipsResultOutput, error) { args := v.(GetEipsArgs) - r, err := GetEips(ctx, &args, opts...) - var s GetEipsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEipsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getEips:getEips", args, &rv, "", opts...) + if err != nil { + return GetEipsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetEipsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetEipsResultOutput), nil + } + return output, nil }).(GetEipsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getElasticIp.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getElasticIp.go index 62cbadce7..63fe8cc89 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getElasticIp.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getElasticIp.go @@ -167,6 +167,8 @@ type GetElasticIpResult struct { Id string `pulumi:"id"` // ID of the instance that the address is associated with (if any). InstanceId string `pulumi:"instanceId"` + // The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. + IpamPoolId string `pulumi:"ipamPoolId"` // The ID of the network interface. NetworkInterfaceId string `pulumi:"networkInterfaceId"` // The ID of the AWS account that owns the network interface. @@ -189,14 +191,20 @@ type GetElasticIpResult struct { func GetElasticIpOutput(ctx *pulumi.Context, args GetElasticIpOutputArgs, opts ...pulumi.InvokeOption) GetElasticIpResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetElasticIpResult, error) { + ApplyT(func(v interface{}) (GetElasticIpResultOutput, error) { args := v.(GetElasticIpArgs) - r, err := GetElasticIp(ctx, &args, opts...) - var s GetElasticIpResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetElasticIpResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getElasticIp:getElasticIp", args, &rv, "", opts...) + if err != nil { + return GetElasticIpResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetElasticIpResultOutput) + if secret { + return pulumi.ToSecret(output).(GetElasticIpResultOutput), nil + } + return output, nil }).(GetElasticIpResultOutput) } @@ -274,6 +282,11 @@ func (o GetElasticIpResultOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v GetElasticIpResult) string { return v.InstanceId }).(pulumi.StringOutput) } +// The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. +func (o GetElasticIpResultOutput) IpamPoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetElasticIpResult) string { return v.IpamPoolId }).(pulumi.StringOutput) +} + // The ID of the network interface. func (o GetElasticIpResultOutput) NetworkInterfaceId() pulumi.StringOutput { return o.ApplyT(func(v GetElasticIpResult) string { return v.NetworkInterfaceId }).(pulumi.StringOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstance.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstance.go index ea5e33ce1..1b2b3fff8 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstance.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstance.go @@ -184,14 +184,20 @@ type LookupInstanceResult struct { func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupInstanceResult, error) { + ApplyT(func(v interface{}) (LookupInstanceResultOutput, error) { args := v.(LookupInstanceArgs) - r, err := LookupInstance(ctx, &args, opts...) - var s LookupInstanceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupInstanceResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInstance:getInstance", args, &rv, "", opts...) + if err != nil { + return LookupInstanceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupInstanceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupInstanceResultOutput), nil + } + return output, nil }).(LookupInstanceResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceType.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceType.go index afebde32d..d5fb681e9 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceType.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceType.go @@ -169,14 +169,20 @@ type GetInstanceTypeResult struct { func GetInstanceTypeOutput(ctx *pulumi.Context, args GetInstanceTypeOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInstanceTypeResult, error) { + ApplyT(func(v interface{}) (GetInstanceTypeResultOutput, error) { args := v.(GetInstanceTypeArgs) - r, err := GetInstanceType(ctx, &args, opts...) - var s GetInstanceTypeResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstanceTypeResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInstanceType:getInstanceType", args, &rv, "", opts...) + if err != nil { + return GetInstanceTypeResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInstanceTypeResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInstanceTypeResultOutput), nil + } + return output, nil }).(GetInstanceTypeResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOffering.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOffering.go index 2a02e666c..8ec825903 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOffering.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOffering.go @@ -83,14 +83,20 @@ type GetInstanceTypeOfferingResult struct { func GetInstanceTypeOfferingOutput(ctx *pulumi.Context, args GetInstanceTypeOfferingOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeOfferingResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInstanceTypeOfferingResult, error) { + ApplyT(func(v interface{}) (GetInstanceTypeOfferingResultOutput, error) { args := v.(GetInstanceTypeOfferingArgs) - r, err := GetInstanceTypeOffering(ctx, &args, opts...) - var s GetInstanceTypeOfferingResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstanceTypeOfferingResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInstanceTypeOffering:getInstanceTypeOffering", args, &rv, "", opts...) + if err != nil { + return GetInstanceTypeOfferingResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInstanceTypeOfferingResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInstanceTypeOfferingResultOutput), nil + } + return output, nil }).(GetInstanceTypeOfferingResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOfferings.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOfferings.go index 808c234dd..ab6f1dac2 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOfferings.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypeOfferings.go @@ -87,14 +87,20 @@ type GetInstanceTypeOfferingsResult struct { func GetInstanceTypeOfferingsOutput(ctx *pulumi.Context, args GetInstanceTypeOfferingsOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypeOfferingsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInstanceTypeOfferingsResult, error) { + ApplyT(func(v interface{}) (GetInstanceTypeOfferingsResultOutput, error) { args := v.(GetInstanceTypeOfferingsArgs) - r, err := GetInstanceTypeOfferings(ctx, &args, opts...) - var s GetInstanceTypeOfferingsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstanceTypeOfferingsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInstanceTypeOfferings:getInstanceTypeOfferings", args, &rv, "", opts...) + if err != nil { + return GetInstanceTypeOfferingsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInstanceTypeOfferingsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInstanceTypeOfferingsResultOutput), nil + } + return output, nil }).(GetInstanceTypeOfferingsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypes.go index f8567df09..9d6ad3a67 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstanceTypes.go @@ -91,14 +91,20 @@ type GetInstanceTypesResult struct { func GetInstanceTypesOutput(ctx *pulumi.Context, args GetInstanceTypesOutputArgs, opts ...pulumi.InvokeOption) GetInstanceTypesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInstanceTypesResult, error) { + ApplyT(func(v interface{}) (GetInstanceTypesResultOutput, error) { args := v.(GetInstanceTypesArgs) - r, err := GetInstanceTypes(ctx, &args, opts...) - var s GetInstanceTypesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstanceTypesResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInstanceTypes:getInstanceTypes", args, &rv, "", opts...) + if err != nil { + return GetInstanceTypesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInstanceTypesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInstanceTypesResultOutput), nil + } + return output, nil }).(GetInstanceTypesResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstances.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstances.go index 189d9f2e5..2dc134902 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstances.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInstances.go @@ -54,11 +54,11 @@ import ( // return err // } // var testEip []*ec2.Eip -// for index := 0; index < len(test.Ids); index++ { +// for index := 0; index < int(len(test.Ids)); index++ { // key0 := index // val0 := index // __res, err := ec2.NewEip(ctx, fmt.Sprintf("test-%v", key0), &ec2.EipArgs{ -// Instance: test.Ids[val0], +// Instance: pulumi.String(test.Ids[val0]), // }) // if err != nil { // return err @@ -112,14 +112,20 @@ type GetInstancesResult struct { func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetInstancesResult, error) { + ApplyT(func(v interface{}) (GetInstancesResultOutput, error) { args := v.(GetInstancesArgs) - r, err := GetInstances(ctx, &args, opts...) - var s GetInstancesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetInstancesResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInstances:getInstances", args, &rv, "", opts...) + if err != nil { + return GetInstancesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetInstancesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetInstancesResultOutput), nil + } + return output, nil }).(GetInstancesResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInternetGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInternetGateway.go index 2bdd1cdff..52b1d61d6 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInternetGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getInternetGateway.go @@ -86,14 +86,20 @@ type LookupInternetGatewayResult struct { func LookupInternetGatewayOutput(ctx *pulumi.Context, args LookupInternetGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupInternetGatewayResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupInternetGatewayResult, error) { + ApplyT(func(v interface{}) (LookupInternetGatewayResultOutput, error) { args := v.(LookupInternetGatewayArgs) - r, err := LookupInternetGateway(ctx, &args, opts...) - var s LookupInternetGatewayResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupInternetGatewayResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getInternetGateway:getInternetGateway", args, &rv, "", opts...) + if err != nil { + return LookupInternetGatewayResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupInternetGatewayResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupInternetGatewayResultOutput), nil + } + return output, nil }).(LookupInternetGatewayResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getIpamPreviewNextCidr.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getIpamPreviewNextCidr.go index 302c8e014..dc131622e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getIpamPreviewNextCidr.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getIpamPreviewNextCidr.go @@ -83,14 +83,20 @@ type GetIpamPreviewNextCidrResult struct { func GetIpamPreviewNextCidrOutput(ctx *pulumi.Context, args GetIpamPreviewNextCidrOutputArgs, opts ...pulumi.InvokeOption) GetIpamPreviewNextCidrResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetIpamPreviewNextCidrResult, error) { + ApplyT(func(v interface{}) (GetIpamPreviewNextCidrResultOutput, error) { args := v.(GetIpamPreviewNextCidrArgs) - r, err := GetIpamPreviewNextCidr(ctx, &args, opts...) - var s GetIpamPreviewNextCidrResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIpamPreviewNextCidrResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getIpamPreviewNextCidr:getIpamPreviewNextCidr", args, &rv, "", opts...) + if err != nil { + return GetIpamPreviewNextCidrResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetIpamPreviewNextCidrResultOutput) + if secret { + return pulumi.ToSecret(output).(GetIpamPreviewNextCidrResultOutput), nil + } + return output, nil }).(GetIpamPreviewNextCidrResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getKeyPair.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getKeyPair.go index 109170c37..adec84139 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getKeyPair.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getKeyPair.go @@ -100,14 +100,20 @@ type LookupKeyPairResult struct { func LookupKeyPairOutput(ctx *pulumi.Context, args LookupKeyPairOutputArgs, opts ...pulumi.InvokeOption) LookupKeyPairResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupKeyPairResult, error) { + ApplyT(func(v interface{}) (LookupKeyPairResultOutput, error) { args := v.(LookupKeyPairArgs) - r, err := LookupKeyPair(ctx, &args, opts...) - var s LookupKeyPairResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupKeyPairResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getKeyPair:getKeyPair", args, &rv, "", opts...) + if err != nil { + return LookupKeyPairResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupKeyPairResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupKeyPairResultOutput), nil + } + return output, nil }).(LookupKeyPairResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchConfiguration.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchConfiguration.go index 74ae1f2d8..a095241aa 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchConfiguration.go @@ -96,14 +96,20 @@ type LookupLaunchConfigurationResult struct { func LookupLaunchConfigurationOutput(ctx *pulumi.Context, args LookupLaunchConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupLaunchConfigurationResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLaunchConfigurationResult, error) { + ApplyT(func(v interface{}) (LookupLaunchConfigurationResultOutput, error) { args := v.(LookupLaunchConfigurationArgs) - r, err := LookupLaunchConfiguration(ctx, &args, opts...) - var s LookupLaunchConfigurationResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLaunchConfigurationResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLaunchConfiguration:getLaunchConfiguration", args, &rv, "", opts...) + if err != nil { + return LookupLaunchConfigurationResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLaunchConfigurationResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLaunchConfigurationResultOutput), nil + } + return output, nil }).(LookupLaunchConfigurationResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchTemplate.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchTemplate.go index 4da6e1739..cd85e6f54 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchTemplate.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLaunchTemplate.go @@ -139,14 +139,20 @@ type LookupLaunchTemplateResult struct { func LookupLaunchTemplateOutput(ctx *pulumi.Context, args LookupLaunchTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupLaunchTemplateResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLaunchTemplateResult, error) { + ApplyT(func(v interface{}) (LookupLaunchTemplateResultOutput, error) { args := v.(LookupLaunchTemplateArgs) - r, err := LookupLaunchTemplate(ctx, &args, opts...) - var s LookupLaunchTemplateResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLaunchTemplateResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLaunchTemplate:getLaunchTemplate", args, &rv, "", opts...) + if err != nil { + return LookupLaunchTemplateResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLaunchTemplateResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLaunchTemplateResultOutput), nil + } + return output, nil }).(LookupLaunchTemplateResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateway.go index 150ff0944..6acbe6639 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateway.go @@ -85,14 +85,20 @@ type GetLocalGatewayResult struct { func GetLocalGatewayOutput(ctx *pulumi.Context, args GetLocalGatewayOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewayResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewayResultOutput, error) { args := v.(GetLocalGatewayArgs) - r, err := GetLocalGateway(ctx, &args, opts...) - var s GetLocalGatewayResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewayResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGateway:getLocalGateway", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewayResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewayResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewayResultOutput), nil + } + return output, nil }).(GetLocalGatewayResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTable.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTable.go index 643f96e07..ffae93536 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTable.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTable.go @@ -89,14 +89,20 @@ type GetLocalGatewayRouteTableResult struct { func GetLocalGatewayRouteTableOutput(ctx *pulumi.Context, args GetLocalGatewayRouteTableOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayRouteTableResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewayRouteTableResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewayRouteTableResultOutput, error) { args := v.(GetLocalGatewayRouteTableArgs) - r, err := GetLocalGatewayRouteTable(ctx, &args, opts...) - var s GetLocalGatewayRouteTableResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewayRouteTableResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGatewayRouteTable:getLocalGatewayRouteTable", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewayRouteTableResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewayRouteTableResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewayRouteTableResultOutput), nil + } + return output, nil }).(GetLocalGatewayRouteTableResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTables.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTables.go index b1d9211b4..c3d6873b8 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTables.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayRouteTables.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// foo, err := ec2.GetLocalGatewayRouteTables(ctx, nil, nil) +// foo, err := ec2.GetLocalGatewayRouteTables(ctx, &ec2.GetLocalGatewayRouteTablesArgs{}, nil) // if err != nil { // return err // } @@ -73,14 +73,20 @@ type GetLocalGatewayRouteTablesResult struct { func GetLocalGatewayRouteTablesOutput(ctx *pulumi.Context, args GetLocalGatewayRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayRouteTablesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewayRouteTablesResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewayRouteTablesResultOutput, error) { args := v.(GetLocalGatewayRouteTablesArgs) - r, err := GetLocalGatewayRouteTables(ctx, &args, opts...) - var s GetLocalGatewayRouteTablesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewayRouteTablesResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGatewayRouteTables:getLocalGatewayRouteTables", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewayRouteTablesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewayRouteTablesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewayRouteTablesResultOutput), nil + } + return output, nil }).(GetLocalGatewayRouteTablesResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterface.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterface.go index fc7873ce3..f11e8bb0c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterface.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterface.go @@ -54,14 +54,20 @@ type GetLocalGatewayVirtualInterfaceResult struct { func GetLocalGatewayVirtualInterfaceOutput(ctx *pulumi.Context, args GetLocalGatewayVirtualInterfaceOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayVirtualInterfaceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewayVirtualInterfaceResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewayVirtualInterfaceResultOutput, error) { args := v.(GetLocalGatewayVirtualInterfaceArgs) - r, err := GetLocalGatewayVirtualInterface(ctx, &args, opts...) - var s GetLocalGatewayVirtualInterfaceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewayVirtualInterfaceResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGatewayVirtualInterface:getLocalGatewayVirtualInterface", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewayVirtualInterfaceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewayVirtualInterfaceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewayVirtualInterfaceResultOutput), nil + } + return output, nil }).(GetLocalGatewayVirtualInterfaceResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroup.go index d0c3e3759..50d9a11d7 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroup.go @@ -72,14 +72,20 @@ type GetLocalGatewayVirtualInterfaceGroupResult struct { func GetLocalGatewayVirtualInterfaceGroupOutput(ctx *pulumi.Context, args GetLocalGatewayVirtualInterfaceGroupOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayVirtualInterfaceGroupResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewayVirtualInterfaceGroupResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewayVirtualInterfaceGroupResultOutput, error) { args := v.(GetLocalGatewayVirtualInterfaceGroupArgs) - r, err := GetLocalGatewayVirtualInterfaceGroup(ctx, &args, opts...) - var s GetLocalGatewayVirtualInterfaceGroupResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewayVirtualInterfaceGroupResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGatewayVirtualInterfaceGroup:getLocalGatewayVirtualInterfaceGroup", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewayVirtualInterfaceGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewayVirtualInterfaceGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewayVirtualInterfaceGroupResultOutput), nil + } + return output, nil }).(GetLocalGatewayVirtualInterfaceGroupResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroups.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroups.go index 7acdce9d9..0d5939743 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroups.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGatewayVirtualInterfaceGroups.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := ec2.GetLocalGatewayVirtualInterfaceGroups(ctx, nil, nil) +// _, err := ec2.GetLocalGatewayVirtualInterfaceGroups(ctx, &ec2.GetLocalGatewayVirtualInterfaceGroupsArgs{}, nil) // if err != nil { // return err // } @@ -68,14 +68,20 @@ type GetLocalGatewayVirtualInterfaceGroupsResult struct { func GetLocalGatewayVirtualInterfaceGroupsOutput(ctx *pulumi.Context, args GetLocalGatewayVirtualInterfaceGroupsOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewayVirtualInterfaceGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewayVirtualInterfaceGroupsResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewayVirtualInterfaceGroupsResultOutput, error) { args := v.(GetLocalGatewayVirtualInterfaceGroupsArgs) - r, err := GetLocalGatewayVirtualInterfaceGroups(ctx, &args, opts...) - var s GetLocalGatewayVirtualInterfaceGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewayVirtualInterfaceGroupsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGatewayVirtualInterfaceGroups:getLocalGatewayVirtualInterfaceGroups", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewayVirtualInterfaceGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewayVirtualInterfaceGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewayVirtualInterfaceGroupsResultOutput), nil + } + return output, nil }).(GetLocalGatewayVirtualInterfaceGroupsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateways.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateways.go index ba28804f6..0e2c4a502 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateways.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getLocalGateways.go @@ -77,14 +77,20 @@ type GetLocalGatewaysResult struct { func GetLocalGatewaysOutput(ctx *pulumi.Context, args GetLocalGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetLocalGatewaysResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLocalGatewaysResult, error) { + ApplyT(func(v interface{}) (GetLocalGatewaysResultOutput, error) { args := v.(GetLocalGatewaysArgs) - r, err := GetLocalGateways(ctx, &args, opts...) - var s GetLocalGatewaysResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLocalGatewaysResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getLocalGateways:getLocalGateways", args, &rv, "", opts...) + if err != nil { + return GetLocalGatewaysResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLocalGatewaysResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLocalGatewaysResultOutput), nil + } + return output, nil }).(GetLocalGatewaysResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixList.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixList.go index 446464649..927870b32 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixList.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixList.go @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -127,14 +127,20 @@ type LookupManagedPrefixListResult struct { func LookupManagedPrefixListOutput(ctx *pulumi.Context, args LookupManagedPrefixListOutputArgs, opts ...pulumi.InvokeOption) LookupManagedPrefixListResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupManagedPrefixListResult, error) { + ApplyT(func(v interface{}) (LookupManagedPrefixListResultOutput, error) { args := v.(LookupManagedPrefixListArgs) - r, err := LookupManagedPrefixList(ctx, &args, opts...) - var s LookupManagedPrefixListResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupManagedPrefixListResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getManagedPrefixList:getManagedPrefixList", args, &rv, "", opts...) + if err != nil { + return LookupManagedPrefixListResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupManagedPrefixListResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupManagedPrefixListResultOutput), nil + } + return output, nil }).(LookupManagedPrefixListResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixLists.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixLists.go index ac19a829d..55752c483 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixLists.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getManagedPrefixLists.go @@ -46,14 +46,20 @@ type GetManagedPrefixListsResult struct { func GetManagedPrefixListsOutput(ctx *pulumi.Context, args GetManagedPrefixListsOutputArgs, opts ...pulumi.InvokeOption) GetManagedPrefixListsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetManagedPrefixListsResult, error) { + ApplyT(func(v interface{}) (GetManagedPrefixListsResultOutput, error) { args := v.(GetManagedPrefixListsArgs) - r, err := GetManagedPrefixLists(ctx, &args, opts...) - var s GetManagedPrefixListsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetManagedPrefixListsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getManagedPrefixLists:getManagedPrefixLists", args, &rv, "", opts...) + if err != nil { + return GetManagedPrefixListsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetManagedPrefixListsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetManagedPrefixListsResultOutput), nil + } + return output, nil }).(GetManagedPrefixListsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateway.go index f1115cf6f..b68911c1d 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateway.go @@ -127,14 +127,20 @@ type LookupNatGatewayResult struct { func LookupNatGatewayOutput(ctx *pulumi.Context, args LookupNatGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupNatGatewayResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNatGatewayResult, error) { + ApplyT(func(v interface{}) (LookupNatGatewayResultOutput, error) { args := v.(LookupNatGatewayArgs) - r, err := LookupNatGateway(ctx, &args, opts...) - var s LookupNatGatewayResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupNatGatewayResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNatGateway:getNatGateway", args, &rv, "", opts...) + if err != nil { + return LookupNatGatewayResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupNatGatewayResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupNatGatewayResultOutput), nil + } + return output, nil }).(LookupNatGatewayResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateways.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateways.go index 060fc1222..4228e95ce 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateways.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNatGateways.go @@ -49,14 +49,20 @@ type GetNatGatewaysResult struct { func GetNatGatewaysOutput(ctx *pulumi.Context, args GetNatGatewaysOutputArgs, opts ...pulumi.InvokeOption) GetNatGatewaysResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNatGatewaysResult, error) { + ApplyT(func(v interface{}) (GetNatGatewaysResultOutput, error) { args := v.(GetNatGatewaysArgs) - r, err := GetNatGateways(ctx, &args, opts...) - var s GetNatGatewaysResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetNatGatewaysResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNatGateways:getNatGateways", args, &rv, "", opts...) + if err != nil { + return GetNatGatewaysResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetNatGatewaysResultOutput) + if secret { + return pulumi.ToSecret(output).(GetNatGatewaysResultOutput), nil + } + return output, nil }).(GetNatGatewaysResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkAcls.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkAcls.go index 0d7360cf2..01795ee01 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkAcls.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkAcls.go @@ -139,14 +139,20 @@ type GetNetworkAclsResult struct { func GetNetworkAclsOutput(ctx *pulumi.Context, args GetNetworkAclsOutputArgs, opts ...pulumi.InvokeOption) GetNetworkAclsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetworkAclsResult, error) { + ApplyT(func(v interface{}) (GetNetworkAclsResultOutput, error) { args := v.(GetNetworkAclsArgs) - r, err := GetNetworkAcls(ctx, &args, opts...) - var s GetNetworkAclsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetNetworkAclsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNetworkAcls:getNetworkAcls", args, &rv, "", opts...) + if err != nil { + return GetNetworkAclsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetNetworkAclsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetNetworkAclsResultOutput), nil + } + return output, nil }).(GetNetworkAclsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsAnalysis.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsAnalysis.go index 1c0fbc477..2ce3b541c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsAnalysis.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsAnalysis.go @@ -92,14 +92,20 @@ type LookupNetworkInsightsAnalysisResult struct { func LookupNetworkInsightsAnalysisOutput(ctx *pulumi.Context, args LookupNetworkInsightsAnalysisOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkInsightsAnalysisResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetworkInsightsAnalysisResult, error) { + ApplyT(func(v interface{}) (LookupNetworkInsightsAnalysisResultOutput, error) { args := v.(LookupNetworkInsightsAnalysisArgs) - r, err := LookupNetworkInsightsAnalysis(ctx, &args, opts...) - var s LookupNetworkInsightsAnalysisResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupNetworkInsightsAnalysisResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNetworkInsightsAnalysis:getNetworkInsightsAnalysis", args, &rv, "", opts...) + if err != nil { + return LookupNetworkInsightsAnalysisResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupNetworkInsightsAnalysisResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupNetworkInsightsAnalysisResultOutput), nil + } + return output, nil }).(LookupNetworkInsightsAnalysisResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsPath.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsPath.go index 51e5be633..239aee30d 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsPath.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInsightsPath.go @@ -88,14 +88,20 @@ type LookupNetworkInsightsPathResult struct { func LookupNetworkInsightsPathOutput(ctx *pulumi.Context, args LookupNetworkInsightsPathOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkInsightsPathResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetworkInsightsPathResult, error) { + ApplyT(func(v interface{}) (LookupNetworkInsightsPathResultOutput, error) { args := v.(LookupNetworkInsightsPathArgs) - r, err := LookupNetworkInsightsPath(ctx, &args, opts...) - var s LookupNetworkInsightsPathResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupNetworkInsightsPathResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNetworkInsightsPath:getNetworkInsightsPath", args, &rv, "", opts...) + if err != nil { + return LookupNetworkInsightsPathResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupNetworkInsightsPathResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupNetworkInsightsPathResultOutput), nil + } + return output, nil }).(LookupNetworkInsightsPathResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterface.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterface.go index 24dca678b..e283ef18c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterface.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterface.go @@ -101,14 +101,20 @@ type LookupNetworkInterfaceResult struct { func LookupNetworkInterfaceOutput(ctx *pulumi.Context, args LookupNetworkInterfaceOutputArgs, opts ...pulumi.InvokeOption) LookupNetworkInterfaceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupNetworkInterfaceResult, error) { + ApplyT(func(v interface{}) (LookupNetworkInterfaceResultOutput, error) { args := v.(LookupNetworkInterfaceArgs) - r, err := LookupNetworkInterface(ctx, &args, opts...) - var s LookupNetworkInterfaceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupNetworkInterfaceResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNetworkInterface:getNetworkInterface", args, &rv, "", opts...) + if err != nil { + return LookupNetworkInterfaceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupNetworkInterfaceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupNetworkInterfaceResultOutput), nil + } + return output, nil }).(LookupNetworkInterfaceResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterfaces.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterfaces.go index 89cccc653..3fbf005a2 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterfaces.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getNetworkInterfaces.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := ec2.GetNetworkInterfaces(ctx, nil, nil) +// example, err := ec2.GetNetworkInterfaces(ctx, &ec2.GetNetworkInterfacesArgs{}, nil) // if err != nil { // return err // } @@ -133,14 +133,20 @@ type GetNetworkInterfacesResult struct { func GetNetworkInterfacesOutput(ctx *pulumi.Context, args GetNetworkInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetNetworkInterfacesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetNetworkInterfacesResult, error) { + ApplyT(func(v interface{}) (GetNetworkInterfacesResultOutput, error) { args := v.(GetNetworkInterfacesArgs) - r, err := GetNetworkInterfaces(ctx, &args, opts...) - var s GetNetworkInterfacesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetNetworkInterfacesResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getNetworkInterfaces:getNetworkInterfaces", args, &rv, "", opts...) + if err != nil { + return GetNetworkInterfacesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetNetworkInterfacesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetNetworkInterfacesResultOutput), nil + } + return output, nil }).(GetNetworkInterfacesResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPrefixList.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPrefixList.go index baae60ea6..6e56963cb 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPrefixList.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPrefixList.go @@ -57,9 +57,9 @@ import ( // Egress: pulumi.Bool(false), // Protocol: pulumi.String("tcp"), // RuleAction: pulumi.String("allow"), -// CidrBlock: privateS3.ApplyT(func(privateS3 ec2.GetPrefixListResult) (*string, error) { +// CidrBlock: pulumi.String(privateS3.ApplyT(func(privateS3 ec2.GetPrefixListResult) (*string, error) { // return &privateS3.CidrBlocks[0], nil -// }).(pulumi.StringPtrOutput), +// }).(pulumi.StringPtrOutput)), // FromPort: pulumi.Int(443), // ToPort: pulumi.Int(443), // }) @@ -138,14 +138,20 @@ type GetPrefixListResult struct { func GetPrefixListOutput(ctx *pulumi.Context, args GetPrefixListOutputArgs, opts ...pulumi.InvokeOption) GetPrefixListResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPrefixListResult, error) { + ApplyT(func(v interface{}) (GetPrefixListResultOutput, error) { args := v.(GetPrefixListArgs) - r, err := GetPrefixList(ctx, &args, opts...) - var s GetPrefixListResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPrefixListResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getPrefixList:getPrefixList", args, &rv, "", opts...) + if err != nil { + return GetPrefixListResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPrefixListResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPrefixListResultOutput), nil + } + return output, nil }).(GetPrefixListResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pool.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pool.go index a282f488d..13fe8ca78 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pool.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pool.go @@ -79,14 +79,20 @@ type GetPublicIpv4PoolResult struct { func GetPublicIpv4PoolOutput(ctx *pulumi.Context, args GetPublicIpv4PoolOutputArgs, opts ...pulumi.InvokeOption) GetPublicIpv4PoolResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPublicIpv4PoolResult, error) { + ApplyT(func(v interface{}) (GetPublicIpv4PoolResultOutput, error) { args := v.(GetPublicIpv4PoolArgs) - r, err := GetPublicIpv4Pool(ctx, &args, opts...) - var s GetPublicIpv4PoolResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPublicIpv4PoolResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getPublicIpv4Pool:getPublicIpv4Pool", args, &rv, "", opts...) + if err != nil { + return GetPublicIpv4PoolResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPublicIpv4PoolResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPublicIpv4PoolResultOutput), nil + } + return output, nil }).(GetPublicIpv4PoolResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pools.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pools.go index c360b0afc..1136dd4ec 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pools.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getPublicIpv4Pools.go @@ -30,7 +30,7 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // // Returns all public IPv4 pools. -// _, err := ec2.GetPublicIpv4Pools(ctx, nil, nil) +// _, err := ec2.GetPublicIpv4Pools(ctx, &ec2.GetPublicIpv4PoolsArgs{}, nil) // if err != nil { // return err // } @@ -105,14 +105,20 @@ type GetPublicIpv4PoolsResult struct { func GetPublicIpv4PoolsOutput(ctx *pulumi.Context, args GetPublicIpv4PoolsOutputArgs, opts ...pulumi.InvokeOption) GetPublicIpv4PoolsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPublicIpv4PoolsResult, error) { + ApplyT(func(v interface{}) (GetPublicIpv4PoolsResultOutput, error) { args := v.(GetPublicIpv4PoolsArgs) - r, err := GetPublicIpv4Pools(ctx, &args, opts...) - var s GetPublicIpv4PoolsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPublicIpv4PoolsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getPublicIpv4Pools:getPublicIpv4Pools", args, &rv, "", opts...) + if err != nil { + return GetPublicIpv4PoolsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetPublicIpv4PoolsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPublicIpv4PoolsResultOutput), nil + } + return output, nil }).(GetPublicIpv4PoolsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRoute.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRoute.go index 55edd36fc..7da958a2f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRoute.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRoute.go @@ -124,14 +124,20 @@ type LookupRouteResult struct { func LookupRouteOutput(ctx *pulumi.Context, args LookupRouteOutputArgs, opts ...pulumi.InvokeOption) LookupRouteResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupRouteResult, error) { + ApplyT(func(v interface{}) (LookupRouteResultOutput, error) { args := v.(LookupRouteArgs) - r, err := LookupRoute(ctx, &args, opts...) - var s LookupRouteResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupRouteResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getRoute:getRoute", args, &rv, "", opts...) + if err != nil { + return LookupRouteResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupRouteResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupRouteResultOutput), nil + } + return output, nil }).(LookupRouteResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTable.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTable.go index 55e56fe7c..1ea9405fb 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTable.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTable.go @@ -104,14 +104,20 @@ type LookupRouteTableResult struct { func LookupRouteTableOutput(ctx *pulumi.Context, args LookupRouteTableOutputArgs, opts ...pulumi.InvokeOption) LookupRouteTableResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupRouteTableResult, error) { + ApplyT(func(v interface{}) (LookupRouteTableResultOutput, error) { args := v.(LookupRouteTableArgs) - r, err := LookupRouteTable(ctx, &args, opts...) - var s LookupRouteTableResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupRouteTableResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getRouteTable:getRouteTable", args, &rv, "", opts...) + if err != nil { + return LookupRouteTableResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupRouteTableResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupRouteTableResultOutput), nil + } + return output, nil }).(LookupRouteTableResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTables.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTables.go index 8a39e6d00..d8f36bd30 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTables.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getRouteTables.go @@ -46,11 +46,11 @@ import ( // return err // } // var r []*ec2.Route -// for index := 0; index < len(rts.Ids); index++ { +// for index := 0; index < int(len(rts.Ids)); index++ { // key0 := index // val0 := index // __res, err := ec2.NewRoute(ctx, fmt.Sprintf("r-%v", key0), &ec2.RouteArgs{ -// RouteTableId: rts.Ids[val0], +// RouteTableId: pulumi.String(rts.Ids[val0]), // DestinationCidrBlock: pulumi.String("10.0.0.0/22"), // VpcPeeringConnectionId: pulumi.String("pcx-0e9a7a9ecd137dc54"), // }) @@ -101,14 +101,20 @@ type GetRouteTablesResult struct { func GetRouteTablesOutput(ctx *pulumi.Context, args GetRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetRouteTablesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetRouteTablesResult, error) { + ApplyT(func(v interface{}) (GetRouteTablesResultOutput, error) { args := v.(GetRouteTablesArgs) - r, err := GetRouteTables(ctx, &args, opts...) - var s GetRouteTablesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetRouteTablesResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getRouteTables:getRouteTables", args, &rv, "", opts...) + if err != nil { + return GetRouteTablesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetRouteTablesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetRouteTablesResultOutput), nil + } + return output, nil }).(GetRouteTablesResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroup.go index 7cd250403..389aee0a3 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroup.go @@ -99,14 +99,20 @@ type LookupSecurityGroupResult struct { func LookupSecurityGroupOutput(ctx *pulumi.Context, args LookupSecurityGroupOutputArgs, opts ...pulumi.InvokeOption) LookupSecurityGroupResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSecurityGroupResult, error) { + ApplyT(func(v interface{}) (LookupSecurityGroupResultOutput, error) { args := v.(LookupSecurityGroupArgs) - r, err := LookupSecurityGroup(ctx, &args, opts...) - var s LookupSecurityGroupResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSecurityGroupResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSecurityGroup:getSecurityGroup", args, &rv, "", opts...) + if err != nil { + return LookupSecurityGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSecurityGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSecurityGroupResultOutput), nil + } + return output, nil }).(LookupSecurityGroupResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroups.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroups.go index 8cf95b721..053717290 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroups.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSecurityGroups.go @@ -110,14 +110,20 @@ type GetSecurityGroupsResult struct { func GetSecurityGroupsOutput(ctx *pulumi.Context, args GetSecurityGroupsOutputArgs, opts ...pulumi.InvokeOption) GetSecurityGroupsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSecurityGroupsResult, error) { + ApplyT(func(v interface{}) (GetSecurityGroupsResultOutput, error) { args := v.(GetSecurityGroupsArgs) - r, err := GetSecurityGroups(ctx, &args, opts...) - var s GetSecurityGroupsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSecurityGroupsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSecurityGroups:getSecurityGroups", args, &rv, "", opts...) + if err != nil { + return GetSecurityGroupsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSecurityGroupsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSecurityGroupsResultOutput), nil + } + return output, nil }).(GetSecurityGroupsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSerialConsoleAccess.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSerialConsoleAccess.go index 42d6315bd..1c7eab4ba 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSerialConsoleAccess.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSerialConsoleAccess.go @@ -27,7 +27,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := ec2.LookupSerialConsoleAccess(ctx, nil, nil) +// _, err := ec2.LookupSerialConsoleAccess(ctx, map[string]interface{}{}, nil) // if err != nil { // return err // } @@ -55,13 +55,19 @@ type LookupSerialConsoleAccessResult struct { } func LookupSerialConsoleAccessOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupSerialConsoleAccessResultOutput { - return pulumi.ToOutput(0).ApplyT(func(int) (LookupSerialConsoleAccessResult, error) { - r, err := LookupSerialConsoleAccess(ctx, opts...) - var s LookupSerialConsoleAccessResult - if r != nil { - s = *r + return pulumi.ToOutput(0).ApplyT(func(int) (LookupSerialConsoleAccessResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSerialConsoleAccessResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSerialConsoleAccess:getSerialConsoleAccess", nil, &rv, "", opts...) + if err != nil { + return LookupSerialConsoleAccessResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSerialConsoleAccessResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSerialConsoleAccessResultOutput), nil + } + return output, nil }).(LookupSerialConsoleAccessResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotDatafeedSubscription.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotDatafeedSubscription.go new file mode 100644 index 000000000..a4afad9c4 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotDatafeedSubscription.go @@ -0,0 +1,110 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool 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/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > There is only a single spot data feed subscription per account. +// +// Data source for accessing an AWS EC2 (Elastic Compute Cloud) spot data feed subscription. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ec2.LookupSpotDatafeedSubscription(ctx, map[string]interface{}{}, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupSpotDatafeedSubscription(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupSpotDatafeedSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSpotDatafeedSubscriptionResult + err := ctx.Invoke("aws:ec2/getSpotDatafeedSubscription:getSpotDatafeedSubscription", nil, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of values returned by getSpotDatafeedSubscription. +type LookupSpotDatafeedSubscriptionResult struct { + // The name of the Amazon S3 bucket where the spot instance data feed is located. + Bucket string `pulumi:"bucket"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The prefix for the data feed files. + Prefix string `pulumi:"prefix"` +} + +func LookupSpotDatafeedSubscriptionOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) LookupSpotDatafeedSubscriptionResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (LookupSpotDatafeedSubscriptionResultOutput, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSpotDatafeedSubscriptionResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSpotDatafeedSubscription:getSpotDatafeedSubscription", nil, &rv, "", opts...) + if err != nil { + return LookupSpotDatafeedSubscriptionResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupSpotDatafeedSubscriptionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSpotDatafeedSubscriptionResultOutput), nil + } + return output, nil + }).(LookupSpotDatafeedSubscriptionResultOutput) +} + +// A collection of values returned by getSpotDatafeedSubscription. +type LookupSpotDatafeedSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (LookupSpotDatafeedSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupSpotDatafeedSubscriptionResult)(nil)).Elem() +} + +func (o LookupSpotDatafeedSubscriptionResultOutput) ToLookupSpotDatafeedSubscriptionResultOutput() LookupSpotDatafeedSubscriptionResultOutput { + return o +} + +func (o LookupSpotDatafeedSubscriptionResultOutput) ToLookupSpotDatafeedSubscriptionResultOutputWithContext(ctx context.Context) LookupSpotDatafeedSubscriptionResultOutput { + return o +} + +// The name of the Amazon S3 bucket where the spot instance data feed is located. +func (o LookupSpotDatafeedSubscriptionResultOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v LookupSpotDatafeedSubscriptionResult) string { return v.Bucket }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupSpotDatafeedSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupSpotDatafeedSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The prefix for the data feed files. +func (o LookupSpotDatafeedSubscriptionResultOutput) Prefix() pulumi.StringOutput { + return o.ApplyT(func(v LookupSpotDatafeedSubscriptionResult) string { return v.Prefix }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupSpotDatafeedSubscriptionResultOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotPrice.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotPrice.go index 97325c188..de6bc941e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotPrice.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSpotPrice.go @@ -82,14 +82,20 @@ type GetSpotPriceResult struct { func GetSpotPriceOutput(ctx *pulumi.Context, args GetSpotPriceOutputArgs, opts ...pulumi.InvokeOption) GetSpotPriceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSpotPriceResult, error) { + ApplyT(func(v interface{}) (GetSpotPriceResultOutput, error) { args := v.(GetSpotPriceArgs) - r, err := GetSpotPrice(ctx, &args, opts...) - var s GetSpotPriceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSpotPriceResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSpotPrice:getSpotPrice", args, &rv, "", opts...) + if err != nil { + return GetSpotPriceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSpotPriceResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSpotPriceResultOutput), nil + } + return output, nil }).(GetSpotPriceResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnet.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnet.go index e78aeb7f9..b436d3652 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnet.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnet.go @@ -40,7 +40,7 @@ import ( // if err != nil { // return err // } -// _, err = ec2.NewSecurityGroup(ctx, "subnet", &ec2.SecurityGroupArgs{ +// _, err = ec2.NewSecurityGroup(ctx, "subnet_security_group", &ec2.SecurityGroupArgs{ // VpcId: pulumi.String(selected.VpcId), // Ingress: ec2.SecurityGroupIngressArray{ // &ec2.SecurityGroupIngressArgs{ @@ -176,14 +176,20 @@ type LookupSubnetResult struct { func LookupSubnetOutput(ctx *pulumi.Context, args LookupSubnetOutputArgs, opts ...pulumi.InvokeOption) LookupSubnetResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupSubnetResult, error) { + ApplyT(func(v interface{}) (LookupSubnetResultOutput, error) { args := v.(LookupSubnetArgs) - r, err := LookupSubnet(ctx, &args, opts...) - var s LookupSubnetResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupSubnetResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSubnet:getSubnet", args, &rv, "", opts...) + if err != nil { + return LookupSubnetResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupSubnetResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupSubnetResultOutput), nil + } + return output, nil }).(LookupSubnetResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnets.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnets.go index 4e501b60f..a0240753c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnets.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getSubnets.go @@ -46,14 +46,20 @@ type GetSubnetsResult struct { func GetSubnetsOutput(ctx *pulumi.Context, args GetSubnetsOutputArgs, opts ...pulumi.InvokeOption) GetSubnetsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetSubnetsResult, error) { + ApplyT(func(v interface{}) (GetSubnetsResultOutput, error) { args := v.(GetSubnetsArgs) - r, err := GetSubnets(ctx, &args, opts...) - var s GetSubnetsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSubnetsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getSubnets:getSubnets", args, &rv, "", opts...) + if err != nil { + return GetSubnetsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetSubnetsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetSubnetsResultOutput), nil + } + return output, nil }).(GetSubnetsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getTransitGatewayRouteTables.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getTransitGatewayRouteTables.go index fb2b6fa9a..f62899b99 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getTransitGatewayRouteTables.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getTransitGatewayRouteTables.go @@ -29,7 +29,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// example, err := ec2.GetTransitGatewayRouteTables(ctx, nil, nil) +// example, err := ec2.GetTransitGatewayRouteTables(ctx, &ec2.GetTransitGatewayRouteTablesArgs{}, nil) // if err != nil { // return err // } @@ -73,14 +73,20 @@ type GetTransitGatewayRouteTablesResult struct { func GetTransitGatewayRouteTablesOutput(ctx *pulumi.Context, args GetTransitGatewayRouteTablesOutputArgs, opts ...pulumi.InvokeOption) GetTransitGatewayRouteTablesResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetTransitGatewayRouteTablesResult, error) { + ApplyT(func(v interface{}) (GetTransitGatewayRouteTablesResultOutput, error) { args := v.(GetTransitGatewayRouteTablesArgs) - r, err := GetTransitGatewayRouteTables(ctx, &args, opts...) - var s GetTransitGatewayRouteTablesResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetTransitGatewayRouteTablesResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getTransitGatewayRouteTables:getTransitGatewayRouteTables", args, &rv, "", opts...) + if err != nil { + return GetTransitGatewayRouteTablesResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetTransitGatewayRouteTablesResultOutput) + if secret { + return pulumi.ToSecret(output).(GetTransitGatewayRouteTablesResultOutput), nil + } + return output, nil }).(GetTransitGatewayRouteTablesResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpc.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpc.go index 8746d0b28..71d61d829 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpc.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpc.go @@ -56,7 +56,7 @@ import ( // _, err = ec2.NewSubnet(ctx, "example", &ec2.SubnetArgs{ // VpcId: pulumi.String(selected.Id), // AvailabilityZone: pulumi.String("us-west-2a"), -// CidrBlock: invokeCidrsubnet.Result, +// CidrBlock: pulumi.String(invokeCidrsubnet.Result), // }) // if err != nil { // return err @@ -135,14 +135,20 @@ type LookupVpcResult struct { func LookupVpcOutput(ctx *pulumi.Context, args LookupVpcOutputArgs, opts ...pulumi.InvokeOption) LookupVpcResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpcResult, error) { + ApplyT(func(v interface{}) (LookupVpcResultOutput, error) { args := v.(LookupVpcArgs) - r, err := LookupVpc(ctx, &args, opts...) - var s LookupVpcResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpcResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpc:getVpc", args, &rv, "", opts...) + if err != nil { + return LookupVpcResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpcResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpcResultOutput), nil + } + return output, nil }).(LookupVpcResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcDhcpOptions.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcDhcpOptions.go index 13e344d5a..26451a3d2 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcDhcpOptions.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcDhcpOptions.go @@ -128,14 +128,20 @@ type LookupVpcDhcpOptionsResult struct { func LookupVpcDhcpOptionsOutput(ctx *pulumi.Context, args LookupVpcDhcpOptionsOutputArgs, opts ...pulumi.InvokeOption) LookupVpcDhcpOptionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpcDhcpOptionsResult, error) { + ApplyT(func(v interface{}) (LookupVpcDhcpOptionsResultOutput, error) { args := v.(LookupVpcDhcpOptionsArgs) - r, err := LookupVpcDhcpOptions(ctx, &args, opts...) - var s LookupVpcDhcpOptionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpcDhcpOptionsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcDhcpOptions:getVpcDhcpOptions", args, &rv, "", opts...) + if err != nil { + return LookupVpcDhcpOptionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpcDhcpOptionsResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpcDhcpOptionsResultOutput), nil + } + return output, nil }).(LookupVpcDhcpOptionsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpoint.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpoint.go index 41232785a..91923cd95 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpoint.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpoint.go @@ -119,14 +119,20 @@ type LookupVpcEndpointResult struct { func LookupVpcEndpointOutput(ctx *pulumi.Context, args LookupVpcEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupVpcEndpointResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpcEndpointResult, error) { + ApplyT(func(v interface{}) (LookupVpcEndpointResultOutput, error) { args := v.(LookupVpcEndpointArgs) - r, err := LookupVpcEndpoint(ctx, &args, opts...) - var s LookupVpcEndpointResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpcEndpointResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcEndpoint:getVpcEndpoint", args, &rv, "", opts...) + if err != nil { + return LookupVpcEndpointResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpcEndpointResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpcEndpointResultOutput), nil + } + return output, nil }).(LookupVpcEndpointResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpointService.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpointService.go index ae00709a1..245930b9f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpointService.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcEndpointService.go @@ -161,8 +161,10 @@ type LookupVpcEndpointServiceResult struct { // AWS account ID of the service owner or `amazon`. Owner string `pulumi:"owner"` // Private DNS name for the service. - PrivateDnsName string `pulumi:"privateDnsName"` - Service *string `pulumi:"service"` + PrivateDnsName string `pulumi:"privateDnsName"` + // Private DNS names assigned to the VPC endpoint service. + PrivateDnsNames []string `pulumi:"privateDnsNames"` + Service *string `pulumi:"service"` // ID of the endpoint service. ServiceId string `pulumi:"serviceId"` ServiceName string `pulumi:"serviceName"` @@ -177,14 +179,20 @@ type LookupVpcEndpointServiceResult struct { func LookupVpcEndpointServiceOutput(ctx *pulumi.Context, args LookupVpcEndpointServiceOutputArgs, opts ...pulumi.InvokeOption) LookupVpcEndpointServiceResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpcEndpointServiceResult, error) { + ApplyT(func(v interface{}) (LookupVpcEndpointServiceResultOutput, error) { args := v.(LookupVpcEndpointServiceArgs) - r, err := LookupVpcEndpointService(ctx, &args, opts...) - var s LookupVpcEndpointServiceResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpcEndpointServiceResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcEndpointService:getVpcEndpointService", args, &rv, "", opts...) + if err != nil { + return LookupVpcEndpointServiceResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpcEndpointServiceResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpcEndpointServiceResultOutput), nil + } + return output, nil }).(LookupVpcEndpointServiceResultOutput) } @@ -267,6 +275,11 @@ func (o LookupVpcEndpointServiceResultOutput) PrivateDnsName() pulumi.StringOutp return o.ApplyT(func(v LookupVpcEndpointServiceResult) string { return v.PrivateDnsName }).(pulumi.StringOutput) } +// Private DNS names assigned to the VPC endpoint service. +func (o LookupVpcEndpointServiceResultOutput) PrivateDnsNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupVpcEndpointServiceResult) []string { return v.PrivateDnsNames }).(pulumi.StringArrayOutput) +} + func (o LookupVpcEndpointServiceResultOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupVpcEndpointServiceResult) *string { return v.Service }).(pulumi.StringPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPool.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPool.go index 21588938c..7823195bd 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPool.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPool.go @@ -133,14 +133,20 @@ type GetVpcIamPoolResult struct { func GetVpcIamPoolOutput(ctx *pulumi.Context, args GetVpcIamPoolOutputArgs, opts ...pulumi.InvokeOption) GetVpcIamPoolResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcIamPoolResult, error) { + ApplyT(func(v interface{}) (GetVpcIamPoolResultOutput, error) { args := v.(GetVpcIamPoolArgs) - r, err := GetVpcIamPool(ctx, &args, opts...) - var s GetVpcIamPoolResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcIamPoolResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcIamPool:getVpcIamPool", args, &rv, "", opts...) + if err != nil { + return GetVpcIamPoolResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcIamPoolResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcIamPoolResultOutput), nil + } + return output, nil }).(GetVpcIamPoolResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPoolCidrs.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPoolCidrs.go index 329d1836b..89e0ee833 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPoolCidrs.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPoolCidrs.go @@ -95,14 +95,20 @@ type GetVpcIamPoolCidrsResult struct { func GetVpcIamPoolCidrsOutput(ctx *pulumi.Context, args GetVpcIamPoolCidrsOutputArgs, opts ...pulumi.InvokeOption) GetVpcIamPoolCidrsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcIamPoolCidrsResult, error) { + ApplyT(func(v interface{}) (GetVpcIamPoolCidrsResultOutput, error) { args := v.(GetVpcIamPoolCidrsArgs) - r, err := GetVpcIamPoolCidrs(ctx, &args, opts...) - var s GetVpcIamPoolCidrsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcIamPoolCidrsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcIamPoolCidrs:getVpcIamPoolCidrs", args, &rv, "", opts...) + if err != nil { + return GetVpcIamPoolCidrsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcIamPoolCidrsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcIamPoolCidrsResultOutput), nil + } + return output, nil }).(GetVpcIamPoolCidrsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPools.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPools.go index ae84b7ba7..08c5e9e93 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPools.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIamPools.go @@ -84,14 +84,20 @@ type GetVpcIamPoolsResult struct { func GetVpcIamPoolsOutput(ctx *pulumi.Context, args GetVpcIamPoolsOutputArgs, opts ...pulumi.InvokeOption) GetVpcIamPoolsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcIamPoolsResult, error) { + ApplyT(func(v interface{}) (GetVpcIamPoolsResultOutput, error) { args := v.(GetVpcIamPoolsArgs) - r, err := GetVpcIamPools(ctx, &args, opts...) - var s GetVpcIamPoolsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcIamPoolsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcIamPools:getVpcIamPools", args, &rv, "", opts...) + if err != nil { + return GetVpcIamPoolsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcIamPoolsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcIamPoolsResultOutput), nil + } + return output, nil }).(GetVpcIamPoolsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPool.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPool.go index ebbe57294..ccf8c7d5f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPool.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPool.go @@ -131,14 +131,20 @@ type LookupVpcIpamPoolResult struct { func LookupVpcIpamPoolOutput(ctx *pulumi.Context, args LookupVpcIpamPoolOutputArgs, opts ...pulumi.InvokeOption) LookupVpcIpamPoolResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpcIpamPoolResult, error) { + ApplyT(func(v interface{}) (LookupVpcIpamPoolResultOutput, error) { args := v.(LookupVpcIpamPoolArgs) - r, err := LookupVpcIpamPool(ctx, &args, opts...) - var s LookupVpcIpamPoolResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpcIpamPoolResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcIpamPool:getVpcIpamPool", args, &rv, "", opts...) + if err != nil { + return LookupVpcIpamPoolResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpcIpamPoolResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpcIpamPoolResultOutput), nil + } + return output, nil }).(LookupVpcIpamPoolResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPoolCidrs.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPoolCidrs.go index a16719276..988dcabae 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPoolCidrs.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPoolCidrs.go @@ -93,14 +93,20 @@ type GetVpcIpamPoolCidrsResult struct { func GetVpcIpamPoolCidrsOutput(ctx *pulumi.Context, args GetVpcIpamPoolCidrsOutputArgs, opts ...pulumi.InvokeOption) GetVpcIpamPoolCidrsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcIpamPoolCidrsResult, error) { + ApplyT(func(v interface{}) (GetVpcIpamPoolCidrsResultOutput, error) { args := v.(GetVpcIpamPoolCidrsArgs) - r, err := GetVpcIpamPoolCidrs(ctx, &args, opts...) - var s GetVpcIpamPoolCidrsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcIpamPoolCidrsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcIpamPoolCidrs:getVpcIpamPoolCidrs", args, &rv, "", opts...) + if err != nil { + return GetVpcIpamPoolCidrsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcIpamPoolCidrsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcIpamPoolCidrsResultOutput), nil + } + return output, nil }).(GetVpcIpamPoolCidrsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPools.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPools.go index d1fbe5bcc..2929d0d28 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPools.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcIpamPools.go @@ -82,14 +82,20 @@ type GetVpcIpamPoolsResult struct { func GetVpcIpamPoolsOutput(ctx *pulumi.Context, args GetVpcIpamPoolsOutputArgs, opts ...pulumi.InvokeOption) GetVpcIpamPoolsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcIpamPoolsResult, error) { + ApplyT(func(v interface{}) (GetVpcIpamPoolsResultOutput, error) { args := v.(GetVpcIpamPoolsArgs) - r, err := GetVpcIpamPools(ctx, &args, opts...) - var s GetVpcIpamPoolsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcIpamPoolsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcIpamPools:getVpcIpamPools", args, &rv, "", opts...) + if err != nil { + return GetVpcIpamPoolsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcIpamPoolsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcIpamPoolsResultOutput), nil + } + return output, nil }).(GetVpcIpamPoolsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnection.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnection.go index 7bd13fc46..70103c5dc 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnection.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnection.go @@ -132,14 +132,20 @@ type LookupVpcPeeringConnectionResult struct { func LookupVpcPeeringConnectionOutput(ctx *pulumi.Context, args LookupVpcPeeringConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupVpcPeeringConnectionResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpcPeeringConnectionResult, error) { + ApplyT(func(v interface{}) (LookupVpcPeeringConnectionResultOutput, error) { args := v.(LookupVpcPeeringConnectionArgs) - r, err := LookupVpcPeeringConnection(ctx, &args, opts...) - var s LookupVpcPeeringConnectionResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpcPeeringConnectionResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcPeeringConnection:getVpcPeeringConnection", args, &rv, "", opts...) + if err != nil { + return LookupVpcPeeringConnectionResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpcPeeringConnectionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpcPeeringConnectionResultOutput), nil + } + return output, nil }).(LookupVpcPeeringConnectionResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnections.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnections.go index 76f02a742..6a3183575 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnections.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcPeeringConnections.go @@ -50,14 +50,20 @@ type GetVpcPeeringConnectionsResult struct { func GetVpcPeeringConnectionsOutput(ctx *pulumi.Context, args GetVpcPeeringConnectionsOutputArgs, opts ...pulumi.InvokeOption) GetVpcPeeringConnectionsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcPeeringConnectionsResult, error) { + ApplyT(func(v interface{}) (GetVpcPeeringConnectionsResultOutput, error) { args := v.(GetVpcPeeringConnectionsArgs) - r, err := GetVpcPeeringConnections(ctx, &args, opts...) - var s GetVpcPeeringConnectionsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcPeeringConnectionsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcPeeringConnections:getVpcPeeringConnections", args, &rv, "", opts...) + if err != nil { + return GetVpcPeeringConnectionsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcPeeringConnectionsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcPeeringConnectionsResultOutput), nil + } + return output, nil }).(GetVpcPeeringConnectionsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcs.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcs.go index 6ebfb2791..e747d6309 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcs.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpcs.go @@ -81,14 +81,20 @@ type GetVpcsResult struct { func GetVpcsOutput(ctx *pulumi.Context, args GetVpcsOutputArgs, opts ...pulumi.InvokeOption) GetVpcsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetVpcsResult, error) { + ApplyT(func(v interface{}) (GetVpcsResultOutput, error) { args := v.(GetVpcsArgs) - r, err := GetVpcs(ctx, &args, opts...) - var s GetVpcsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetVpcsResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpcs:getVpcs", args, &rv, "", opts...) + if err != nil { + return GetVpcsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetVpcsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetVpcsResultOutput), nil + } + return output, nil }).(GetVpcsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpnGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpnGateway.go index 9fdbb4320..e82f82ebf 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpnGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/getVpnGateway.go @@ -93,14 +93,20 @@ type LookupVpnGatewayResult struct { func LookupVpnGatewayOutput(ctx *pulumi.Context, args LookupVpnGatewayOutputArgs, opts ...pulumi.InvokeOption) LookupVpnGatewayResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupVpnGatewayResult, error) { + ApplyT(func(v interface{}) (LookupVpnGatewayResultOutput, error) { args := v.(LookupVpnGatewayArgs) - r, err := LookupVpnGateway(ctx, &args, opts...) - var s LookupVpnGatewayResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupVpnGatewayResult + secret, err := ctx.InvokePackageRaw("aws:ec2/getVpnGateway:getVpnGateway", args, &rv, "", opts...) + if err != nil { + return LookupVpnGatewayResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupVpnGatewayResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupVpnGatewayResultOutput), nil + } + return output, nil }).(LookupVpnGatewayResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/init.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/init.go index 772811931..b490bdb44 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/init.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/init.go @@ -31,6 +31,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &AmiLaunchPermission{} case "aws:ec2/availabilityZoneGroup:AvailabilityZoneGroup": r = &AvailabilityZoneGroup{} + case "aws:ec2/capacityBlockReservation:CapacityBlockReservation": + r = &CapacityBlockReservation{} case "aws:ec2/capacityReservation:CapacityReservation": r = &CapacityReservation{} case "aws:ec2/carrierGateway:CarrierGateway": @@ -153,6 +155,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &VolumeAttachment{} case "aws:ec2/vpc:Vpc": r = &Vpc{} + case "aws:ec2/vpcBlockPublicAccessExclusion:VpcBlockPublicAccessExclusion": + r = &VpcBlockPublicAccessExclusion{} + case "aws:ec2/vpcBlockPublicAccessOptions:VpcBlockPublicAccessOptions": + r = &VpcBlockPublicAccessOptions{} case "aws:ec2/vpcDhcpOptions:VpcDhcpOptions": r = &VpcDhcpOptions{} case "aws:ec2/vpcDhcpOptionsAssociation:VpcDhcpOptionsAssociation": @@ -249,6 +255,11 @@ func init() { "ec2/availabilityZoneGroup", &module{version}, ) + pulumi.RegisterResourceModule( + "aws", + "ec2/capacityBlockReservation", + &module{version}, + ) pulumi.RegisterResourceModule( "aws", "ec2/capacityReservation", @@ -554,6 +565,16 @@ func init() { "ec2/vpc", &module{version}, ) + pulumi.RegisterResourceModule( + "aws", + "ec2/vpcBlockPublicAccessExclusion", + &module{version}, + ) + pulumi.RegisterResourceModule( + "aws", + "ec2/vpcBlockPublicAccessOptions", + &module{version}, + ) pulumi.RegisterResourceModule( "aws", "ec2/vpcDhcpOptions", diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/instance.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/instance.go index 359083201..9bd156c9f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/instance.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/instance.go @@ -108,6 +108,7 @@ import ( // _, err = ec2.NewInstance(ctx, "this", &ec2.InstanceArgs{ // Ami: pulumi.String(this.Id), // InstanceMarketOptions: &ec2.InstanceInstanceMarketOptionsArgs{ +// MarketType: pulumi.String("spot"), // SpotOptions: &ec2.InstanceInstanceMarketOptionsSpotOptionsArgs{ // MaxPrice: pulumi.String("0.0031"), // }, @@ -287,7 +288,7 @@ import ( // _, err := ec2.NewInstance(ctx, "this", &ec2.InstanceArgs{ // Ami: pulumi.String("ami-0dcc1e21636832c5d"), // InstanceType: pulumi.String(ec2.InstanceType_M5_Large), -// HostResourceGroupArn: pulumi.String("arn:aws:resource-groups:us-west-2:012345678901:group/win-testhost"), +// HostResourceGroupArn: pulumi.String("arn:aws:resource-groups:us-west-2:123456789012:group/win-testhost"), // Tenancy: pulumi.String("host"), // }) // if err != nil { @@ -437,11 +438,11 @@ type Instance struct { TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy pulumi.StringOutput `pulumi:"tenancy"` - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData pulumi.StringOutput `pulumi:"userData"` - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 pulumi.StringOutput `pulumi:"userDataBase64"` - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange pulumi.BoolPtrOutput `pulumi:"userDataReplaceOnChange"` // Map of tags to assign, at instance-creation time, to root and EBS volumes. // @@ -597,11 +598,11 @@ type instanceState struct { TagsAll map[string]string `pulumi:"tagsAll"` // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy *string `pulumi:"tenancy"` - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData *string `pulumi:"userData"` - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 *string `pulumi:"userDataBase64"` - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange *bool `pulumi:"userDataReplaceOnChange"` // Map of tags to assign, at instance-creation time, to root and EBS volumes. // @@ -728,11 +729,11 @@ type InstanceState struct { TagsAll pulumi.StringMapInput // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy pulumi.StringPtrInput - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData pulumi.StringPtrInput - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 pulumi.StringPtrInput - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange pulumi.BoolPtrInput // Map of tags to assign, at instance-creation time, to root and EBS volumes. // @@ -839,11 +840,11 @@ type instanceArgs struct { Tags map[string]string `pulumi:"tags"` // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy *string `pulumi:"tenancy"` - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData *string `pulumi:"userData"` - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 *string `pulumi:"userDataBase64"` - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange *bool `pulumi:"userDataReplaceOnChange"` // Map of tags to assign, at instance-creation time, to root and EBS volumes. // @@ -947,11 +948,11 @@ type InstanceArgs struct { Tags pulumi.StringMapInput // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy pulumi.StringPtrInput - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData pulumi.StringPtrInput - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 pulumi.StringPtrInput - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange pulumi.BoolPtrInput // Map of tags to assign, at instance-creation time, to root and EBS volumes. // @@ -1322,17 +1323,17 @@ func (o InstanceOutput) Tenancy() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.Tenancy }).(pulumi.StringOutput) } -// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. +// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. func (o InstanceOutput) UserData() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.UserData }).(pulumi.StringOutput) } -// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. +// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. func (o InstanceOutput) UserDataBase64() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.UserDataBase64 }).(pulumi.StringOutput) } -// When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. +// When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. func (o InstanceOutput) UserDataReplaceOnChange() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Instance) pulumi.BoolPtrOutput { return v.UserDataReplaceOnChange }).(pulumi.BoolPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/launchTemplate.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/launchTemplate.go index c357aa8e9..97576f0e7 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/launchTemplate.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/launchTemplate.go @@ -39,10 +39,10 @@ type LaunchTemplate struct { DefaultVersion pulumi.IntOutput `pulumi:"defaultVersion"` // Description of the launch template. Description pulumi.StringPtrOutput `pulumi:"description"` - // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). DisableApiStop pulumi.BoolPtrOutput `pulumi:"disableApiStop"` // If `true`, enables [EC2 Instance - // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination) + // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html) DisableApiTermination pulumi.BoolPtrOutput `pulumi:"disableApiTermination"` // If `true`, the launched EC2 instance will be EBS-optimized. EbsOptimized pulumi.StringPtrOutput `pulumi:"ebsOptimized"` @@ -58,7 +58,7 @@ type LaunchTemplate struct { // The IAM Instance Profile to launch the instance with. See Instance Profile // below for more details. IamInstanceProfile LaunchTemplateIamInstanceProfilePtrOutput `pulumi:"iamInstanceProfile"` - // The AMI from which to launch the instance. + // The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details. ImageId pulumi.StringPtrOutput `pulumi:"imageId"` // Shutdown behavior for the instance. Can be `stop` or `terminate`. // (Default: `stop`). @@ -162,10 +162,10 @@ type launchTemplateState struct { DefaultVersion *int `pulumi:"defaultVersion"` // Description of the launch template. Description *string `pulumi:"description"` - // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). DisableApiStop *bool `pulumi:"disableApiStop"` // If `true`, enables [EC2 Instance - // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination) + // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html) DisableApiTermination *bool `pulumi:"disableApiTermination"` // If `true`, the launched EC2 instance will be EBS-optimized. EbsOptimized *string `pulumi:"ebsOptimized"` @@ -181,7 +181,7 @@ type launchTemplateState struct { // The IAM Instance Profile to launch the instance with. See Instance Profile // below for more details. IamInstanceProfile *LaunchTemplateIamInstanceProfile `pulumi:"iamInstanceProfile"` - // The AMI from which to launch the instance. + // The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details. ImageId *string `pulumi:"imageId"` // Shutdown behavior for the instance. Can be `stop` or `terminate`. // (Default: `stop`). @@ -256,10 +256,10 @@ type LaunchTemplateState struct { DefaultVersion pulumi.IntPtrInput // Description of the launch template. Description pulumi.StringPtrInput - // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). DisableApiStop pulumi.BoolPtrInput // If `true`, enables [EC2 Instance - // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination) + // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html) DisableApiTermination pulumi.BoolPtrInput // If `true`, the launched EC2 instance will be EBS-optimized. EbsOptimized pulumi.StringPtrInput @@ -275,7 +275,7 @@ type LaunchTemplateState struct { // The IAM Instance Profile to launch the instance with. See Instance Profile // below for more details. IamInstanceProfile LaunchTemplateIamInstanceProfilePtrInput - // The AMI from which to launch the instance. + // The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details. ImageId pulumi.StringPtrInput // Shutdown behavior for the instance. Can be `stop` or `terminate`. // (Default: `stop`). @@ -352,10 +352,10 @@ type launchTemplateArgs struct { DefaultVersion *int `pulumi:"defaultVersion"` // Description of the launch template. Description *string `pulumi:"description"` - // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). DisableApiStop *bool `pulumi:"disableApiStop"` // If `true`, enables [EC2 Instance - // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination) + // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html) DisableApiTermination *bool `pulumi:"disableApiTermination"` // If `true`, the launched EC2 instance will be EBS-optimized. EbsOptimized *string `pulumi:"ebsOptimized"` @@ -371,7 +371,7 @@ type launchTemplateArgs struct { // The IAM Instance Profile to launch the instance with. See Instance Profile // below for more details. IamInstanceProfile *LaunchTemplateIamInstanceProfile `pulumi:"iamInstanceProfile"` - // The AMI from which to launch the instance. + // The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details. ImageId *string `pulumi:"imageId"` // Shutdown behavior for the instance. Can be `stop` or `terminate`. // (Default: `stop`). @@ -439,10 +439,10 @@ type LaunchTemplateArgs struct { DefaultVersion pulumi.IntPtrInput // Description of the launch template. Description pulumi.StringPtrInput - // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). + // If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). DisableApiStop pulumi.BoolPtrInput // If `true`, enables [EC2 Instance - // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination) + // Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html) DisableApiTermination pulumi.BoolPtrInput // If `true`, the launched EC2 instance will be EBS-optimized. EbsOptimized pulumi.StringPtrInput @@ -458,7 +458,7 @@ type LaunchTemplateArgs struct { // The IAM Instance Profile to launch the instance with. See Instance Profile // below for more details. IamInstanceProfile LaunchTemplateIamInstanceProfilePtrInput - // The AMI from which to launch the instance. + // The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details. ImageId pulumi.StringPtrInput // Shutdown behavior for the instance. Can be `stop` or `terminate`. // (Default: `stop`). @@ -636,13 +636,13 @@ func (o LaunchTemplateOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *LaunchTemplate) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection). +// If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html). func (o LaunchTemplateOutput) DisableApiStop() pulumi.BoolPtrOutput { return o.ApplyT(func(v *LaunchTemplate) pulumi.BoolPtrOutput { return v.DisableApiStop }).(pulumi.BoolPtrOutput) } // If `true`, enables [EC2 Instance -// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination) +// Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html) func (o LaunchTemplateOutput) DisableApiTermination() pulumi.BoolPtrOutput { return o.ApplyT(func(v *LaunchTemplate) pulumi.BoolPtrOutput { return v.DisableApiTermination }).(pulumi.BoolPtrOutput) } @@ -683,7 +683,7 @@ func (o LaunchTemplateOutput) IamInstanceProfile() LaunchTemplateIamInstanceProf return o.ApplyT(func(v *LaunchTemplate) LaunchTemplateIamInstanceProfilePtrOutput { return v.IamInstanceProfile }).(LaunchTemplateIamInstanceProfilePtrOutput) } -// The AMI from which to launch the instance. +// The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details. func (o LaunchTemplateOutput) ImageId() pulumi.StringPtrOutput { return o.ApplyT(func(v *LaunchTemplate) pulumi.StringPtrOutput { return v.ImageId }).(pulumi.StringPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/networkInsightsPath.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/networkInsightsPath.go index c69976e6f..736a8f08e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/networkInsightsPath.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/networkInsightsPath.go @@ -55,7 +55,7 @@ type NetworkInsightsPath struct { // ARN of the Network Insights Path. Arn pulumi.StringOutput `pulumi:"arn"` // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. - Destination pulumi.StringOutput `pulumi:"destination"` + Destination pulumi.StringPtrOutput `pulumi:"destination"` // ARN of the destination. DestinationArn pulumi.StringOutput `pulumi:"destinationArn"` // IP address of the destination resource. @@ -87,9 +87,6 @@ func NewNetworkInsightsPath(ctx *pulumi.Context, return nil, errors.New("missing one or more required arguments") } - if args.Destination == nil { - return nil, errors.New("invalid value for required argument 'Destination'") - } if args.Protocol == nil { return nil, errors.New("invalid value for required argument 'Protocol'") } @@ -182,7 +179,7 @@ func (NetworkInsightsPathState) ElementType() reflect.Type { type networkInsightsPathArgs struct { // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. - Destination string `pulumi:"destination"` + Destination *string `pulumi:"destination"` // IP address of the destination resource. DestinationIp *string `pulumi:"destinationIp"` // Destination port to analyze access to. @@ -202,7 +199,7 @@ type networkInsightsPathArgs struct { // The set of arguments for constructing a NetworkInsightsPath resource. type NetworkInsightsPathArgs struct { // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. - Destination pulumi.StringInput + Destination pulumi.StringPtrInput // IP address of the destination resource. DestinationIp pulumi.StringPtrInput // Destination port to analyze access to. @@ -312,8 +309,8 @@ func (o NetworkInsightsPathOutput) Arn() pulumi.StringOutput { } // ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. -func (o NetworkInsightsPathOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v *NetworkInsightsPath) pulumi.StringOutput { return v.Destination }).(pulumi.StringOutput) +func (o NetworkInsightsPathOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NetworkInsightsPath) pulumi.StringPtrOutput { return v.Destination }).(pulumi.StringPtrOutput) } // ARN of the destination. diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/peeringConnectionOptions.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/peeringConnectionOptions.go index d12f80eee..4699e2bd5 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/peeringConnectionOptions.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/peeringConnectionOptions.go @@ -105,7 +105,7 @@ import ( // if err != nil { // return err // } -// peer, err := aws.GetCallerIdentity(ctx, nil, nil) +// peer, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/pulumiTypes.go index a8fa66af7..0f7d636e3 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/pulumiTypes.go @@ -919,6 +919,143 @@ func (o AmiFromInstanceEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) }).(AmiFromInstanceEphemeralBlockDeviceOutput) } +type CapacityBlockReservationTimeouts 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"` +} + +// CapacityBlockReservationTimeoutsInput is an input type that accepts CapacityBlockReservationTimeoutsArgs and CapacityBlockReservationTimeoutsOutput values. +// You can construct a concrete instance of `CapacityBlockReservationTimeoutsInput` via: +// +// CapacityBlockReservationTimeoutsArgs{...} +type CapacityBlockReservationTimeoutsInput interface { + pulumi.Input + + ToCapacityBlockReservationTimeoutsOutput() CapacityBlockReservationTimeoutsOutput + ToCapacityBlockReservationTimeoutsOutputWithContext(context.Context) CapacityBlockReservationTimeoutsOutput +} + +type CapacityBlockReservationTimeoutsArgs 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 pulumi.StringPtrInput `pulumi:"create"` +} + +func (CapacityBlockReservationTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CapacityBlockReservationTimeouts)(nil)).Elem() +} + +func (i CapacityBlockReservationTimeoutsArgs) ToCapacityBlockReservationTimeoutsOutput() CapacityBlockReservationTimeoutsOutput { + return i.ToCapacityBlockReservationTimeoutsOutputWithContext(context.Background()) +} + +func (i CapacityBlockReservationTimeoutsArgs) ToCapacityBlockReservationTimeoutsOutputWithContext(ctx context.Context) CapacityBlockReservationTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityBlockReservationTimeoutsOutput) +} + +func (i CapacityBlockReservationTimeoutsArgs) ToCapacityBlockReservationTimeoutsPtrOutput() CapacityBlockReservationTimeoutsPtrOutput { + return i.ToCapacityBlockReservationTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CapacityBlockReservationTimeoutsArgs) ToCapacityBlockReservationTimeoutsPtrOutputWithContext(ctx context.Context) CapacityBlockReservationTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityBlockReservationTimeoutsOutput).ToCapacityBlockReservationTimeoutsPtrOutputWithContext(ctx) +} + +// CapacityBlockReservationTimeoutsPtrInput is an input type that accepts CapacityBlockReservationTimeoutsArgs, CapacityBlockReservationTimeoutsPtr and CapacityBlockReservationTimeoutsPtrOutput values. +// You can construct a concrete instance of `CapacityBlockReservationTimeoutsPtrInput` via: +// +// CapacityBlockReservationTimeoutsArgs{...} +// +// or: +// +// nil +type CapacityBlockReservationTimeoutsPtrInput interface { + pulumi.Input + + ToCapacityBlockReservationTimeoutsPtrOutput() CapacityBlockReservationTimeoutsPtrOutput + ToCapacityBlockReservationTimeoutsPtrOutputWithContext(context.Context) CapacityBlockReservationTimeoutsPtrOutput +} + +type capacityBlockReservationTimeoutsPtrType CapacityBlockReservationTimeoutsArgs + +func CapacityBlockReservationTimeoutsPtr(v *CapacityBlockReservationTimeoutsArgs) CapacityBlockReservationTimeoutsPtrInput { + return (*capacityBlockReservationTimeoutsPtrType)(v) +} + +func (*capacityBlockReservationTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CapacityBlockReservationTimeouts)(nil)).Elem() +} + +func (i *capacityBlockReservationTimeoutsPtrType) ToCapacityBlockReservationTimeoutsPtrOutput() CapacityBlockReservationTimeoutsPtrOutput { + return i.ToCapacityBlockReservationTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *capacityBlockReservationTimeoutsPtrType) ToCapacityBlockReservationTimeoutsPtrOutputWithContext(ctx context.Context) CapacityBlockReservationTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CapacityBlockReservationTimeoutsPtrOutput) +} + +type CapacityBlockReservationTimeoutsOutput struct{ *pulumi.OutputState } + +func (CapacityBlockReservationTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CapacityBlockReservationTimeouts)(nil)).Elem() +} + +func (o CapacityBlockReservationTimeoutsOutput) ToCapacityBlockReservationTimeoutsOutput() CapacityBlockReservationTimeoutsOutput { + return o +} + +func (o CapacityBlockReservationTimeoutsOutput) ToCapacityBlockReservationTimeoutsOutputWithContext(ctx context.Context) CapacityBlockReservationTimeoutsOutput { + return o +} + +func (o CapacityBlockReservationTimeoutsOutput) ToCapacityBlockReservationTimeoutsPtrOutput() CapacityBlockReservationTimeoutsPtrOutput { + return o.ToCapacityBlockReservationTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CapacityBlockReservationTimeoutsOutput) ToCapacityBlockReservationTimeoutsPtrOutputWithContext(ctx context.Context) CapacityBlockReservationTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CapacityBlockReservationTimeouts) *CapacityBlockReservationTimeouts { + return &v + }).(CapacityBlockReservationTimeoutsPtrOutput) +} + +// 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). +func (o CapacityBlockReservationTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CapacityBlockReservationTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +type CapacityBlockReservationTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CapacityBlockReservationTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CapacityBlockReservationTimeouts)(nil)).Elem() +} + +func (o CapacityBlockReservationTimeoutsPtrOutput) ToCapacityBlockReservationTimeoutsPtrOutput() CapacityBlockReservationTimeoutsPtrOutput { + return o +} + +func (o CapacityBlockReservationTimeoutsPtrOutput) ToCapacityBlockReservationTimeoutsPtrOutputWithContext(ctx context.Context) CapacityBlockReservationTimeoutsPtrOutput { + return o +} + +func (o CapacityBlockReservationTimeoutsPtrOutput) Elem() CapacityBlockReservationTimeoutsOutput { + return o.ApplyT(func(v *CapacityBlockReservationTimeouts) CapacityBlockReservationTimeouts { + if v != nil { + return *v + } + var ret CapacityBlockReservationTimeouts + return ret + }).(CapacityBlockReservationTimeoutsOutput) +} + +// 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). +func (o CapacityBlockReservationTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CapacityBlockReservationTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + type DefaultNetworkAclEgress struct { // The action to take. Action string `pulumi:"action"` @@ -1101,15 +1238,28 @@ func (o DefaultNetworkAclEgressArrayOutput) Index(i pulumi.IntInput) DefaultNetw } type DefaultNetworkAclIngress struct { - Action string `pulumi:"action"` - CidrBlock *string `pulumi:"cidrBlock"` - FromPort int `pulumi:"fromPort"` - IcmpCode *int `pulumi:"icmpCode"` - IcmpType *int `pulumi:"icmpType"` + // The action to take. + Action string `pulumi:"action"` + // The CIDR block to match. This must be a valid network mask. + CidrBlock *string `pulumi:"cidrBlock"` + // The from port to match. + FromPort int `pulumi:"fromPort"` + // The ICMP type code to be used. Default 0. + IcmpCode *int `pulumi:"icmpCode"` + // The ICMP type to be used. Default 0. + IcmpType *int `pulumi:"icmpType"` + // The IPv6 CIDR block. + // + // > For more information on ICMP types and codes, see [Internet Control Message Protocol (ICMP) Parameters](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml). Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"` - Protocol string `pulumi:"protocol"` - RuleNo int `pulumi:"ruleNo"` - ToPort int `pulumi:"toPort"` + // The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0. + Protocol string `pulumi:"protocol"` + // The rule number. Used for ordering. + RuleNo int `pulumi:"ruleNo"` + // The to port to match. + // + // The following arguments are optional: + ToPort int `pulumi:"toPort"` } // DefaultNetworkAclIngressInput is an input type that accepts DefaultNetworkAclIngressArgs and DefaultNetworkAclIngressOutput values. @@ -1124,15 +1274,28 @@ type DefaultNetworkAclIngressInput interface { } type DefaultNetworkAclIngressArgs struct { - Action pulumi.StringInput `pulumi:"action"` - CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"` - FromPort pulumi.IntInput `pulumi:"fromPort"` - IcmpCode pulumi.IntPtrInput `pulumi:"icmpCode"` - IcmpType pulumi.IntPtrInput `pulumi:"icmpType"` + // The action to take. + Action pulumi.StringInput `pulumi:"action"` + // The CIDR block to match. This must be a valid network mask. + CidrBlock pulumi.StringPtrInput `pulumi:"cidrBlock"` + // The from port to match. + FromPort pulumi.IntInput `pulumi:"fromPort"` + // The ICMP type code to be used. Default 0. + IcmpCode pulumi.IntPtrInput `pulumi:"icmpCode"` + // The ICMP type to be used. Default 0. + IcmpType pulumi.IntPtrInput `pulumi:"icmpType"` + // The IPv6 CIDR block. + // + // > For more information on ICMP types and codes, see [Internet Control Message Protocol (ICMP) Parameters](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml). Ipv6CidrBlock pulumi.StringPtrInput `pulumi:"ipv6CidrBlock"` - Protocol pulumi.StringInput `pulumi:"protocol"` - RuleNo pulumi.IntInput `pulumi:"ruleNo"` - ToPort pulumi.IntInput `pulumi:"toPort"` + // The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0. + Protocol pulumi.StringInput `pulumi:"protocol"` + // The rule number. Used for ordering. + RuleNo pulumi.IntInput `pulumi:"ruleNo"` + // The to port to match. + // + // The following arguments are optional: + ToPort pulumi.IntInput `pulumi:"toPort"` } func (DefaultNetworkAclIngressArgs) ElementType() reflect.Type { @@ -1186,38 +1349,51 @@ func (o DefaultNetworkAclIngressOutput) ToDefaultNetworkAclIngressOutputWithCont return o } +// The action to take. func (o DefaultNetworkAclIngressOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) string { return v.Action }).(pulumi.StringOutput) } +// The CIDR block to match. This must be a valid network mask. func (o DefaultNetworkAclIngressOutput) CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) *string { return v.CidrBlock }).(pulumi.StringPtrOutput) } +// The from port to match. func (o DefaultNetworkAclIngressOutput) FromPort() pulumi.IntOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) int { return v.FromPort }).(pulumi.IntOutput) } +// The ICMP type code to be used. Default 0. func (o DefaultNetworkAclIngressOutput) IcmpCode() pulumi.IntPtrOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) *int { return v.IcmpCode }).(pulumi.IntPtrOutput) } +// The ICMP type to be used. Default 0. func (o DefaultNetworkAclIngressOutput) IcmpType() pulumi.IntPtrOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) *int { return v.IcmpType }).(pulumi.IntPtrOutput) } +// The IPv6 CIDR block. +// +// > For more information on ICMP types and codes, see [Internet Control Message Protocol (ICMP) Parameters](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml). func (o DefaultNetworkAclIngressOutput) Ipv6CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) *string { return v.Ipv6CidrBlock }).(pulumi.StringPtrOutput) } +// The protocol to match. If using the -1 'all' protocol, you must specify a from and to port of 0. func (o DefaultNetworkAclIngressOutput) Protocol() pulumi.StringOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) string { return v.Protocol }).(pulumi.StringOutput) } +// The rule number. Used for ordering. func (o DefaultNetworkAclIngressOutput) RuleNo() pulumi.IntOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) int { return v.RuleNo }).(pulumi.IntOutput) } +// The to port to match. +// +// The following arguments are optional: func (o DefaultNetworkAclIngressOutput) ToPort() pulumi.IntOutput { return o.ApplyT(func(v DefaultNetworkAclIngress) int { return v.ToPort }).(pulumi.IntOutput) } @@ -1620,16 +1796,24 @@ func (o DefaultSecurityGroupEgressArrayOutput) Index(i pulumi.IntInput) DefaultS } type DefaultSecurityGroupIngress struct { + // List of CIDR blocks. CidrBlocks []string `pulumi:"cidrBlocks"` // Description of the security group. - Description *string `pulumi:"description"` - FromPort int `pulumi:"fromPort"` + Description *string `pulumi:"description"` + // Start port (or ICMP type number if protocol is `icmp`) + FromPort int `pulumi:"fromPort"` + // List of IPv6 CIDR blocks. Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"` - PrefixListIds []string `pulumi:"prefixListIds"` - Protocol string `pulumi:"protocol"` + // List of prefix list IDs (for allowing access to VPC endpoints) + PrefixListIds []string `pulumi:"prefixListIds"` + // Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). + Protocol string `pulumi:"protocol"` + // List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID. SecurityGroups []string `pulumi:"securityGroups"` - Self *bool `pulumi:"self"` - ToPort int `pulumi:"toPort"` + // Whether the security group itself will be added as a source to this egress rule. + Self *bool `pulumi:"self"` + // End range port (or ICMP code if protocol is `icmp`). + ToPort int `pulumi:"toPort"` } // DefaultSecurityGroupIngressInput is an input type that accepts DefaultSecurityGroupIngressArgs and DefaultSecurityGroupIngressOutput values. @@ -1644,16 +1828,24 @@ type DefaultSecurityGroupIngressInput interface { } type DefaultSecurityGroupIngressArgs struct { + // List of CIDR blocks. CidrBlocks pulumi.StringArrayInput `pulumi:"cidrBlocks"` // Description of the security group. - Description pulumi.StringPtrInput `pulumi:"description"` - FromPort pulumi.IntInput `pulumi:"fromPort"` + Description pulumi.StringPtrInput `pulumi:"description"` + // Start port (or ICMP type number if protocol is `icmp`) + FromPort pulumi.IntInput `pulumi:"fromPort"` + // List of IPv6 CIDR blocks. Ipv6CidrBlocks pulumi.StringArrayInput `pulumi:"ipv6CidrBlocks"` - PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"` - Protocol pulumi.StringInput `pulumi:"protocol"` + // List of prefix list IDs (for allowing access to VPC endpoints) + PrefixListIds pulumi.StringArrayInput `pulumi:"prefixListIds"` + // Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). + Protocol pulumi.StringInput `pulumi:"protocol"` + // List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - Self pulumi.BoolPtrInput `pulumi:"self"` - ToPort pulumi.IntInput `pulumi:"toPort"` + // Whether the security group itself will be added as a source to this egress rule. + Self pulumi.BoolPtrInput `pulumi:"self"` + // End range port (or ICMP code if protocol is `icmp`). + ToPort pulumi.IntInput `pulumi:"toPort"` } func (DefaultSecurityGroupIngressArgs) ElementType() reflect.Type { @@ -1707,6 +1899,7 @@ func (o DefaultSecurityGroupIngressOutput) ToDefaultSecurityGroupIngressOutputWi return o } +// List of CIDR blocks. func (o DefaultSecurityGroupIngressOutput) CidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) []string { return v.CidrBlocks }).(pulumi.StringArrayOutput) } @@ -1716,30 +1909,37 @@ func (o DefaultSecurityGroupIngressOutput) Description() pulumi.StringPtrOutput return o.ApplyT(func(v DefaultSecurityGroupIngress) *string { return v.Description }).(pulumi.StringPtrOutput) } +// Start port (or ICMP type number if protocol is `icmp`) func (o DefaultSecurityGroupIngressOutput) FromPort() pulumi.IntOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) int { return v.FromPort }).(pulumi.IntOutput) } +// List of IPv6 CIDR blocks. func (o DefaultSecurityGroupIngressOutput) Ipv6CidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) []string { return v.Ipv6CidrBlocks }).(pulumi.StringArrayOutput) } +// List of prefix list IDs (for allowing access to VPC endpoints) func (o DefaultSecurityGroupIngressOutput) PrefixListIds() pulumi.StringArrayOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) []string { return v.PrefixListIds }).(pulumi.StringArrayOutput) } +// Protocol. If you select a protocol of "-1" (semantically equivalent to `all`, which is not a valid value here), you must specify a `fromPort` and `toPort` equal to `0`. If not `icmp`, `tcp`, `udp`, or `-1` use the [protocol number](https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). func (o DefaultSecurityGroupIngressOutput) Protocol() pulumi.StringOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) string { return v.Protocol }).(pulumi.StringOutput) } +// List of security groups. A group name can be used relative to the default VPC. Otherwise, group ID. func (o DefaultSecurityGroupIngressOutput) SecurityGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) } +// Whether the security group itself will be added as a source to this egress rule. func (o DefaultSecurityGroupIngressOutput) Self() pulumi.BoolPtrOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) *bool { return v.Self }).(pulumi.BoolPtrOutput) } +// End range port (or ICMP code if protocol is `icmp`). func (o DefaultSecurityGroupIngressOutput) ToPort() pulumi.IntOutput { return o.ApplyT(func(v DefaultSecurityGroupIngress) int { return v.ToPort }).(pulumi.IntOutput) } @@ -2533,6 +2733,8 @@ type FleetLaunchTemplateConfigOverrideInstanceRequirements struct { LocalStorage *string `pulumi:"localStorage"` // List of local storage type names. Valid values are `hdd` and `ssd`. Default any storage type. LocalStorageTypes []string `pulumi:"localStorageTypes"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *int `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. MemoryGibPerVcpu *FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu `pulumi:"memoryGibPerVcpu"` // The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits. @@ -2547,7 +2749,7 @@ type FleetLaunchTemplateConfigOverrideInstanceRequirements struct { OnDemandMaxPricePercentageOverLowestPrice *int `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` // Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. RequireHibernateSupport *bool `pulumi:"requireHibernateSupport"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. SpotMaxPricePercentageOverLowestPrice *int `pulumi:"spotMaxPricePercentageOverLowestPrice"` @@ -2602,6 +2804,8 @@ type FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs struct { LocalStorage pulumi.StringPtrInput `pulumi:"localStorage"` // List of local storage type names. Valid values are `hdd` and `ssd`. Default any storage type. LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice pulumi.IntPtrInput `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. MemoryGibPerVcpu FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpuPtrInput `pulumi:"memoryGibPerVcpu"` // The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits. @@ -2616,7 +2820,7 @@ type FleetLaunchTemplateConfigOverrideInstanceRequirementsArgs struct { OnDemandMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` // Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. RequireHibernateSupport pulumi.BoolPtrInput `pulumi:"requireHibernateSupport"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. SpotMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"spotMaxPricePercentageOverLowestPrice"` @@ -2786,6 +2990,13 @@ func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsOutput) LocalStorag return o.ApplyT(func(v FleetLaunchTemplateConfigOverrideInstanceRequirements) []string { return v.LocalStorageTypes }).(pulumi.StringArrayOutput) } +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` +func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntPtrOutput { + return o.ApplyT(func(v FleetLaunchTemplateConfigOverrideInstanceRequirements) *int { + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntPtrOutput) +} + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsOutput) MemoryGibPerVcpu() FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpuPtrOutput { return o.ApplyT(func(v FleetLaunchTemplateConfigOverrideInstanceRequirements) *FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu { @@ -2828,7 +3039,7 @@ func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsOutput) RequireHibe return o.ApplyT(func(v FleetLaunchTemplateConfigOverrideInstanceRequirements) *bool { return v.RequireHibernateSupport }).(pulumi.BoolPtrOutput) } -// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsOutput) SpotMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { @@ -3020,6 +3231,16 @@ func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsPtrOutput) LocalSto }).(pulumi.StringArrayOutput) } +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` +func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsPtrOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntPtrOutput { + return o.ApplyT(func(v *FleetLaunchTemplateConfigOverrideInstanceRequirements) *int { + if v == nil { + return nil + } + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntPtrOutput) +} + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsPtrOutput) MemoryGibPerVcpu() FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpuPtrOutput { return o.ApplyT(func(v *FleetLaunchTemplateConfigOverrideInstanceRequirements) *FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu { @@ -3082,7 +3303,7 @@ func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsPtrOutput) RequireH }).(pulumi.BoolPtrOutput) } -// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsPtrOutput) SpotMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { @@ -4537,6 +4758,8 @@ func (o FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCountPtrOutput) type FleetOnDemandOptions struct { // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: `lowestPrice`, `prioritized`. Default: `lowestPrice`. AllocationStrategy *string `pulumi:"allocationStrategy"` + // The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type `instant`. + CapacityReservationOptions *FleetOnDemandOptionsCapacityReservationOptions `pulumi:"capacityReservationOptions"` // The maximum amount per hour for On-Demand Instances that you're willing to pay. MaxTotalPrice *string `pulumi:"maxTotalPrice"` // The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type `instant`. @@ -4562,6 +4785,8 @@ type FleetOnDemandOptionsInput interface { type FleetOnDemandOptionsArgs struct { // The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: `lowestPrice`, `prioritized`. Default: `lowestPrice`. AllocationStrategy pulumi.StringPtrInput `pulumi:"allocationStrategy"` + // The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type `instant`. + CapacityReservationOptions FleetOnDemandOptionsCapacityReservationOptionsPtrInput `pulumi:"capacityReservationOptions"` // The maximum amount per hour for On-Demand Instances that you're willing to pay. MaxTotalPrice pulumi.StringPtrInput `pulumi:"maxTotalPrice"` // The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type `instant`. @@ -4655,6 +4880,13 @@ func (o FleetOnDemandOptionsOutput) AllocationStrategy() pulumi.StringPtrOutput return o.ApplyT(func(v FleetOnDemandOptions) *string { return v.AllocationStrategy }).(pulumi.StringPtrOutput) } +// The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type `instant`. +func (o FleetOnDemandOptionsOutput) CapacityReservationOptions() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return o.ApplyT(func(v FleetOnDemandOptions) *FleetOnDemandOptionsCapacityReservationOptions { + return v.CapacityReservationOptions + }).(FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) +} + // The maximum amount per hour for On-Demand Instances that you're willing to pay. func (o FleetOnDemandOptionsOutput) MaxTotalPrice() pulumi.StringPtrOutput { return o.ApplyT(func(v FleetOnDemandOptions) *string { return v.MaxTotalPrice }).(pulumi.StringPtrOutput) @@ -4710,6 +4942,16 @@ func (o FleetOnDemandOptionsPtrOutput) AllocationStrategy() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } +// The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type `instant`. +func (o FleetOnDemandOptionsPtrOutput) CapacityReservationOptions() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return o.ApplyT(func(v *FleetOnDemandOptions) *FleetOnDemandOptionsCapacityReservationOptions { + if v == nil { + return nil + } + return v.CapacityReservationOptions + }).(FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) +} + // The maximum amount per hour for On-Demand Instances that you're willing to pay. func (o FleetOnDemandOptionsPtrOutput) MaxTotalPrice() pulumi.StringPtrOutput { return o.ApplyT(func(v *FleetOnDemandOptions) *string { @@ -4751,6 +4993,143 @@ func (o FleetOnDemandOptionsPtrOutput) SingleInstanceType() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } +type FleetOnDemandOptionsCapacityReservationOptions struct { + // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: `use-capacity-reservations-first`. + UsageStrategy *string `pulumi:"usageStrategy"` +} + +// FleetOnDemandOptionsCapacityReservationOptionsInput is an input type that accepts FleetOnDemandOptionsCapacityReservationOptionsArgs and FleetOnDemandOptionsCapacityReservationOptionsOutput values. +// You can construct a concrete instance of `FleetOnDemandOptionsCapacityReservationOptionsInput` via: +// +// FleetOnDemandOptionsCapacityReservationOptionsArgs{...} +type FleetOnDemandOptionsCapacityReservationOptionsInput interface { + pulumi.Input + + ToFleetOnDemandOptionsCapacityReservationOptionsOutput() FleetOnDemandOptionsCapacityReservationOptionsOutput + ToFleetOnDemandOptionsCapacityReservationOptionsOutputWithContext(context.Context) FleetOnDemandOptionsCapacityReservationOptionsOutput +} + +type FleetOnDemandOptionsCapacityReservationOptionsArgs struct { + // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: `use-capacity-reservations-first`. + UsageStrategy pulumi.StringPtrInput `pulumi:"usageStrategy"` +} + +func (FleetOnDemandOptionsCapacityReservationOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FleetOnDemandOptionsCapacityReservationOptions)(nil)).Elem() +} + +func (i FleetOnDemandOptionsCapacityReservationOptionsArgs) ToFleetOnDemandOptionsCapacityReservationOptionsOutput() FleetOnDemandOptionsCapacityReservationOptionsOutput { + return i.ToFleetOnDemandOptionsCapacityReservationOptionsOutputWithContext(context.Background()) +} + +func (i FleetOnDemandOptionsCapacityReservationOptionsArgs) ToFleetOnDemandOptionsCapacityReservationOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsCapacityReservationOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(FleetOnDemandOptionsCapacityReservationOptionsOutput) +} + +func (i FleetOnDemandOptionsCapacityReservationOptionsArgs) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutput() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return i.ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(context.Background()) +} + +func (i FleetOnDemandOptionsCapacityReservationOptionsArgs) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FleetOnDemandOptionsCapacityReservationOptionsOutput).ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(ctx) +} + +// FleetOnDemandOptionsCapacityReservationOptionsPtrInput is an input type that accepts FleetOnDemandOptionsCapacityReservationOptionsArgs, FleetOnDemandOptionsCapacityReservationOptionsPtr and FleetOnDemandOptionsCapacityReservationOptionsPtrOutput values. +// You can construct a concrete instance of `FleetOnDemandOptionsCapacityReservationOptionsPtrInput` via: +// +// FleetOnDemandOptionsCapacityReservationOptionsArgs{...} +// +// or: +// +// nil +type FleetOnDemandOptionsCapacityReservationOptionsPtrInput interface { + pulumi.Input + + ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutput() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput + ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(context.Context) FleetOnDemandOptionsCapacityReservationOptionsPtrOutput +} + +type fleetOnDemandOptionsCapacityReservationOptionsPtrType FleetOnDemandOptionsCapacityReservationOptionsArgs + +func FleetOnDemandOptionsCapacityReservationOptionsPtr(v *FleetOnDemandOptionsCapacityReservationOptionsArgs) FleetOnDemandOptionsCapacityReservationOptionsPtrInput { + return (*fleetOnDemandOptionsCapacityReservationOptionsPtrType)(v) +} + +func (*fleetOnDemandOptionsCapacityReservationOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FleetOnDemandOptionsCapacityReservationOptions)(nil)).Elem() +} + +func (i *fleetOnDemandOptionsCapacityReservationOptionsPtrType) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutput() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return i.ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(context.Background()) +} + +func (i *fleetOnDemandOptionsCapacityReservationOptionsPtrType) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) +} + +type FleetOnDemandOptionsCapacityReservationOptionsOutput struct{ *pulumi.OutputState } + +func (FleetOnDemandOptionsCapacityReservationOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FleetOnDemandOptionsCapacityReservationOptions)(nil)).Elem() +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsOutput) ToFleetOnDemandOptionsCapacityReservationOptionsOutput() FleetOnDemandOptionsCapacityReservationOptionsOutput { + return o +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsOutput) ToFleetOnDemandOptionsCapacityReservationOptionsOutputWithContext(ctx context.Context) FleetOnDemandOptionsCapacityReservationOptionsOutput { + return o +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsOutput) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutput() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return o.ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(context.Background()) +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsOutput) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v FleetOnDemandOptionsCapacityReservationOptions) *FleetOnDemandOptionsCapacityReservationOptions { + return &v + }).(FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) +} + +// Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: `use-capacity-reservations-first`. +func (o FleetOnDemandOptionsCapacityReservationOptionsOutput) UsageStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v FleetOnDemandOptionsCapacityReservationOptions) *string { return v.UsageStrategy }).(pulumi.StringPtrOutput) +} + +type FleetOnDemandOptionsCapacityReservationOptionsPtrOutput struct{ *pulumi.OutputState } + +func (FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FleetOnDemandOptionsCapacityReservationOptions)(nil)).Elem() +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutput() FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return o +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) ToFleetOnDemandOptionsCapacityReservationOptionsPtrOutputWithContext(ctx context.Context) FleetOnDemandOptionsCapacityReservationOptionsPtrOutput { + return o +} + +func (o FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) Elem() FleetOnDemandOptionsCapacityReservationOptionsOutput { + return o.ApplyT(func(v *FleetOnDemandOptionsCapacityReservationOptions) FleetOnDemandOptionsCapacityReservationOptions { + if v != nil { + return *v + } + var ret FleetOnDemandOptionsCapacityReservationOptions + return ret + }).(FleetOnDemandOptionsCapacityReservationOptionsOutput) +} + +// Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. Valid values: `use-capacity-reservations-first`. +func (o FleetOnDemandOptionsCapacityReservationOptionsPtrOutput) UsageStrategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FleetOnDemandOptionsCapacityReservationOptions) *string { + if v == nil { + return nil + } + return v.UsageStrategy + }).(pulumi.StringPtrOutput) +} + type FleetSpotOptions struct { // How to allocate the target capacity across the Spot pools. Valid values: `diversified`, `lowestPrice`, `capacity-optimized`, `capacity-optimized-prioritized` and `price-capacity-optimized`. Default: `lowestPrice`. AllocationStrategy *string `pulumi:"allocationStrategy"` @@ -6743,7 +7122,7 @@ func (o InstanceEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) Instan } type InstanceInstanceMarketOptions struct { - // Type of market for the instance. Valid value is `spot`. Defaults to `spot`. Required if `spotOptions` is specified. + // Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. MarketType *string `pulumi:"marketType"` // Block to configure the options for Spot Instances. See Spot Options below for details on attributes. SpotOptions *InstanceInstanceMarketOptionsSpotOptions `pulumi:"spotOptions"` @@ -6761,7 +7140,7 @@ type InstanceInstanceMarketOptionsInput interface { } type InstanceInstanceMarketOptionsArgs struct { - // Type of market for the instance. Valid value is `spot`. Defaults to `spot`. Required if `spotOptions` is specified. + // Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. MarketType pulumi.StringPtrInput `pulumi:"marketType"` // Block to configure the options for Spot Instances. See Spot Options below for details on attributes. SpotOptions InstanceInstanceMarketOptionsSpotOptionsPtrInput `pulumi:"spotOptions"` @@ -6844,7 +7223,7 @@ func (o InstanceInstanceMarketOptionsOutput) ToInstanceInstanceMarketOptionsPtrO }).(InstanceInstanceMarketOptionsPtrOutput) } -// Type of market for the instance. Valid value is `spot`. Defaults to `spot`. Required if `spotOptions` is specified. +// Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. func (o InstanceInstanceMarketOptionsOutput) MarketType() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceInstanceMarketOptions) *string { return v.MarketType }).(pulumi.StringPtrOutput) } @@ -6878,7 +7257,7 @@ func (o InstanceInstanceMarketOptionsPtrOutput) Elem() InstanceInstanceMarketOpt }).(InstanceInstanceMarketOptionsOutput) } -// Type of market for the instance. Valid value is `spot`. Defaults to `spot`. Required if `spotOptions` is specified. +// Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. func (o InstanceInstanceMarketOptionsPtrOutput) MarketType() pulumi.StringPtrOutput { return o.ApplyT(func(v *InstanceInstanceMarketOptions) *string { if v == nil { @@ -7411,7 +7790,7 @@ type InstanceMetadataOptions struct { HttpProtocolIpv6 *string `pulumi:"httpProtocolIpv6"` // Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`. HttpPutResponseHopLimit *int `pulumi:"httpPutResponseHopLimit"` - // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. + // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. HttpTokens *string `pulumi:"httpTokens"` // Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`. // @@ -7437,7 +7816,7 @@ type InstanceMetadataOptionsArgs struct { HttpProtocolIpv6 pulumi.StringPtrInput `pulumi:"httpProtocolIpv6"` // Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`. HttpPutResponseHopLimit pulumi.IntPtrInput `pulumi:"httpPutResponseHopLimit"` - // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. + // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"` // Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`. // @@ -7537,7 +7916,7 @@ func (o InstanceMetadataOptionsOutput) HttpPutResponseHopLimit() pulumi.IntPtrOu return o.ApplyT(func(v InstanceMetadataOptions) *int { return v.HttpPutResponseHopLimit }).(pulumi.IntPtrOutput) } -// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. +// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. func (o InstanceMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceMetadataOptions) *string { return v.HttpTokens }).(pulumi.StringPtrOutput) } @@ -7603,7 +7982,7 @@ func (o InstanceMetadataOptionsPtrOutput) HttpPutResponseHopLimit() pulumi.IntPt }).(pulumi.IntPtrOutput) } -// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. +// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. func (o InstanceMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput { return o.ApplyT(func(v *InstanceMetadataOptions) *string { if v == nil { @@ -9969,7 +10348,7 @@ func (o LaunchTemplateCreditSpecificationPtrOutput) CpuCredits() pulumi.StringPt } type LaunchTemplateElasticGpuSpecification struct { - // The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html#elastic-gpus-basics) + // The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics) Type string `pulumi:"type"` } @@ -9985,7 +10364,7 @@ type LaunchTemplateElasticGpuSpecificationInput interface { } type LaunchTemplateElasticGpuSpecificationArgs struct { - // The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html#elastic-gpus-basics) + // The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics) Type pulumi.StringInput `pulumi:"type"` } @@ -10040,7 +10419,7 @@ func (o LaunchTemplateElasticGpuSpecificationOutput) ToLaunchTemplateElasticGpuS return o } -// The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-gpus.html#elastic-gpus-basics) +// The [Elastic GPU Type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-graphics.html#elastic-graphics-basics) func (o LaunchTemplateElasticGpuSpecificationOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LaunchTemplateElasticGpuSpecification) string { return v.Type }).(pulumi.StringOutput) } @@ -11050,6 +11429,8 @@ type LaunchTemplateInstanceRequirements struct { LocalStorage *string `pulumi:"localStorage"` // List of local storage type names. Default any storage type. LocalStorageTypes []string `pulumi:"localStorageTypes"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *int `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. MemoryGibPerVcpu *LaunchTemplateInstanceRequirementsMemoryGibPerVcpu `pulumi:"memoryGibPerVcpu"` // Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. @@ -11064,7 +11445,7 @@ type LaunchTemplateInstanceRequirements struct { OnDemandMaxPricePercentageOverLowestPrice *int `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` // Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. RequireHibernateSupport *bool `pulumi:"requireHibernateSupport"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. SpotMaxPricePercentageOverLowestPrice *int `pulumi:"spotMaxPricePercentageOverLowestPrice"` @@ -11120,6 +11501,8 @@ type LaunchTemplateInstanceRequirementsArgs struct { LocalStorage pulumi.StringPtrInput `pulumi:"localStorage"` // List of local storage type names. Default any storage type. LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice pulumi.IntPtrInput `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. MemoryGibPerVcpu LaunchTemplateInstanceRequirementsMemoryGibPerVcpuPtrInput `pulumi:"memoryGibPerVcpu"` // Block describing the minimum and maximum amount of memory (MiB). Default is no maximum. @@ -11134,7 +11517,7 @@ type LaunchTemplateInstanceRequirementsArgs struct { OnDemandMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` // Indicate whether instance types must support On-Demand Instance Hibernation, either `true` or `false`. Default is `false`. RequireHibernateSupport pulumi.BoolPtrInput `pulumi:"requireHibernateSupport"` - // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. + // The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. SpotMaxPricePercentageOverLowestPrice pulumi.IntPtrInput `pulumi:"spotMaxPricePercentageOverLowestPrice"` @@ -11303,6 +11686,13 @@ func (o LaunchTemplateInstanceRequirementsOutput) LocalStorageTypes() pulumi.Str return o.ApplyT(func(v LaunchTemplateInstanceRequirements) []string { return v.LocalStorageTypes }).(pulumi.StringArrayOutput) } +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` +func (o LaunchTemplateInstanceRequirementsOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntPtrOutput { + return o.ApplyT(func(v LaunchTemplateInstanceRequirements) *int { + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntPtrOutput) +} + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. func (o LaunchTemplateInstanceRequirementsOutput) MemoryGibPerVcpu() LaunchTemplateInstanceRequirementsMemoryGibPerVcpuPtrOutput { return o.ApplyT(func(v LaunchTemplateInstanceRequirements) *LaunchTemplateInstanceRequirementsMemoryGibPerVcpu { @@ -11343,7 +11733,7 @@ func (o LaunchTemplateInstanceRequirementsOutput) RequireHibernateSupport() pulu return o.ApplyT(func(v LaunchTemplateInstanceRequirements) *bool { return v.RequireHibernateSupport }).(pulumi.BoolPtrOutput) } -// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o LaunchTemplateInstanceRequirementsOutput) SpotMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { @@ -11534,6 +11924,16 @@ func (o LaunchTemplateInstanceRequirementsPtrOutput) LocalStorageTypes() pulumi. }).(pulumi.StringArrayOutput) } +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with `spotMaxPricePercentageOverLowestPrice` +func (o LaunchTemplateInstanceRequirementsPtrOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntPtrOutput { + return o.ApplyT(func(v *LaunchTemplateInstanceRequirements) *int { + if v == nil { + return nil + } + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntPtrOutput) +} + // Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum. func (o LaunchTemplateInstanceRequirementsPtrOutput) MemoryGibPerVcpu() LaunchTemplateInstanceRequirementsMemoryGibPerVcpuPtrOutput { return o.ApplyT(func(v *LaunchTemplateInstanceRequirements) *LaunchTemplateInstanceRequirementsMemoryGibPerVcpu { @@ -11596,7 +11996,7 @@ func (o LaunchTemplateInstanceRequirementsPtrOutput) RequireHibernateSupport() p }).(pulumi.BoolPtrOutput) } -// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. +// The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with `maxSpotPriceAsPercentageOfOptimalOnDemandPrice` // // If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. func (o LaunchTemplateInstanceRequirementsPtrOutput) SpotMaxPricePercentageOverLowestPrice() pulumi.IntPtrOutput { @@ -13660,6 +14060,8 @@ type LaunchTemplateNetworkInterface struct { NetworkCardIndex *int `pulumi:"networkCardIndex"` // The ID of the network interface to attach. NetworkInterfaceId *string `pulumi:"networkInterfaceId"` + // Whether the first IPv6 GUA will be made the primary IPv6 address. + PrimaryIpv6 *string `pulumi:"primaryIpv6"` // The primary private IPv4 address. PrivateIpAddress *string `pulumi:"privateIpAddress"` // A list of security group IDs to associate. @@ -13715,6 +14117,8 @@ type LaunchTemplateNetworkInterfaceArgs struct { NetworkCardIndex pulumi.IntPtrInput `pulumi:"networkCardIndex"` // The ID of the network interface to attach. NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"` + // Whether the first IPv6 GUA will be made the primary IPv6 address. + PrimaryIpv6 pulumi.StringPtrInput `pulumi:"primaryIpv6"` // The primary private IPv4 address. PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` // A list of security group IDs to associate. @@ -13857,6 +14261,11 @@ func (o LaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId() pulumi.String return o.ApplyT(func(v LaunchTemplateNetworkInterface) *string { return v.NetworkInterfaceId }).(pulumi.StringPtrOutput) } +// Whether the first IPv6 GUA will be made the primary IPv6 address. +func (o LaunchTemplateNetworkInterfaceOutput) PrimaryIpv6() pulumi.StringPtrOutput { + return o.ApplyT(func(v LaunchTemplateNetworkInterface) *string { return v.PrimaryIpv6 }).(pulumi.StringPtrOutput) +} + // The primary private IPv4 address. func (o LaunchTemplateNetworkInterfaceOutput) PrivateIpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v LaunchTemplateNetworkInterface) *string { return v.PrivateIpAddress }).(pulumi.StringPtrOutput) @@ -24636,6 +25045,7 @@ func (o NetworkInterfaceAttachmentTypeArrayOutput) Index(i pulumi.IntInput) Netw } type PeeringConnectionOptionsAccepter struct { + // Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"` } @@ -24651,6 +25061,7 @@ type PeeringConnectionOptionsAccepterInput interface { } type PeeringConnectionOptionsAccepterArgs struct { + // Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"` } @@ -24731,6 +25142,7 @@ func (o PeeringConnectionOptionsAccepterOutput) ToPeeringConnectionOptionsAccept }).(PeeringConnectionOptionsAccepterPtrOutput) } +// Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. func (o PeeringConnectionOptionsAccepterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v PeeringConnectionOptionsAccepter) *bool { return v.AllowRemoteVpcDnsResolution }).(pulumi.BoolPtrOutput) } @@ -24759,6 +25171,7 @@ func (o PeeringConnectionOptionsAccepterPtrOutput) Elem() PeeringConnectionOptio }).(PeeringConnectionOptionsAccepterOutput) } +// Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. func (o PeeringConnectionOptionsAccepterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v *PeeringConnectionOptionsAccepter) *bool { if v == nil { @@ -24769,6 +25182,7 @@ func (o PeeringConnectionOptionsAccepterPtrOutput) AllowRemoteVpcDnsResolution() } type PeeringConnectionOptionsRequester struct { + // Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"` } @@ -24784,6 +25198,7 @@ type PeeringConnectionOptionsRequesterInput interface { } type PeeringConnectionOptionsRequesterArgs struct { + // Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"` } @@ -24864,6 +25279,7 @@ func (o PeeringConnectionOptionsRequesterOutput) ToPeeringConnectionOptionsReque }).(PeeringConnectionOptionsRequesterPtrOutput) } +// Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. func (o PeeringConnectionOptionsRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v PeeringConnectionOptionsRequester) *bool { return v.AllowRemoteVpcDnsResolution }).(pulumi.BoolPtrOutput) } @@ -24892,6 +25308,7 @@ func (o PeeringConnectionOptionsRequesterPtrOutput) Elem() PeeringConnectionOpti }).(PeeringConnectionOptionsRequesterOutput) } +// Allow a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC. func (o PeeringConnectionOptionsRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v *PeeringConnectionOptionsRequester) *bool { if v == nil { @@ -25481,28 +25898,32 @@ func (o SecurityGroupIngressArrayOutput) Index(i pulumi.IntInput) SecurityGroupI } type SpotFleetRequestLaunchSpecification struct { - Ami string `pulumi:"ami"` - AssociatePublicIpAddress *bool `pulumi:"associatePublicIpAddress"` - AvailabilityZone *string `pulumi:"availabilityZone"` - EbsBlockDevices []SpotFleetRequestLaunchSpecificationEbsBlockDevice `pulumi:"ebsBlockDevices"` - EbsOptimized *bool `pulumi:"ebsOptimized"` - EphemeralBlockDevices []SpotFleetRequestLaunchSpecificationEphemeralBlockDevice `pulumi:"ephemeralBlockDevices"` - IamInstanceProfile *string `pulumi:"iamInstanceProfile"` - IamInstanceProfileArn *string `pulumi:"iamInstanceProfileArn"` - InstanceType string `pulumi:"instanceType"` - KeyName *string `pulumi:"keyName"` - Monitoring *bool `pulumi:"monitoring"` - PlacementGroup *string `pulumi:"placementGroup"` - PlacementTenancy *string `pulumi:"placementTenancy"` - RootBlockDevices []SpotFleetRequestLaunchSpecificationRootBlockDevice `pulumi:"rootBlockDevices"` + Ami string `pulumi:"ami"` + AssociatePublicIpAddress *bool `pulumi:"associatePublicIpAddress"` + // The availability zone in which to place the request. + AvailabilityZone *string `pulumi:"availabilityZone"` + EbsBlockDevices []SpotFleetRequestLaunchSpecificationEbsBlockDevice `pulumi:"ebsBlockDevices"` + EbsOptimized *bool `pulumi:"ebsOptimized"` + EphemeralBlockDevices []SpotFleetRequestLaunchSpecificationEphemeralBlockDevice `pulumi:"ephemeralBlockDevices"` + IamInstanceProfile *string `pulumi:"iamInstanceProfile"` + IamInstanceProfileArn *string `pulumi:"iamInstanceProfileArn"` + // The type of instance to request. + InstanceType string `pulumi:"instanceType"` + KeyName *string `pulumi:"keyName"` + Monitoring *bool `pulumi:"monitoring"` + PlacementGroup *string `pulumi:"placementGroup"` + PlacementTenancy *string `pulumi:"placementTenancy"` + RootBlockDevices []SpotFleetRequestLaunchSpecificationRootBlockDevice `pulumi:"rootBlockDevices"` // The maximum bid price per unit hour. SpotPrice *string `pulumi:"spotPrice"` - SubnetId *string `pulumi:"subnetId"` + // The subnet in which to launch the requested instance. + SubnetId *string `pulumi:"subnetId"` // A map of tags to assign to the resource. .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"` UserData *string `pulumi:"userData"` VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"` - WeightedCapacity *string `pulumi:"weightedCapacity"` + // The capacity added to the fleet by a fulfilled request. + WeightedCapacity *string `pulumi:"weightedCapacity"` } // SpotFleetRequestLaunchSpecificationInput is an input type that accepts SpotFleetRequestLaunchSpecificationArgs and SpotFleetRequestLaunchSpecificationOutput values. @@ -25517,28 +25938,32 @@ type SpotFleetRequestLaunchSpecificationInput interface { } type SpotFleetRequestLaunchSpecificationArgs struct { - Ami pulumi.StringInput `pulumi:"ami"` - AssociatePublicIpAddress pulumi.BoolPtrInput `pulumi:"associatePublicIpAddress"` - AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` - EbsBlockDevices SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput `pulumi:"ebsBlockDevices"` - EbsOptimized pulumi.BoolPtrInput `pulumi:"ebsOptimized"` - EphemeralBlockDevices SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput `pulumi:"ephemeralBlockDevices"` - IamInstanceProfile pulumi.StringPtrInput `pulumi:"iamInstanceProfile"` - IamInstanceProfileArn pulumi.StringPtrInput `pulumi:"iamInstanceProfileArn"` - InstanceType pulumi.StringInput `pulumi:"instanceType"` - KeyName pulumi.StringPtrInput `pulumi:"keyName"` - Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` - PlacementGroup pulumi.StringPtrInput `pulumi:"placementGroup"` - PlacementTenancy pulumi.StringPtrInput `pulumi:"placementTenancy"` - RootBlockDevices SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput `pulumi:"rootBlockDevices"` + Ami pulumi.StringInput `pulumi:"ami"` + AssociatePublicIpAddress pulumi.BoolPtrInput `pulumi:"associatePublicIpAddress"` + // The availability zone in which to place the request. + AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` + EbsBlockDevices SpotFleetRequestLaunchSpecificationEbsBlockDeviceArrayInput `pulumi:"ebsBlockDevices"` + EbsOptimized pulumi.BoolPtrInput `pulumi:"ebsOptimized"` + EphemeralBlockDevices SpotFleetRequestLaunchSpecificationEphemeralBlockDeviceArrayInput `pulumi:"ephemeralBlockDevices"` + IamInstanceProfile pulumi.StringPtrInput `pulumi:"iamInstanceProfile"` + IamInstanceProfileArn pulumi.StringPtrInput `pulumi:"iamInstanceProfileArn"` + // The type of instance to request. + InstanceType pulumi.StringInput `pulumi:"instanceType"` + KeyName pulumi.StringPtrInput `pulumi:"keyName"` + Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` + PlacementGroup pulumi.StringPtrInput `pulumi:"placementGroup"` + PlacementTenancy pulumi.StringPtrInput `pulumi:"placementTenancy"` + RootBlockDevices SpotFleetRequestLaunchSpecificationRootBlockDeviceArrayInput `pulumi:"rootBlockDevices"` // The maximum bid price per unit hour. SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"` - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` + // The subnet in which to launch the requested instance. + SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput `pulumi:"tags"` UserData pulumi.StringPtrInput `pulumi:"userData"` VpcSecurityGroupIds pulumi.StringArrayInput `pulumi:"vpcSecurityGroupIds"` - WeightedCapacity pulumi.StringPtrInput `pulumi:"weightedCapacity"` + // The capacity added to the fleet by a fulfilled request. + WeightedCapacity pulumi.StringPtrInput `pulumi:"weightedCapacity"` } func (SpotFleetRequestLaunchSpecificationArgs) ElementType() reflect.Type { @@ -25600,6 +26025,7 @@ func (o SpotFleetRequestLaunchSpecificationOutput) AssociatePublicIpAddress() pu return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) *bool { return v.AssociatePublicIpAddress }).(pulumi.BoolPtrOutput) } +// The availability zone in which to place the request. func (o SpotFleetRequestLaunchSpecificationOutput) AvailabilityZone() pulumi.StringPtrOutput { return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) *string { return v.AvailabilityZone }).(pulumi.StringPtrOutput) } @@ -25628,6 +26054,7 @@ func (o SpotFleetRequestLaunchSpecificationOutput) IamInstanceProfileArn() pulum return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) *string { return v.IamInstanceProfileArn }).(pulumi.StringPtrOutput) } +// The type of instance to request. func (o SpotFleetRequestLaunchSpecificationOutput) InstanceType() pulumi.StringOutput { return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) string { return v.InstanceType }).(pulumi.StringOutput) } @@ -25659,6 +26086,7 @@ func (o SpotFleetRequestLaunchSpecificationOutput) SpotPrice() pulumi.StringPtrO return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) *string { return v.SpotPrice }).(pulumi.StringPtrOutput) } +// The subnet in which to launch the requested instance. func (o SpotFleetRequestLaunchSpecificationOutput) SubnetId() pulumi.StringPtrOutput { return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) *string { return v.SubnetId }).(pulumi.StringPtrOutput) } @@ -25676,6 +26104,7 @@ func (o SpotFleetRequestLaunchSpecificationOutput) VpcSecurityGroupIds() pulumi. return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) []string { return v.VpcSecurityGroupIds }).(pulumi.StringArrayOutput) } +// The capacity added to the fleet by a fulfilled request. func (o SpotFleetRequestLaunchSpecificationOutput) WeightedCapacity() pulumi.StringPtrOutput { return o.ApplyT(func(v SpotFleetRequestLaunchSpecification) *string { return v.WeightedCapacity }).(pulumi.StringPtrOutput) } @@ -30198,7 +30627,7 @@ type SpotInstanceRequestMetadataOptions struct { HttpProtocolIpv6 *string `pulumi:"httpProtocolIpv6"` // Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`. HttpPutResponseHopLimit *int `pulumi:"httpPutResponseHopLimit"` - // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. + // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. HttpTokens *string `pulumi:"httpTokens"` // Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`. // @@ -30224,7 +30653,7 @@ type SpotInstanceRequestMetadataOptionsArgs struct { HttpProtocolIpv6 pulumi.StringPtrInput `pulumi:"httpProtocolIpv6"` // Desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Valid values are integer from `1` to `64`. Defaults to `1`. HttpPutResponseHopLimit pulumi.IntPtrInput `pulumi:"httpPutResponseHopLimit"` - // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. + // Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"` // Enables or disables access to instance tags from the instance metadata service. Valid values include `enabled` or `disabled`. Defaults to `disabled`. // @@ -30324,7 +30753,7 @@ func (o SpotInstanceRequestMetadataOptionsOutput) HttpPutResponseHopLimit() pulu return o.ApplyT(func(v SpotInstanceRequestMetadataOptions) *int { return v.HttpPutResponseHopLimit }).(pulumi.IntPtrOutput) } -// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. +// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. func (o SpotInstanceRequestMetadataOptionsOutput) HttpTokens() pulumi.StringPtrOutput { return o.ApplyT(func(v SpotInstanceRequestMetadataOptions) *string { return v.HttpTokens }).(pulumi.StringPtrOutput) } @@ -30390,7 +30819,7 @@ func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpPutResponseHopLimit() p }).(pulumi.IntPtrOutput) } -// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. Defaults to `optional`. +// Whether or not the metadata service requires session tokens, also referred to as _Instance Metadata Service Version 2 (IMDSv2)_. Valid values include `optional` or `required`. func (o SpotInstanceRequestMetadataOptionsPtrOutput) HttpTokens() pulumi.StringPtrOutput { return o.ApplyT(func(v *SpotInstanceRequestMetadataOptions) *string { if v == nil { @@ -31350,6 +31779,356 @@ func (o TrafficMirrorFilterRuleSourcePortRangePtrOutput) ToPort() pulumi.IntPtrO }).(pulumi.IntPtrOutput) } +type VpcBlockPublicAccessExclusionTimeouts 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"` + // 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. + Delete *string `pulumi:"delete"` + // 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). + Update *string `pulumi:"update"` +} + +// VpcBlockPublicAccessExclusionTimeoutsInput is an input type that accepts VpcBlockPublicAccessExclusionTimeoutsArgs and VpcBlockPublicAccessExclusionTimeoutsOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessExclusionTimeoutsInput` via: +// +// VpcBlockPublicAccessExclusionTimeoutsArgs{...} +type VpcBlockPublicAccessExclusionTimeoutsInput interface { + pulumi.Input + + ToVpcBlockPublicAccessExclusionTimeoutsOutput() VpcBlockPublicAccessExclusionTimeoutsOutput + ToVpcBlockPublicAccessExclusionTimeoutsOutputWithContext(context.Context) VpcBlockPublicAccessExclusionTimeoutsOutput +} + +type VpcBlockPublicAccessExclusionTimeoutsArgs 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 pulumi.StringPtrInput `pulumi:"create"` + // 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. + Delete pulumi.StringPtrInput `pulumi:"delete"` + // 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). + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (VpcBlockPublicAccessExclusionTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpcBlockPublicAccessExclusionTimeouts)(nil)).Elem() +} + +func (i VpcBlockPublicAccessExclusionTimeoutsArgs) ToVpcBlockPublicAccessExclusionTimeoutsOutput() VpcBlockPublicAccessExclusionTimeoutsOutput { + return i.ToVpcBlockPublicAccessExclusionTimeoutsOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessExclusionTimeoutsArgs) ToVpcBlockPublicAccessExclusionTimeoutsOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessExclusionTimeoutsOutput) +} + +func (i VpcBlockPublicAccessExclusionTimeoutsArgs) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutput() VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return i.ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessExclusionTimeoutsArgs) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessExclusionTimeoutsOutput).ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(ctx) +} + +// VpcBlockPublicAccessExclusionTimeoutsPtrInput is an input type that accepts VpcBlockPublicAccessExclusionTimeoutsArgs, VpcBlockPublicAccessExclusionTimeoutsPtr and VpcBlockPublicAccessExclusionTimeoutsPtrOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessExclusionTimeoutsPtrInput` via: +// +// VpcBlockPublicAccessExclusionTimeoutsArgs{...} +// +// or: +// +// nil +type VpcBlockPublicAccessExclusionTimeoutsPtrInput interface { + pulumi.Input + + ToVpcBlockPublicAccessExclusionTimeoutsPtrOutput() VpcBlockPublicAccessExclusionTimeoutsPtrOutput + ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(context.Context) VpcBlockPublicAccessExclusionTimeoutsPtrOutput +} + +type vpcBlockPublicAccessExclusionTimeoutsPtrType VpcBlockPublicAccessExclusionTimeoutsArgs + +func VpcBlockPublicAccessExclusionTimeoutsPtr(v *VpcBlockPublicAccessExclusionTimeoutsArgs) VpcBlockPublicAccessExclusionTimeoutsPtrInput { + return (*vpcBlockPublicAccessExclusionTimeoutsPtrType)(v) +} + +func (*vpcBlockPublicAccessExclusionTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessExclusionTimeouts)(nil)).Elem() +} + +func (i *vpcBlockPublicAccessExclusionTimeoutsPtrType) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutput() VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return i.ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *vpcBlockPublicAccessExclusionTimeoutsPtrType) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessExclusionTimeoutsPtrOutput) +} + +type VpcBlockPublicAccessExclusionTimeoutsOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessExclusionTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpcBlockPublicAccessExclusionTimeouts)(nil)).Elem() +} + +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) ToVpcBlockPublicAccessExclusionTimeoutsOutput() VpcBlockPublicAccessExclusionTimeoutsOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) ToVpcBlockPublicAccessExclusionTimeoutsOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionTimeoutsOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutput() VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return o.ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VpcBlockPublicAccessExclusionTimeouts) *VpcBlockPublicAccessExclusionTimeouts { + return &v + }).(VpcBlockPublicAccessExclusionTimeoutsPtrOutput) +} + +// 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). +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcBlockPublicAccessExclusionTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +// 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcBlockPublicAccessExclusionTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +// 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). +func (o VpcBlockPublicAccessExclusionTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcBlockPublicAccessExclusionTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type VpcBlockPublicAccessExclusionTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessExclusionTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessExclusionTimeouts)(nil)).Elem() +} + +func (o VpcBlockPublicAccessExclusionTimeoutsPtrOutput) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutput() VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionTimeoutsPtrOutput) ToVpcBlockPublicAccessExclusionTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionTimeoutsPtrOutput) Elem() VpcBlockPublicAccessExclusionTimeoutsOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusionTimeouts) VpcBlockPublicAccessExclusionTimeouts { + if v != nil { + return *v + } + var ret VpcBlockPublicAccessExclusionTimeouts + return ret + }).(VpcBlockPublicAccessExclusionTimeoutsOutput) +} + +// 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). +func (o VpcBlockPublicAccessExclusionTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusionTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +// 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. +func (o VpcBlockPublicAccessExclusionTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusionTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +// 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). +func (o VpcBlockPublicAccessExclusionTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusionTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type VpcBlockPublicAccessOptionsTimeouts 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"` + // 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. + Delete *string `pulumi:"delete"` + // 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). + Update *string `pulumi:"update"` +} + +// VpcBlockPublicAccessOptionsTimeoutsInput is an input type that accepts VpcBlockPublicAccessOptionsTimeoutsArgs and VpcBlockPublicAccessOptionsTimeoutsOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessOptionsTimeoutsInput` via: +// +// VpcBlockPublicAccessOptionsTimeoutsArgs{...} +type VpcBlockPublicAccessOptionsTimeoutsInput interface { + pulumi.Input + + ToVpcBlockPublicAccessOptionsTimeoutsOutput() VpcBlockPublicAccessOptionsTimeoutsOutput + ToVpcBlockPublicAccessOptionsTimeoutsOutputWithContext(context.Context) VpcBlockPublicAccessOptionsTimeoutsOutput +} + +type VpcBlockPublicAccessOptionsTimeoutsArgs 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 pulumi.StringPtrInput `pulumi:"create"` + // 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. + Delete pulumi.StringPtrInput `pulumi:"delete"` + // 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). + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (VpcBlockPublicAccessOptionsTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpcBlockPublicAccessOptionsTimeouts)(nil)).Elem() +} + +func (i VpcBlockPublicAccessOptionsTimeoutsArgs) ToVpcBlockPublicAccessOptionsTimeoutsOutput() VpcBlockPublicAccessOptionsTimeoutsOutput { + return i.ToVpcBlockPublicAccessOptionsTimeoutsOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessOptionsTimeoutsArgs) ToVpcBlockPublicAccessOptionsTimeoutsOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessOptionsTimeoutsOutput) +} + +func (i VpcBlockPublicAccessOptionsTimeoutsArgs) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutput() VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return i.ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessOptionsTimeoutsArgs) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessOptionsTimeoutsOutput).ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(ctx) +} + +// VpcBlockPublicAccessOptionsTimeoutsPtrInput is an input type that accepts VpcBlockPublicAccessOptionsTimeoutsArgs, VpcBlockPublicAccessOptionsTimeoutsPtr and VpcBlockPublicAccessOptionsTimeoutsPtrOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessOptionsTimeoutsPtrInput` via: +// +// VpcBlockPublicAccessOptionsTimeoutsArgs{...} +// +// or: +// +// nil +type VpcBlockPublicAccessOptionsTimeoutsPtrInput interface { + pulumi.Input + + ToVpcBlockPublicAccessOptionsTimeoutsPtrOutput() VpcBlockPublicAccessOptionsTimeoutsPtrOutput + ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(context.Context) VpcBlockPublicAccessOptionsTimeoutsPtrOutput +} + +type vpcBlockPublicAccessOptionsTimeoutsPtrType VpcBlockPublicAccessOptionsTimeoutsArgs + +func VpcBlockPublicAccessOptionsTimeoutsPtr(v *VpcBlockPublicAccessOptionsTimeoutsArgs) VpcBlockPublicAccessOptionsTimeoutsPtrInput { + return (*vpcBlockPublicAccessOptionsTimeoutsPtrType)(v) +} + +func (*vpcBlockPublicAccessOptionsTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessOptionsTimeouts)(nil)).Elem() +} + +func (i *vpcBlockPublicAccessOptionsTimeoutsPtrType) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutput() VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return i.ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *vpcBlockPublicAccessOptionsTimeoutsPtrType) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessOptionsTimeoutsPtrOutput) +} + +type VpcBlockPublicAccessOptionsTimeoutsOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessOptionsTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpcBlockPublicAccessOptionsTimeouts)(nil)).Elem() +} + +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) ToVpcBlockPublicAccessOptionsTimeoutsOutput() VpcBlockPublicAccessOptionsTimeoutsOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) ToVpcBlockPublicAccessOptionsTimeoutsOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsTimeoutsOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutput() VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return o.ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VpcBlockPublicAccessOptionsTimeouts) *VpcBlockPublicAccessOptionsTimeouts { + return &v + }).(VpcBlockPublicAccessOptionsTimeoutsPtrOutput) +} + +// 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). +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcBlockPublicAccessOptionsTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +// 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcBlockPublicAccessOptionsTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +// 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). +func (o VpcBlockPublicAccessOptionsTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcBlockPublicAccessOptionsTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type VpcBlockPublicAccessOptionsTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessOptionsTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessOptionsTimeouts)(nil)).Elem() +} + +func (o VpcBlockPublicAccessOptionsTimeoutsPtrOutput) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutput() VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsTimeoutsPtrOutput) ToVpcBlockPublicAccessOptionsTimeoutsPtrOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsTimeoutsPtrOutput) Elem() VpcBlockPublicAccessOptionsTimeoutsOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptionsTimeouts) VpcBlockPublicAccessOptionsTimeouts { + if v != nil { + return *v + } + var ret VpcBlockPublicAccessOptionsTimeouts + return ret + }).(VpcBlockPublicAccessOptionsTimeoutsOutput) +} + +// 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). +func (o VpcBlockPublicAccessOptionsTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptionsTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +// 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). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. +func (o VpcBlockPublicAccessOptionsTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptionsTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +// 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). +func (o VpcBlockPublicAccessOptionsTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptionsTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + type VpcEndpointDnsEntry struct { // The DNS name. DnsName *string `pulumi:"dnsName"` @@ -31736,6 +32515,118 @@ func (o VpcEndpointServicePrivateDnsNameConfigurationArrayOutput) Index(i pulumi }).(VpcEndpointServicePrivateDnsNameConfigurationOutput) } +type VpcEndpointSubnetConfiguration struct { + // The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4. + Ipv4 *string `pulumi:"ipv4"` + // The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6. + Ipv6 *string `pulumi:"ipv6"` + SubnetId *string `pulumi:"subnetId"` +} + +// VpcEndpointSubnetConfigurationInput is an input type that accepts VpcEndpointSubnetConfigurationArgs and VpcEndpointSubnetConfigurationOutput values. +// You can construct a concrete instance of `VpcEndpointSubnetConfigurationInput` via: +// +// VpcEndpointSubnetConfigurationArgs{...} +type VpcEndpointSubnetConfigurationInput interface { + pulumi.Input + + ToVpcEndpointSubnetConfigurationOutput() VpcEndpointSubnetConfigurationOutput + ToVpcEndpointSubnetConfigurationOutputWithContext(context.Context) VpcEndpointSubnetConfigurationOutput +} + +type VpcEndpointSubnetConfigurationArgs struct { + // The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4. + Ipv4 pulumi.StringPtrInput `pulumi:"ipv4"` + // The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6. + Ipv6 pulumi.StringPtrInput `pulumi:"ipv6"` + SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` +} + +func (VpcEndpointSubnetConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpcEndpointSubnetConfiguration)(nil)).Elem() +} + +func (i VpcEndpointSubnetConfigurationArgs) ToVpcEndpointSubnetConfigurationOutput() VpcEndpointSubnetConfigurationOutput { + return i.ToVpcEndpointSubnetConfigurationOutputWithContext(context.Background()) +} + +func (i VpcEndpointSubnetConfigurationArgs) ToVpcEndpointSubnetConfigurationOutputWithContext(ctx context.Context) VpcEndpointSubnetConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcEndpointSubnetConfigurationOutput) +} + +// VpcEndpointSubnetConfigurationArrayInput is an input type that accepts VpcEndpointSubnetConfigurationArray and VpcEndpointSubnetConfigurationArrayOutput values. +// You can construct a concrete instance of `VpcEndpointSubnetConfigurationArrayInput` via: +// +// VpcEndpointSubnetConfigurationArray{ VpcEndpointSubnetConfigurationArgs{...} } +type VpcEndpointSubnetConfigurationArrayInput interface { + pulumi.Input + + ToVpcEndpointSubnetConfigurationArrayOutput() VpcEndpointSubnetConfigurationArrayOutput + ToVpcEndpointSubnetConfigurationArrayOutputWithContext(context.Context) VpcEndpointSubnetConfigurationArrayOutput +} + +type VpcEndpointSubnetConfigurationArray []VpcEndpointSubnetConfigurationInput + +func (VpcEndpointSubnetConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpcEndpointSubnetConfiguration)(nil)).Elem() +} + +func (i VpcEndpointSubnetConfigurationArray) ToVpcEndpointSubnetConfigurationArrayOutput() VpcEndpointSubnetConfigurationArrayOutput { + return i.ToVpcEndpointSubnetConfigurationArrayOutputWithContext(context.Background()) +} + +func (i VpcEndpointSubnetConfigurationArray) ToVpcEndpointSubnetConfigurationArrayOutputWithContext(ctx context.Context) VpcEndpointSubnetConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcEndpointSubnetConfigurationArrayOutput) +} + +type VpcEndpointSubnetConfigurationOutput struct{ *pulumi.OutputState } + +func (VpcEndpointSubnetConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpcEndpointSubnetConfiguration)(nil)).Elem() +} + +func (o VpcEndpointSubnetConfigurationOutput) ToVpcEndpointSubnetConfigurationOutput() VpcEndpointSubnetConfigurationOutput { + return o +} + +func (o VpcEndpointSubnetConfigurationOutput) ToVpcEndpointSubnetConfigurationOutputWithContext(ctx context.Context) VpcEndpointSubnetConfigurationOutput { + return o +} + +// The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4. +func (o VpcEndpointSubnetConfigurationOutput) Ipv4() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcEndpointSubnetConfiguration) *string { return v.Ipv4 }).(pulumi.StringPtrOutput) +} + +// The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6. +func (o VpcEndpointSubnetConfigurationOutput) Ipv6() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcEndpointSubnetConfiguration) *string { return v.Ipv6 }).(pulumi.StringPtrOutput) +} + +func (o VpcEndpointSubnetConfigurationOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpcEndpointSubnetConfiguration) *string { return v.SubnetId }).(pulumi.StringPtrOutput) +} + +type VpcEndpointSubnetConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (VpcEndpointSubnetConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpcEndpointSubnetConfiguration)(nil)).Elem() +} + +func (o VpcEndpointSubnetConfigurationArrayOutput) ToVpcEndpointSubnetConfigurationArrayOutput() VpcEndpointSubnetConfigurationArrayOutput { + return o +} + +func (o VpcEndpointSubnetConfigurationArrayOutput) ToVpcEndpointSubnetConfigurationArrayOutputWithContext(ctx context.Context) VpcEndpointSubnetConfigurationArrayOutput { + return o +} + +func (o VpcEndpointSubnetConfigurationArrayOutput) Index(i pulumi.IntInput) VpcEndpointSubnetConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpcEndpointSubnetConfiguration { + return vs[0].([]VpcEndpointSubnetConfiguration)[vs[1].(int)] + }).(VpcEndpointSubnetConfigurationOutput) +} + type VpcIpamOperatingRegion struct { // The name of the Region you want to add to the IPAM. RegionName string `pulumi:"regionName"` @@ -32087,6 +32978,8 @@ func (o VpcIpamResourceDiscoveryOperatingRegionArrayOutput) Index(i pulumi.IntIn } type VpcPeeringConnectionAccepterType struct { + // Allow a local VPC to resolve public DNS hostnames to + // private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"` } @@ -32102,6 +32995,8 @@ type VpcPeeringConnectionAccepterTypeInput interface { } type VpcPeeringConnectionAccepterTypeArgs struct { + // Allow a local VPC to resolve public DNS hostnames to + // private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"` } @@ -32182,6 +33077,8 @@ func (o VpcPeeringConnectionAccepterTypeOutput) ToVpcPeeringConnectionAccepterTy }).(VpcPeeringConnectionAccepterTypePtrOutput) } +// Allow a local VPC to resolve public DNS hostnames to +// private IP addresses when queried from instances in the peer VPC. func (o VpcPeeringConnectionAccepterTypeOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v VpcPeeringConnectionAccepterType) *bool { return v.AllowRemoteVpcDnsResolution }).(pulumi.BoolPtrOutput) } @@ -32210,6 +33107,8 @@ func (o VpcPeeringConnectionAccepterTypePtrOutput) Elem() VpcPeeringConnectionAc }).(VpcPeeringConnectionAccepterTypeOutput) } +// Allow a local VPC to resolve public DNS hostnames to +// private IP addresses when queried from instances in the peer VPC. func (o VpcPeeringConnectionAccepterTypePtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v *VpcPeeringConnectionAccepterType) *bool { if v == nil { @@ -32502,6 +33401,8 @@ func (o VpcPeeringConnectionAccepterRequesterPtrOutput) AllowRemoteVpcDnsResolut } type VpcPeeringConnectionRequester struct { + // Allow a local VPC to resolve public DNS hostnames to + // private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution *bool `pulumi:"allowRemoteVpcDnsResolution"` } @@ -32517,6 +33418,8 @@ type VpcPeeringConnectionRequesterInput interface { } type VpcPeeringConnectionRequesterArgs struct { + // Allow a local VPC to resolve public DNS hostnames to + // private IP addresses when queried from instances in the peer VPC. AllowRemoteVpcDnsResolution pulumi.BoolPtrInput `pulumi:"allowRemoteVpcDnsResolution"` } @@ -32597,6 +33500,8 @@ func (o VpcPeeringConnectionRequesterOutput) ToVpcPeeringConnectionRequesterPtrO }).(VpcPeeringConnectionRequesterPtrOutput) } +// Allow a local VPC to resolve public DNS hostnames to +// private IP addresses when queried from instances in the peer VPC. func (o VpcPeeringConnectionRequesterOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v VpcPeeringConnectionRequester) *bool { return v.AllowRemoteVpcDnsResolution }).(pulumi.BoolPtrOutput) } @@ -32625,6 +33530,8 @@ func (o VpcPeeringConnectionRequesterPtrOutput) Elem() VpcPeeringConnectionReque }).(VpcPeeringConnectionRequesterOutput) } +// Allow a local VPC to resolve public DNS hostnames to +// private IP addresses when queried from instances in the peer VPC. func (o VpcPeeringConnectionRequesterPtrOutput) AllowRemoteVpcDnsResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v *VpcPeeringConnectionRequester) *bool { if v == nil { @@ -38867,29 +39774,30 @@ func (o GetLaunchTemplateInstanceMarketOptionSpotOptionArrayOutput) Index(i pulu } type GetLaunchTemplateInstanceRequirement struct { - AcceleratorCounts []GetLaunchTemplateInstanceRequirementAcceleratorCount `pulumi:"acceleratorCounts"` - AcceleratorManufacturers []string `pulumi:"acceleratorManufacturers"` - AcceleratorNames []string `pulumi:"acceleratorNames"` - AcceleratorTotalMemoryMibs []GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib `pulumi:"acceleratorTotalMemoryMibs"` - AcceleratorTypes []string `pulumi:"acceleratorTypes"` - AllowedInstanceTypes []string `pulumi:"allowedInstanceTypes"` - BareMetal string `pulumi:"bareMetal"` - BaselineEbsBandwidthMbps []GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp `pulumi:"baselineEbsBandwidthMbps"` - BurstablePerformance string `pulumi:"burstablePerformance"` - CpuManufacturers []string `pulumi:"cpuManufacturers"` - ExcludedInstanceTypes []string `pulumi:"excludedInstanceTypes"` - InstanceGenerations []string `pulumi:"instanceGenerations"` - LocalStorage string `pulumi:"localStorage"` - LocalStorageTypes []string `pulumi:"localStorageTypes"` - MemoryGibPerVcpus []GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus `pulumi:"memoryGibPerVcpus"` - MemoryMibs []GetLaunchTemplateInstanceRequirementMemoryMib `pulumi:"memoryMibs"` - NetworkBandwidthGbps []GetLaunchTemplateInstanceRequirementNetworkBandwidthGbp `pulumi:"networkBandwidthGbps"` - NetworkInterfaceCounts []GetLaunchTemplateInstanceRequirementNetworkInterfaceCount `pulumi:"networkInterfaceCounts"` - OnDemandMaxPricePercentageOverLowestPrice int `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` - RequireHibernateSupport bool `pulumi:"requireHibernateSupport"` - SpotMaxPricePercentageOverLowestPrice int `pulumi:"spotMaxPricePercentageOverLowestPrice"` - TotalLocalStorageGbs []GetLaunchTemplateInstanceRequirementTotalLocalStorageGb `pulumi:"totalLocalStorageGbs"` - VcpuCounts []GetLaunchTemplateInstanceRequirementVcpuCount `pulumi:"vcpuCounts"` + AcceleratorCounts []GetLaunchTemplateInstanceRequirementAcceleratorCount `pulumi:"acceleratorCounts"` + AcceleratorManufacturers []string `pulumi:"acceleratorManufacturers"` + AcceleratorNames []string `pulumi:"acceleratorNames"` + AcceleratorTotalMemoryMibs []GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib `pulumi:"acceleratorTotalMemoryMibs"` + AcceleratorTypes []string `pulumi:"acceleratorTypes"` + AllowedInstanceTypes []string `pulumi:"allowedInstanceTypes"` + BareMetal string `pulumi:"bareMetal"` + BaselineEbsBandwidthMbps []GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp `pulumi:"baselineEbsBandwidthMbps"` + BurstablePerformance string `pulumi:"burstablePerformance"` + CpuManufacturers []string `pulumi:"cpuManufacturers"` + ExcludedInstanceTypes []string `pulumi:"excludedInstanceTypes"` + InstanceGenerations []string `pulumi:"instanceGenerations"` + LocalStorage string `pulumi:"localStorage"` + LocalStorageTypes []string `pulumi:"localStorageTypes"` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice int `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` + MemoryGibPerVcpus []GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus `pulumi:"memoryGibPerVcpus"` + MemoryMibs []GetLaunchTemplateInstanceRequirementMemoryMib `pulumi:"memoryMibs"` + NetworkBandwidthGbps []GetLaunchTemplateInstanceRequirementNetworkBandwidthGbp `pulumi:"networkBandwidthGbps"` + NetworkInterfaceCounts []GetLaunchTemplateInstanceRequirementNetworkInterfaceCount `pulumi:"networkInterfaceCounts"` + OnDemandMaxPricePercentageOverLowestPrice int `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` + RequireHibernateSupport bool `pulumi:"requireHibernateSupport"` + SpotMaxPricePercentageOverLowestPrice int `pulumi:"spotMaxPricePercentageOverLowestPrice"` + TotalLocalStorageGbs []GetLaunchTemplateInstanceRequirementTotalLocalStorageGb `pulumi:"totalLocalStorageGbs"` + VcpuCounts []GetLaunchTemplateInstanceRequirementVcpuCount `pulumi:"vcpuCounts"` } // GetLaunchTemplateInstanceRequirementInput is an input type that accepts GetLaunchTemplateInstanceRequirementArgs and GetLaunchTemplateInstanceRequirementOutput values. @@ -38904,29 +39812,30 @@ type GetLaunchTemplateInstanceRequirementInput interface { } type GetLaunchTemplateInstanceRequirementArgs struct { - AcceleratorCounts GetLaunchTemplateInstanceRequirementAcceleratorCountArrayInput `pulumi:"acceleratorCounts"` - AcceleratorManufacturers pulumi.StringArrayInput `pulumi:"acceleratorManufacturers"` - AcceleratorNames pulumi.StringArrayInput `pulumi:"acceleratorNames"` - AcceleratorTotalMemoryMibs GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMibArrayInput `pulumi:"acceleratorTotalMemoryMibs"` - AcceleratorTypes pulumi.StringArrayInput `pulumi:"acceleratorTypes"` - AllowedInstanceTypes pulumi.StringArrayInput `pulumi:"allowedInstanceTypes"` - BareMetal pulumi.StringInput `pulumi:"bareMetal"` - BaselineEbsBandwidthMbps GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbpArrayInput `pulumi:"baselineEbsBandwidthMbps"` - BurstablePerformance pulumi.StringInput `pulumi:"burstablePerformance"` - CpuManufacturers pulumi.StringArrayInput `pulumi:"cpuManufacturers"` - ExcludedInstanceTypes pulumi.StringArrayInput `pulumi:"excludedInstanceTypes"` - InstanceGenerations pulumi.StringArrayInput `pulumi:"instanceGenerations"` - LocalStorage pulumi.StringInput `pulumi:"localStorage"` - LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` - MemoryGibPerVcpus GetLaunchTemplateInstanceRequirementMemoryGibPerVcpusArrayInput `pulumi:"memoryGibPerVcpus"` - MemoryMibs GetLaunchTemplateInstanceRequirementMemoryMibArrayInput `pulumi:"memoryMibs"` - NetworkBandwidthGbps GetLaunchTemplateInstanceRequirementNetworkBandwidthGbpArrayInput `pulumi:"networkBandwidthGbps"` - NetworkInterfaceCounts GetLaunchTemplateInstanceRequirementNetworkInterfaceCountArrayInput `pulumi:"networkInterfaceCounts"` - OnDemandMaxPricePercentageOverLowestPrice pulumi.IntInput `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` - RequireHibernateSupport pulumi.BoolInput `pulumi:"requireHibernateSupport"` - SpotMaxPricePercentageOverLowestPrice pulumi.IntInput `pulumi:"spotMaxPricePercentageOverLowestPrice"` - TotalLocalStorageGbs GetLaunchTemplateInstanceRequirementTotalLocalStorageGbArrayInput `pulumi:"totalLocalStorageGbs"` - VcpuCounts GetLaunchTemplateInstanceRequirementVcpuCountArrayInput `pulumi:"vcpuCounts"` + AcceleratorCounts GetLaunchTemplateInstanceRequirementAcceleratorCountArrayInput `pulumi:"acceleratorCounts"` + AcceleratorManufacturers pulumi.StringArrayInput `pulumi:"acceleratorManufacturers"` + AcceleratorNames pulumi.StringArrayInput `pulumi:"acceleratorNames"` + AcceleratorTotalMemoryMibs GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMibArrayInput `pulumi:"acceleratorTotalMemoryMibs"` + AcceleratorTypes pulumi.StringArrayInput `pulumi:"acceleratorTypes"` + AllowedInstanceTypes pulumi.StringArrayInput `pulumi:"allowedInstanceTypes"` + BareMetal pulumi.StringInput `pulumi:"bareMetal"` + BaselineEbsBandwidthMbps GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbpArrayInput `pulumi:"baselineEbsBandwidthMbps"` + BurstablePerformance pulumi.StringInput `pulumi:"burstablePerformance"` + CpuManufacturers pulumi.StringArrayInput `pulumi:"cpuManufacturers"` + ExcludedInstanceTypes pulumi.StringArrayInput `pulumi:"excludedInstanceTypes"` + InstanceGenerations pulumi.StringArrayInput `pulumi:"instanceGenerations"` + LocalStorage pulumi.StringInput `pulumi:"localStorage"` + LocalStorageTypes pulumi.StringArrayInput `pulumi:"localStorageTypes"` + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice pulumi.IntInput `pulumi:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice"` + MemoryGibPerVcpus GetLaunchTemplateInstanceRequirementMemoryGibPerVcpusArrayInput `pulumi:"memoryGibPerVcpus"` + MemoryMibs GetLaunchTemplateInstanceRequirementMemoryMibArrayInput `pulumi:"memoryMibs"` + NetworkBandwidthGbps GetLaunchTemplateInstanceRequirementNetworkBandwidthGbpArrayInput `pulumi:"networkBandwidthGbps"` + NetworkInterfaceCounts GetLaunchTemplateInstanceRequirementNetworkInterfaceCountArrayInput `pulumi:"networkInterfaceCounts"` + OnDemandMaxPricePercentageOverLowestPrice pulumi.IntInput `pulumi:"onDemandMaxPricePercentageOverLowestPrice"` + RequireHibernateSupport pulumi.BoolInput `pulumi:"requireHibernateSupport"` + SpotMaxPricePercentageOverLowestPrice pulumi.IntInput `pulumi:"spotMaxPricePercentageOverLowestPrice"` + TotalLocalStorageGbs GetLaunchTemplateInstanceRequirementTotalLocalStorageGbArrayInput `pulumi:"totalLocalStorageGbs"` + VcpuCounts GetLaunchTemplateInstanceRequirementVcpuCountArrayInput `pulumi:"vcpuCounts"` } func (GetLaunchTemplateInstanceRequirementArgs) ElementType() reflect.Type { @@ -39042,6 +39951,12 @@ func (o GetLaunchTemplateInstanceRequirementOutput) LocalStorageTypes() pulumi.S return o.ApplyT(func(v GetLaunchTemplateInstanceRequirement) []string { return v.LocalStorageTypes }).(pulumi.StringArrayOutput) } +func (o GetLaunchTemplateInstanceRequirementOutput) MaxSpotPriceAsPercentageOfOptimalOnDemandPrice() pulumi.IntOutput { + return o.ApplyT(func(v GetLaunchTemplateInstanceRequirement) int { + return v.MaxSpotPriceAsPercentageOfOptimalOnDemandPrice + }).(pulumi.IntOutput) +} + func (o GetLaunchTemplateInstanceRequirementOutput) MemoryGibPerVcpus() GetLaunchTemplateInstanceRequirementMemoryGibPerVcpusArrayOutput { return o.ApplyT(func(v GetLaunchTemplateInstanceRequirement) []GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus { return v.MemoryGibPerVcpus @@ -40427,6 +41342,7 @@ type GetLaunchTemplateNetworkInterface struct { Ipv6Prefixes []string `pulumi:"ipv6Prefixes"` NetworkCardIndex int `pulumi:"networkCardIndex"` NetworkInterfaceId string `pulumi:"networkInterfaceId"` + PrimaryIpv6 string `pulumi:"primaryIpv6"` PrivateIpAddress string `pulumi:"privateIpAddress"` SecurityGroups []string `pulumi:"securityGroups"` SubnetId string `pulumi:"subnetId"` @@ -40460,6 +41376,7 @@ type GetLaunchTemplateNetworkInterfaceArgs struct { Ipv6Prefixes pulumi.StringArrayInput `pulumi:"ipv6Prefixes"` NetworkCardIndex pulumi.IntInput `pulumi:"networkCardIndex"` NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"` + PrimaryIpv6 pulumi.StringInput `pulumi:"primaryIpv6"` PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"` SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` SubnetId pulumi.StringInput `pulumi:"subnetId"` @@ -40580,6 +41497,10 @@ func (o GetLaunchTemplateNetworkInterfaceOutput) NetworkInterfaceId() pulumi.Str return o.ApplyT(func(v GetLaunchTemplateNetworkInterface) string { return v.NetworkInterfaceId }).(pulumi.StringOutput) } +func (o GetLaunchTemplateNetworkInterfaceOutput) PrimaryIpv6() pulumi.StringOutput { + return o.ApplyT(func(v GetLaunchTemplateNetworkInterface) string { return v.PrimaryIpv6 }).(pulumi.StringOutput) +} + func (o GetLaunchTemplateNetworkInterfaceOutput) PrivateIpAddress() pulumi.StringOutput { return o.ApplyT(func(v GetLaunchTemplateNetworkInterface) string { return v.PrivateIpAddress }).(pulumi.StringOutput) } @@ -42923,8 +43844,9 @@ func (o GetNetworkInsightsAnalysisExplanationArrayOutput) Index(i pulumi.IntInpu type GetNetworkInsightsAnalysisExplanationAcl struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -42941,8 +43863,9 @@ type GetNetworkInsightsAnalysisExplanationAclInput interface { type GetNetworkInsightsAnalysisExplanationAclArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43006,6 +43929,7 @@ func (o GetNetworkInsightsAnalysisExplanationAclOutput) Id() pulumi.StringOutput return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationAcl) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationAclOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationAcl) string { return v.Name }).(pulumi.StringOutput) } @@ -43258,8 +44182,9 @@ func (o GetNetworkInsightsAnalysisExplanationAclRulePortRangeArrayOutput) Index( type GetNetworkInsightsAnalysisExplanationAttachedTo struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -43276,8 +44201,9 @@ type GetNetworkInsightsAnalysisExplanationAttachedToInput interface { type GetNetworkInsightsAnalysisExplanationAttachedToArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43341,6 +44267,7 @@ func (o GetNetworkInsightsAnalysisExplanationAttachedToOutput) Id() pulumi.Strin return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationAttachedTo) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationAttachedToOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationAttachedTo) string { return v.Name }).(pulumi.StringOutput) } @@ -43469,8 +44396,9 @@ func (o GetNetworkInsightsAnalysisExplanationClassicLoadBalancerListenerArrayOut type GetNetworkInsightsAnalysisExplanationComponent struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -43487,8 +44415,9 @@ type GetNetworkInsightsAnalysisExplanationComponentInput interface { type GetNetworkInsightsAnalysisExplanationComponentArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43552,6 +44481,7 @@ func (o GetNetworkInsightsAnalysisExplanationComponentOutput) Id() pulumi.String return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationComponent) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationComponentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationComponent) string { return v.Name }).(pulumi.StringOutput) } @@ -43578,8 +44508,9 @@ func (o GetNetworkInsightsAnalysisExplanationComponentArrayOutput) Index(i pulum type GetNetworkInsightsAnalysisExplanationCustomerGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -43596,8 +44527,9 @@ type GetNetworkInsightsAnalysisExplanationCustomerGatewayInput interface { type GetNetworkInsightsAnalysisExplanationCustomerGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43661,6 +44593,7 @@ func (o GetNetworkInsightsAnalysisExplanationCustomerGatewayOutput) Id() pulumi. return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationCustomerGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationCustomerGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationCustomerGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -43687,8 +44620,9 @@ func (o GetNetworkInsightsAnalysisExplanationCustomerGatewayArrayOutput) Index(i type GetNetworkInsightsAnalysisExplanationDestination struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -43705,8 +44639,9 @@ type GetNetworkInsightsAnalysisExplanationDestinationInput interface { type GetNetworkInsightsAnalysisExplanationDestinationArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43770,6 +44705,7 @@ func (o GetNetworkInsightsAnalysisExplanationDestinationOutput) Id() pulumi.Stri return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationDestination) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationDestinationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationDestination) string { return v.Name }).(pulumi.StringOutput) } @@ -43796,8 +44732,9 @@ func (o GetNetworkInsightsAnalysisExplanationDestinationArrayOutput) Index(i pul type GetNetworkInsightsAnalysisExplanationDestinationVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -43814,8 +44751,9 @@ type GetNetworkInsightsAnalysisExplanationDestinationVpcInput interface { type GetNetworkInsightsAnalysisExplanationDestinationVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43879,6 +44817,7 @@ func (o GetNetworkInsightsAnalysisExplanationDestinationVpcOutput) Id() pulumi.S return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationDestinationVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationDestinationVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationDestinationVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -43905,8 +44844,9 @@ func (o GetNetworkInsightsAnalysisExplanationDestinationVpcArrayOutput) Index(i type GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListener struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -43923,8 +44863,9 @@ type GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListenerInput inter type GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListenerArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -43988,6 +44929,7 @@ func (o GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListenerOutput) return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListener) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListenerOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListener) string { return v.Name }).(pulumi.StringOutput) } @@ -44014,8 +44956,9 @@ func (o GetNetworkInsightsAnalysisExplanationElasticLoadBalancerListenerArrayOut type GetNetworkInsightsAnalysisExplanationIngressRouteTable struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44032,8 +44975,9 @@ type GetNetworkInsightsAnalysisExplanationIngressRouteTableInput interface { type GetNetworkInsightsAnalysisExplanationIngressRouteTableArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44097,6 +45041,7 @@ func (o GetNetworkInsightsAnalysisExplanationIngressRouteTableOutput) Id() pulum return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationIngressRouteTable) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationIngressRouteTableOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationIngressRouteTable) string { return v.Name }).(pulumi.StringOutput) } @@ -44123,8 +45068,9 @@ func (o GetNetworkInsightsAnalysisExplanationIngressRouteTableArrayOutput) Index type GetNetworkInsightsAnalysisExplanationInternetGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44141,8 +45087,9 @@ type GetNetworkInsightsAnalysisExplanationInternetGatewayInput interface { type GetNetworkInsightsAnalysisExplanationInternetGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44206,6 +45153,7 @@ func (o GetNetworkInsightsAnalysisExplanationInternetGatewayOutput) Id() pulumi. return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationInternetGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationInternetGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationInternetGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -44232,8 +45180,9 @@ func (o GetNetworkInsightsAnalysisExplanationInternetGatewayArrayOutput) Index(i type GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroup struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44250,8 +45199,9 @@ type GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroupInput interface type GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroupArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44315,6 +45265,7 @@ func (o GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroupOutput) Id() return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroup) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroupOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroup) string { return v.Name }).(pulumi.StringOutput) } @@ -44341,8 +45292,9 @@ func (o GetNetworkInsightsAnalysisExplanationLoadBalancerTargetGroupArrayOutput) type GetNetworkInsightsAnalysisExplanationNatGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44359,8 +45311,9 @@ type GetNetworkInsightsAnalysisExplanationNatGatewayInput interface { type GetNetworkInsightsAnalysisExplanationNatGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44424,6 +45377,7 @@ func (o GetNetworkInsightsAnalysisExplanationNatGatewayOutput) Id() pulumi.Strin return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationNatGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationNatGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationNatGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -44450,8 +45404,9 @@ func (o GetNetworkInsightsAnalysisExplanationNatGatewayArrayOutput) Index(i pulu type GetNetworkInsightsAnalysisExplanationNetworkInterface struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44468,8 +45423,9 @@ type GetNetworkInsightsAnalysisExplanationNetworkInterfaceInput interface { type GetNetworkInsightsAnalysisExplanationNetworkInterfaceArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44533,6 +45489,7 @@ func (o GetNetworkInsightsAnalysisExplanationNetworkInterfaceOutput) Id() pulumi return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationNetworkInterface) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationNetworkInterfaceOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationNetworkInterface) string { return v.Name }).(pulumi.StringOutput) } @@ -44659,8 +45616,9 @@ func (o GetNetworkInsightsAnalysisExplanationPortRangeArrayOutput) Index(i pulum type GetNetworkInsightsAnalysisExplanationPrefixList struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44677,8 +45635,9 @@ type GetNetworkInsightsAnalysisExplanationPrefixListInput interface { type GetNetworkInsightsAnalysisExplanationPrefixListArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44742,6 +45701,7 @@ func (o GetNetworkInsightsAnalysisExplanationPrefixListOutput) Id() pulumi.Strin return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationPrefixList) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationPrefixListOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationPrefixList) string { return v.Name }).(pulumi.StringOutput) } @@ -44768,8 +45728,9 @@ func (o GetNetworkInsightsAnalysisExplanationPrefixListArrayOutput) Index(i pulu type GetNetworkInsightsAnalysisExplanationRouteTable struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -44786,8 +45747,9 @@ type GetNetworkInsightsAnalysisExplanationRouteTableInput interface { type GetNetworkInsightsAnalysisExplanationRouteTableArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -44851,6 +45813,7 @@ func (o GetNetworkInsightsAnalysisExplanationRouteTableOutput) Id() pulumi.Strin return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationRouteTable) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationRouteTableOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationRouteTable) string { return v.Name }).(pulumi.StringOutput) } @@ -45027,8 +45990,9 @@ func (o GetNetworkInsightsAnalysisExplanationRouteTableRouteArrayOutput) Index(i type GetNetworkInsightsAnalysisExplanationSecurityGroup struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45045,8 +46009,9 @@ type GetNetworkInsightsAnalysisExplanationSecurityGroupInput interface { type GetNetworkInsightsAnalysisExplanationSecurityGroupArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45110,6 +46075,7 @@ func (o GetNetworkInsightsAnalysisExplanationSecurityGroupOutput) Id() pulumi.St return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSecurityGroup) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationSecurityGroupOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSecurityGroup) string { return v.Name }).(pulumi.StringOutput) } @@ -45362,8 +46328,9 @@ func (o GetNetworkInsightsAnalysisExplanationSecurityGroupRulePortRangeArrayOutp type GetNetworkInsightsAnalysisExplanationSourceVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45380,8 +46347,9 @@ type GetNetworkInsightsAnalysisExplanationSourceVpcInput interface { type GetNetworkInsightsAnalysisExplanationSourceVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45445,6 +46413,7 @@ func (o GetNetworkInsightsAnalysisExplanationSourceVpcOutput) Id() pulumi.String return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSourceVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationSourceVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSourceVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -45471,8 +46440,9 @@ func (o GetNetworkInsightsAnalysisExplanationSourceVpcArrayOutput) Index(i pulum type GetNetworkInsightsAnalysisExplanationSubnet struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45489,8 +46459,9 @@ type GetNetworkInsightsAnalysisExplanationSubnetInput interface { type GetNetworkInsightsAnalysisExplanationSubnetArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45554,6 +46525,7 @@ func (o GetNetworkInsightsAnalysisExplanationSubnetOutput) Id() pulumi.StringOut return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSubnet) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationSubnetOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSubnet) string { return v.Name }).(pulumi.StringOutput) } @@ -45580,8 +46552,9 @@ func (o GetNetworkInsightsAnalysisExplanationSubnetArrayOutput) Index(i pulumi.I type GetNetworkInsightsAnalysisExplanationSubnetRouteTable struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45598,8 +46571,9 @@ type GetNetworkInsightsAnalysisExplanationSubnetRouteTableInput interface { type GetNetworkInsightsAnalysisExplanationSubnetRouteTableArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45663,6 +46637,7 @@ func (o GetNetworkInsightsAnalysisExplanationSubnetRouteTableOutput) Id() pulumi return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSubnetRouteTable) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationSubnetRouteTableOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationSubnetRouteTable) string { return v.Name }).(pulumi.StringOutput) } @@ -45689,8 +46664,9 @@ func (o GetNetworkInsightsAnalysisExplanationSubnetRouteTableArrayOutput) Index( type GetNetworkInsightsAnalysisExplanationTransitGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45707,8 +46683,9 @@ type GetNetworkInsightsAnalysisExplanationTransitGatewayInput interface { type GetNetworkInsightsAnalysisExplanationTransitGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45772,6 +46749,7 @@ func (o GetNetworkInsightsAnalysisExplanationTransitGatewayOutput) Id() pulumi.S return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationTransitGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationTransitGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationTransitGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -45798,8 +46776,9 @@ func (o GetNetworkInsightsAnalysisExplanationTransitGatewayArrayOutput) Index(i type GetNetworkInsightsAnalysisExplanationTransitGatewayAttachment struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45816,8 +46795,9 @@ type GetNetworkInsightsAnalysisExplanationTransitGatewayAttachmentInput interfac type GetNetworkInsightsAnalysisExplanationTransitGatewayAttachmentArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45881,6 +46861,7 @@ func (o GetNetworkInsightsAnalysisExplanationTransitGatewayAttachmentOutput) Id( return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationTransitGatewayAttachment) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationTransitGatewayAttachmentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationTransitGatewayAttachment) string { return v.Name }).(pulumi.StringOutput) } @@ -45907,8 +46888,9 @@ func (o GetNetworkInsightsAnalysisExplanationTransitGatewayAttachmentArrayOutput type GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTable struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -45925,8 +46907,9 @@ type GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTableInput interfac type GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTableArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -45990,6 +46973,7 @@ func (o GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTableOutput) Id( return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTable) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTableOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTable) string { return v.Name }).(pulumi.StringOutput) } @@ -46156,8 +47140,9 @@ func (o GetNetworkInsightsAnalysisExplanationTransitGatewayRouteTableRouteArrayO type GetNetworkInsightsAnalysisExplanationVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -46174,8 +47159,9 @@ type GetNetworkInsightsAnalysisExplanationVpcInput interface { type GetNetworkInsightsAnalysisExplanationVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -46239,6 +47225,7 @@ func (o GetNetworkInsightsAnalysisExplanationVpcOutput) Id() pulumi.StringOutput return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -46265,8 +47252,9 @@ func (o GetNetworkInsightsAnalysisExplanationVpcArrayOutput) Index(i pulumi.IntI type GetNetworkInsightsAnalysisExplanationVpcEndpoint struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -46283,8 +47271,9 @@ type GetNetworkInsightsAnalysisExplanationVpcEndpointInput interface { type GetNetworkInsightsAnalysisExplanationVpcEndpointArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -46348,6 +47337,7 @@ func (o GetNetworkInsightsAnalysisExplanationVpcEndpointOutput) Id() pulumi.Stri return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpcEndpoint) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationVpcEndpointOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpcEndpoint) string { return v.Name }).(pulumi.StringOutput) } @@ -46374,8 +47364,9 @@ func (o GetNetworkInsightsAnalysisExplanationVpcEndpointArrayOutput) Index(i pul type GetNetworkInsightsAnalysisExplanationVpcPeeringConnection struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -46392,8 +47383,9 @@ type GetNetworkInsightsAnalysisExplanationVpcPeeringConnectionInput interface { type GetNetworkInsightsAnalysisExplanationVpcPeeringConnectionArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -46457,6 +47449,7 @@ func (o GetNetworkInsightsAnalysisExplanationVpcPeeringConnectionOutput) Id() pu return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpcPeeringConnection) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationVpcPeeringConnectionOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpcPeeringConnection) string { return v.Name }).(pulumi.StringOutput) } @@ -46483,8 +47476,9 @@ func (o GetNetworkInsightsAnalysisExplanationVpcPeeringConnectionArrayOutput) In type GetNetworkInsightsAnalysisExplanationVpnConnection struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -46501,8 +47495,9 @@ type GetNetworkInsightsAnalysisExplanationVpnConnectionInput interface { type GetNetworkInsightsAnalysisExplanationVpnConnectionArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -46566,6 +47561,7 @@ func (o GetNetworkInsightsAnalysisExplanationVpnConnectionOutput) Id() pulumi.St return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpnConnection) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationVpnConnectionOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpnConnection) string { return v.Name }).(pulumi.StringOutput) } @@ -46592,8 +47588,9 @@ func (o GetNetworkInsightsAnalysisExplanationVpnConnectionArrayOutput) Index(i p type GetNetworkInsightsAnalysisExplanationVpnGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -46610,8 +47607,9 @@ type GetNetworkInsightsAnalysisExplanationVpnGatewayInput interface { type GetNetworkInsightsAnalysisExplanationVpnGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -46675,6 +47673,7 @@ func (o GetNetworkInsightsAnalysisExplanationVpnGatewayOutput) Id() pulumi.Strin return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpnGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisExplanationVpnGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisExplanationVpnGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -47343,8 +48342,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailArrayOutpu type GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponent struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -47361,8 +48361,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponentInpu type GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponentArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -47426,6 +48427,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponentO return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponent) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponent) string { return v.Name }).(pulumi.StringOutput) } @@ -47452,8 +48454,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentAdditionalDetailComponentA type GetNetworkInsightsAnalysisForwardPathComponentAttachedTo struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -47470,8 +48473,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentAttachedToInput interface { type GetNetworkInsightsAnalysisForwardPathComponentAttachedToArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -47535,6 +48539,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentAttachedToOutput) Id() pul return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentAttachedTo) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentAttachedToOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentAttachedTo) string { return v.Name }).(pulumi.StringOutput) } @@ -47561,8 +48566,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentAttachedToArrayOutput) Ind type GetNetworkInsightsAnalysisForwardPathComponentComponent struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -47579,8 +48585,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentComponentInput interface { type GetNetworkInsightsAnalysisForwardPathComponentComponentArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -47644,6 +48651,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentComponentOutput) Id() pulu return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentComponent) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentComponentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentComponent) string { return v.Name }).(pulumi.StringOutput) } @@ -47670,8 +48678,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentComponentArrayOutput) Inde type GetNetworkInsightsAnalysisForwardPathComponentDestinationVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -47688,8 +48697,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentDestinationVpcInput interface type GetNetworkInsightsAnalysisForwardPathComponentDestinationVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -47753,6 +48763,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentDestinationVpcOutput) Id() return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentDestinationVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentDestinationVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentDestinationVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -48823,8 +49834,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRange type GetNetworkInsightsAnalysisForwardPathComponentSourceVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -48841,8 +49853,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentSourceVpcInput interface { type GetNetworkInsightsAnalysisForwardPathComponentSourceVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -48906,6 +49919,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentSourceVpcOutput) Id() pulu return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentSourceVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentSourceVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentSourceVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -48932,8 +49946,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentSourceVpcArrayOutput) Inde type GetNetworkInsightsAnalysisForwardPathComponentSubnet struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -48950,8 +49965,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentSubnetInput interface { type GetNetworkInsightsAnalysisForwardPathComponentSubnetArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -49015,6 +50031,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentSubnetOutput) Id() pulumi. return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentSubnet) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentSubnetOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentSubnet) string { return v.Name }).(pulumi.StringOutput) } @@ -49041,8 +50058,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentSubnetArrayOutput) Index(i type GetNetworkInsightsAnalysisForwardPathComponentTransitGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -49059,8 +50077,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayInput interface type GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -49124,6 +50143,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayOutput) Id() return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentTransitGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentTransitGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -49294,8 +50314,9 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRo type GetNetworkInsightsAnalysisForwardPathComponentVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -49312,8 +50333,9 @@ type GetNetworkInsightsAnalysisForwardPathComponentVpcInput interface { type GetNetworkInsightsAnalysisForwardPathComponentVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -49377,6 +50399,7 @@ func (o GetNetworkInsightsAnalysisForwardPathComponentVpcOutput) Id() pulumi.Str return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisForwardPathComponentVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisForwardPathComponentVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -49939,8 +50962,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailArrayOutput type GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponent struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -49957,8 +50981,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponentInput type GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponentArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -50022,6 +51047,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponentOu return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponent) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponent) string { return v.Name }).(pulumi.StringOutput) } @@ -50048,8 +51074,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentAdditionalDetailComponentAr type GetNetworkInsightsAnalysisReturnPathComponentAttachedTo struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -50066,8 +51093,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentAttachedToInput interface { type GetNetworkInsightsAnalysisReturnPathComponentAttachedToArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -50131,6 +51159,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentAttachedToOutput) Id() pulu return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentAttachedTo) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentAttachedToOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentAttachedTo) string { return v.Name }).(pulumi.StringOutput) } @@ -50157,8 +51186,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentAttachedToArrayOutput) Inde type GetNetworkInsightsAnalysisReturnPathComponentComponent struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -50175,8 +51205,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentComponentInput interface { type GetNetworkInsightsAnalysisReturnPathComponentComponentArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -50240,6 +51271,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentComponentOutput) Id() pulum return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentComponent) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentComponentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentComponent) string { return v.Name }).(pulumi.StringOutput) } @@ -50266,8 +51298,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentComponentArrayOutput) Index type GetNetworkInsightsAnalysisReturnPathComponentDestinationVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -50284,8 +51317,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentDestinationVpcInput interface type GetNetworkInsightsAnalysisReturnPathComponentDestinationVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -50349,6 +51383,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentDestinationVpcOutput) Id() return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentDestinationVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentDestinationVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentDestinationVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -51415,8 +52450,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentSecurityGroupRulePortRangeA type GetNetworkInsightsAnalysisReturnPathComponentSourceVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -51433,8 +52469,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentSourceVpcInput interface { type GetNetworkInsightsAnalysisReturnPathComponentSourceVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -51498,6 +52535,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentSourceVpcOutput) Id() pulum return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentSourceVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentSourceVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentSourceVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -51524,8 +52562,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentSourceVpcArrayOutput) Index type GetNetworkInsightsAnalysisReturnPathComponentSubnet struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -51542,8 +52581,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentSubnetInput interface { type GetNetworkInsightsAnalysisReturnPathComponentSubnetArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -51607,6 +52647,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentSubnetOutput) Id() pulumi.S return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentSubnet) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentSubnetOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentSubnet) string { return v.Name }).(pulumi.StringOutput) } @@ -51633,8 +52674,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentSubnetArrayOutput) Index(i type GetNetworkInsightsAnalysisReturnPathComponentTransitGateway struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -51651,8 +52693,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentTransitGatewayInput interface type GetNetworkInsightsAnalysisReturnPathComponentTransitGatewayArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -51716,6 +52759,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentTransitGatewayOutput) Id() return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentTransitGateway) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentTransitGatewayOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentTransitGateway) string { return v.Name }).(pulumi.StringOutput) } @@ -51886,8 +52930,9 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentTransitGatewayRouteTableRou type GetNetworkInsightsAnalysisReturnPathComponentVpc struct { // ARN of the selected Network Insights Analysis. - Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + Arn string `pulumi:"arn"` + Id string `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name string `pulumi:"name"` } @@ -51904,8 +52949,9 @@ type GetNetworkInsightsAnalysisReturnPathComponentVpcInput interface { type GetNetworkInsightsAnalysisReturnPathComponentVpcArgs struct { // ARN of the selected Network Insights Analysis. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + Id pulumi.StringInput `pulumi:"id"` + // Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. Name pulumi.StringInput `pulumi:"name"` } @@ -51969,6 +53015,7 @@ func (o GetNetworkInsightsAnalysisReturnPathComponentVpcOutput) Id() pulumi.Stri return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentVpc) string { return v.Id }).(pulumi.StringOutput) } +// Name of the filter field. Valid values can be found in the EC2 [`DescribeNetworkInsightsAnalyses`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeNetworkInsightsAnalyses.html) API Reference. func (o GetNetworkInsightsAnalysisReturnPathComponentVpcOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkInsightsAnalysisReturnPathComponentVpc) string { return v.Name }).(pulumi.StringOutput) } @@ -57137,6 +58184,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AmiFromInstanceEbsBlockDeviceArrayInput)(nil)).Elem(), AmiFromInstanceEbsBlockDeviceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AmiFromInstanceEphemeralBlockDeviceInput)(nil)).Elem(), AmiFromInstanceEphemeralBlockDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AmiFromInstanceEphemeralBlockDeviceArrayInput)(nil)).Elem(), AmiFromInstanceEphemeralBlockDeviceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacityBlockReservationTimeoutsInput)(nil)).Elem(), CapacityBlockReservationTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CapacityBlockReservationTimeoutsPtrInput)(nil)).Elem(), CapacityBlockReservationTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DefaultNetworkAclEgressInput)(nil)).Elem(), DefaultNetworkAclEgressArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DefaultNetworkAclEgressArrayInput)(nil)).Elem(), DefaultNetworkAclEgressArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DefaultNetworkAclIngressInput)(nil)).Elem(), DefaultNetworkAclIngressArgs{}) @@ -57179,6 +58228,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCountPtrInput)(nil)).Elem(), FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FleetOnDemandOptionsInput)(nil)).Elem(), FleetOnDemandOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FleetOnDemandOptionsPtrInput)(nil)).Elem(), FleetOnDemandOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*FleetOnDemandOptionsCapacityReservationOptionsInput)(nil)).Elem(), FleetOnDemandOptionsCapacityReservationOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*FleetOnDemandOptionsCapacityReservationOptionsPtrInput)(nil)).Elem(), FleetOnDemandOptionsCapacityReservationOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FleetSpotOptionsInput)(nil)).Elem(), FleetSpotOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FleetSpotOptionsPtrInput)(nil)).Elem(), FleetSpotOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*FleetSpotOptionsMaintenanceStrategiesInput)(nil)).Elem(), FleetSpotOptionsMaintenanceStrategiesArgs{}) @@ -57534,12 +58585,18 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*TrafficMirrorFilterRuleDestinationPortRangePtrInput)(nil)).Elem(), TrafficMirrorFilterRuleDestinationPortRangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrafficMirrorFilterRuleSourcePortRangeInput)(nil)).Elem(), TrafficMirrorFilterRuleSourcePortRangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrafficMirrorFilterRuleSourcePortRangePtrInput)(nil)).Elem(), TrafficMirrorFilterRuleSourcePortRangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessExclusionTimeoutsInput)(nil)).Elem(), VpcBlockPublicAccessExclusionTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessExclusionTimeoutsPtrInput)(nil)).Elem(), VpcBlockPublicAccessExclusionTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessOptionsTimeoutsInput)(nil)).Elem(), VpcBlockPublicAccessOptionsTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessOptionsTimeoutsPtrInput)(nil)).Elem(), VpcBlockPublicAccessOptionsTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsEntryInput)(nil)).Elem(), VpcEndpointDnsEntryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsEntryArrayInput)(nil)).Elem(), VpcEndpointDnsEntryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsOptionsInput)(nil)).Elem(), VpcEndpointDnsOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsOptionsPtrInput)(nil)).Elem(), VpcEndpointDnsOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointServicePrivateDnsNameConfigurationInput)(nil)).Elem(), VpcEndpointServicePrivateDnsNameConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointServicePrivateDnsNameConfigurationArrayInput)(nil)).Elem(), VpcEndpointServicePrivateDnsNameConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointSubnetConfigurationInput)(nil)).Elem(), VpcEndpointSubnetConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointSubnetConfigurationArrayInput)(nil)).Elem(), VpcEndpointSubnetConfigurationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcIpamOperatingRegionInput)(nil)).Elem(), VpcIpamOperatingRegionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcIpamOperatingRegionArrayInput)(nil)).Elem(), VpcIpamOperatingRegionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcIpamPoolCidrCidrAuthorizationContextInput)(nil)).Elem(), VpcIpamPoolCidrCidrAuthorizationContextArgs{}) @@ -57984,6 +59041,8 @@ func init() { pulumi.RegisterOutputType(AmiFromInstanceEbsBlockDeviceArrayOutput{}) pulumi.RegisterOutputType(AmiFromInstanceEphemeralBlockDeviceOutput{}) pulumi.RegisterOutputType(AmiFromInstanceEphemeralBlockDeviceArrayOutput{}) + pulumi.RegisterOutputType(CapacityBlockReservationTimeoutsOutput{}) + pulumi.RegisterOutputType(CapacityBlockReservationTimeoutsPtrOutput{}) pulumi.RegisterOutputType(DefaultNetworkAclEgressOutput{}) pulumi.RegisterOutputType(DefaultNetworkAclEgressArrayOutput{}) pulumi.RegisterOutputType(DefaultNetworkAclIngressOutput{}) @@ -58026,6 +59085,8 @@ func init() { pulumi.RegisterOutputType(FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCountPtrOutput{}) pulumi.RegisterOutputType(FleetOnDemandOptionsOutput{}) pulumi.RegisterOutputType(FleetOnDemandOptionsPtrOutput{}) + pulumi.RegisterOutputType(FleetOnDemandOptionsCapacityReservationOptionsOutput{}) + pulumi.RegisterOutputType(FleetOnDemandOptionsCapacityReservationOptionsPtrOutput{}) pulumi.RegisterOutputType(FleetSpotOptionsOutput{}) pulumi.RegisterOutputType(FleetSpotOptionsPtrOutput{}) pulumi.RegisterOutputType(FleetSpotOptionsMaintenanceStrategiesOutput{}) @@ -58381,12 +59442,18 @@ func init() { pulumi.RegisterOutputType(TrafficMirrorFilterRuleDestinationPortRangePtrOutput{}) pulumi.RegisterOutputType(TrafficMirrorFilterRuleSourcePortRangeOutput{}) pulumi.RegisterOutputType(TrafficMirrorFilterRuleSourcePortRangePtrOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessExclusionTimeoutsOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessExclusionTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessOptionsTimeoutsOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessOptionsTimeoutsPtrOutput{}) pulumi.RegisterOutputType(VpcEndpointDnsEntryOutput{}) pulumi.RegisterOutputType(VpcEndpointDnsEntryArrayOutput{}) pulumi.RegisterOutputType(VpcEndpointDnsOptionsOutput{}) pulumi.RegisterOutputType(VpcEndpointDnsOptionsPtrOutput{}) pulumi.RegisterOutputType(VpcEndpointServicePrivateDnsNameConfigurationOutput{}) pulumi.RegisterOutputType(VpcEndpointServicePrivateDnsNameConfigurationArrayOutput{}) + pulumi.RegisterOutputType(VpcEndpointSubnetConfigurationOutput{}) + pulumi.RegisterOutputType(VpcEndpointSubnetConfigurationArrayOutput{}) pulumi.RegisterOutputType(VpcIpamOperatingRegionOutput{}) pulumi.RegisterOutputType(VpcIpamOperatingRegionArrayOutput{}) pulumi.RegisterOutputType(VpcIpamPoolCidrCidrAuthorizationContextOutput{}) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroup.go index c894c6d25..39e662982 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroup.go @@ -13,11 +13,13 @@ import ( // Provides a security group resource. // -// > **NOTE on Security Groups and Security Group Rules:** This provider currently provides a Security Group resource with `ingress` and `egress` rules defined in-line and a Security Group Rule resource which manages one or more `ingress` or `egress` rules. Both of these resource were added before AWS assigned a [security group rule unique ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules.html), and they do not work well in all scenarios using the`description` and `tags` attributes, which rely on the unique ID. The `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources have been added to address these limitations and should be used for all new security group rules. You should not use the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources in conjunction with an `ec2.SecurityGroup` resource with in-line rules or with `ec2.SecurityGroupRule` resources defined for the same Security Group, as rule conflicts may occur and rules will be overwritten. +// > **NOTE:** Avoid using the `ingress` and `egress` arguments of the `ec2.SecurityGroup` resource to configure in-line rules, as they struggle with managing multiple CIDR blocks, and, due to the historical lack of unique IDs, tags and descriptions. To avoid these problems, use the current best practice of the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources with one CIDR block per rule. +// +// !> **WARNING:** You should not use the `ec2.SecurityGroup` resource with _in-line rules_ (using the `ingress` and `egress` arguments of `ec2.SecurityGroup`) in conjunction with the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources or the `ec2.SecurityGroupRule` resource. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten. // // > **NOTE:** Referencing Security Groups across VPC peering has certain restrictions. More information is available in the [VPC Peering User Guide](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html). // -// > **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), security groups associated with Lambda Functions can take up to 45 minutes to successfully delete. +// > **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), security groups associated with Lambda Functions can take up to 45 minutes to successfully delete. To allow for successful deletion, the provider will wait for at least 45 minutes even if a shorter delete timeout is specified. // // > **NOTE:** The `cidrBlocks` and `ipv6CidrBlocks` parameters are optional in the `ingress` and `egress` blocks. If nothing is specified, traffic will be blocked as described in _NOTE on Egress rules_ later. // @@ -262,7 +264,7 @@ import ( // "fmt" // // "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" -// "github.com/pulumi/pulumi-command/sdk/v1/go/command/local" +// "github.com/pulumi/pulumi-command/sdk/go/command/local" // "github.com/pulumi/pulumi-null/sdk/go/null" // "github.com/pulumi/pulumi-std/sdk/go/std" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" @@ -306,7 +308,7 @@ import ( // } // exampleResource, err := null.NewResource(ctx, "example", &null.ResourceArgs{ // Triggers: pulumi.StringMap{ -// "rerun_upon_change_of": invokeJoin.Result, +// "rerun_upon_change_of": pulumi.String(invokeJoin.Result), // }, // }) // if err != nil { diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroupRule.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroupRule.go index 25ef1b377..1dc8d2bf3 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroupRule.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/securityGroupRule.go @@ -12,13 +12,11 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Provides a security group rule resource. Represents a single `ingress` or -// `egress` group rule, which can be added to external Security Groups. +// Provides a security group rule resource. Represents a single `ingress` or `egress` group rule, which can be added to external Security Groups. // -// > **NOTE on Security Groups and Security Group Rules:** This provider currently provides a Security Group resource with `ingress` and `egress` rules defined in-line and a Security Group Rule resource which manages one or more `ingress` or -// `egress` rules. Both of these resource were added before AWS assigned a [security group rule unique ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules.html), and they do not work well in all scenarios using the`description` and `tags` attributes, which rely on the unique ID. -// The `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources have been added to address these limitations and should be used for all new security group rules. -// You should not use the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources in conjunction with an `ec2.SecurityGroup` resource with in-line rules or with `ec2.SecurityGroupRule` resources defined for the same Security Group, as rule conflicts may occur and rules will be overwritten. +// > **NOTE:** Avoid using the `ec2.SecurityGroupRule` resource, as it struggles with managing multiple CIDR blocks, and, due to the historical lack of unique IDs, tags and descriptions. To avoid these problems, use the current best practice of the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources with one CIDR block per rule. +// +// !> **WARNING:** You should not use the `ec2.SecurityGroupRule` resource in conjunction with `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources or with an `ec2.SecurityGroup` resource that has in-line rules. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten. // // > **NOTE:** Setting `protocol = "all"` or `protocol = -1` with `fromPort` and `toPort` will result in the EC2 API creating a security group rule with all ports open. This API behavior cannot be controlled by this provider and may generate warnings in the future. // @@ -124,7 +122,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/spotInstanceRequest.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/spotInstanceRequest.go index 445437d22..03bd147ac 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/spotInstanceRequest.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/spotInstanceRequest.go @@ -202,11 +202,11 @@ type SpotInstanceRequest struct { TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy pulumi.StringOutput `pulumi:"tenancy"` - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData pulumi.StringOutput `pulumi:"userData"` - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 pulumi.StringOutput `pulumi:"userDataBase64"` - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange pulumi.BoolPtrOutput `pulumi:"userDataReplaceOnChange"` // The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. ValidFrom pulumi.StringOutput `pulumi:"validFrom"` @@ -385,11 +385,11 @@ type spotInstanceRequestState struct { TagsAll map[string]string `pulumi:"tagsAll"` // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy *string `pulumi:"tenancy"` - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData *string `pulumi:"userData"` - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 *string `pulumi:"userDataBase64"` - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange *bool `pulumi:"userDataReplaceOnChange"` // The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. ValidFrom *string `pulumi:"validFrom"` @@ -539,11 +539,11 @@ type SpotInstanceRequestState struct { TagsAll pulumi.StringMapInput // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy pulumi.StringPtrInput - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData pulumi.StringPtrInput - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 pulumi.StringPtrInput - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange pulumi.BoolPtrInput // The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. ValidFrom pulumi.StringPtrInput @@ -668,11 +668,11 @@ type spotInstanceRequestArgs struct { Tags map[string]string `pulumi:"tags"` // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy *string `pulumi:"tenancy"` - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData *string `pulumi:"userData"` - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 *string `pulumi:"userDataBase64"` - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange *bool `pulumi:"userDataReplaceOnChange"` // The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. ValidFrom *string `pulumi:"validFrom"` @@ -794,11 +794,11 @@ type SpotInstanceRequestArgs struct { Tags pulumi.StringMapInput // Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the import-instance command. Valid values are `default`, `dedicated`, and `host`. Tenancy pulumi.StringPtrInput - // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserData pulumi.StringPtrInput - // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. + // Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. UserDataBase64 pulumi.StringPtrInput - // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. + // When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. UserDataReplaceOnChange pulumi.BoolPtrInput // The start date and time of the request, in UTC [RFC3339](https://tools.ietf.org/html/rfc3339#section-5.8) format(for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately. ValidFrom pulumi.StringPtrInput @@ -1215,17 +1215,17 @@ func (o SpotInstanceRequestOutput) Tenancy() pulumi.StringOutput { return o.ApplyT(func(v *SpotInstanceRequest) pulumi.StringOutput { return v.Tenancy }).(pulumi.StringOutput) } -// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. +// User data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see `userDataBase64` instead. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. func (o SpotInstanceRequestOutput) UserData() pulumi.StringOutput { return o.ApplyT(func(v *SpotInstanceRequest) pulumi.StringOutput { return v.UserData }).(pulumi.StringOutput) } -// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate. +// Can be used instead of `userData` to pass base64-encoded binary data directly. Use this instead of `userData` whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption. Updates to this field will trigger a stop/start of the EC2 instance by default. If the `userDataReplaceOnChange` is set then updates to this field will trigger a destroy and recreate of the EC2 instance. func (o SpotInstanceRequestOutput) UserDataBase64() pulumi.StringOutput { return o.ApplyT(func(v *SpotInstanceRequest) pulumi.StringOutput { return v.UserDataBase64 }).(pulumi.StringOutput) } -// When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate when set to `true`. Defaults to `false` if not set. +// When used in combination with `userData` or `userDataBase64` will trigger a destroy and recreate of the EC2 instance when set to `true`. Defaults to `false` if not set. func (o SpotInstanceRequestOutput) UserDataReplaceOnChange() pulumi.BoolPtrOutput { return o.ApplyT(func(v *SpotInstanceRequest) pulumi.BoolPtrOutput { return v.UserDataReplaceOnChange }).(pulumi.BoolPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/subnet.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/subnet.go index b9b20a435..4e71fa892 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/subnet.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/subnet.go @@ -14,7 +14,7 @@ import ( // Provides an VPC subnet resource. // -// > **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), subnets associated with Lambda Functions can take up to 45 minutes to successfully delete. +// > **NOTE:** Due to [AWS Lambda improved VPC networking changes that began deploying in September 2019](https://aws.amazon.com/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/), subnets associated with Lambda Functions can take up to 45 minutes to successfully delete. To allow for successful deletion, the provider will wait for at least 45 minutes even if a shorter delete timeout is specified. // // ## Example Usage // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/trafficMirrorSession.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/trafficMirrorSession.go index 8beab0d67..f114ebb82 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/trafficMirrorSession.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/trafficMirrorSession.go @@ -81,7 +81,7 @@ type TrafficMirrorSession struct { // The AWS account ID of the session owner. OwnerId pulumi.StringOutput `pulumi:"ownerId"` // The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. - PacketLength pulumi.IntPtrOutput `pulumi:"packetLength"` + PacketLength pulumi.IntOutput `pulumi:"packetLength"` // The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets. SessionNumber pulumi.IntOutput `pulumi:"sessionNumber"` // 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. @@ -344,8 +344,8 @@ func (o TrafficMirrorSessionOutput) OwnerId() pulumi.StringOutput { } // The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. -func (o TrafficMirrorSessionOutput) PacketLength() pulumi.IntPtrOutput { - return o.ApplyT(func(v *TrafficMirrorSession) pulumi.IntPtrOutput { return v.PacketLength }).(pulumi.IntPtrOutput) +func (o TrafficMirrorSessionOutput) PacketLength() pulumi.IntOutput { + return o.ApplyT(func(v *TrafficMirrorSession) pulumi.IntOutput { return v.PacketLength }).(pulumi.IntOutput) } // The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets. diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpc.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpc.go index a5579b7eb..cf6e0a8c9 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpc.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpc.go @@ -86,7 +86,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -174,7 +174,7 @@ type Vpc struct { Ipv6CidrBlockNetworkBorderGroup pulumi.StringOutput `pulumi:"ipv6CidrBlockNetworkBorderGroup"` // IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6IpamPoolId pulumi.StringPtrOutput `pulumi:"ipv6IpamPoolId"` - // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`. + // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values are from `44` to `60` in increments of 4. Ipv6NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv6NetmaskLength"` // The ID of the main route table associated with // this VPC. Note that you can change a VPC's main route table by using an @@ -254,7 +254,7 @@ type vpcState struct { Ipv6CidrBlockNetworkBorderGroup *string `pulumi:"ipv6CidrBlockNetworkBorderGroup"` // IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6IpamPoolId *string `pulumi:"ipv6IpamPoolId"` - // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`. + // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values are from `44` to `60` in increments of 4. Ipv6NetmaskLength *int `pulumi:"ipv6NetmaskLength"` // The ID of the main route table associated with // this VPC. Note that you can change a VPC's main route table by using an @@ -305,7 +305,7 @@ type VpcState struct { Ipv6CidrBlockNetworkBorderGroup pulumi.StringPtrInput // IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6IpamPoolId pulumi.StringPtrInput - // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`. + // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values are from `44` to `60` in increments of 4. Ipv6NetmaskLength pulumi.IntPtrInput // The ID of the main route table associated with // this VPC. Note that you can change a VPC's main route table by using an @@ -348,7 +348,7 @@ type vpcArgs struct { Ipv6CidrBlockNetworkBorderGroup *string `pulumi:"ipv6CidrBlockNetworkBorderGroup"` // IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6IpamPoolId *string `pulumi:"ipv6IpamPoolId"` - // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`. + // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values are from `44` to `60` in increments of 4. Ipv6NetmaskLength *int `pulumi:"ipv6NetmaskLength"` // A map of tags to assign to the resource. 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"` @@ -378,7 +378,7 @@ type VpcArgs struct { Ipv6CidrBlockNetworkBorderGroup pulumi.StringPtrInput // IPAM Pool ID for a IPv6 pool. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6IpamPoolId pulumi.StringPtrInput - // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`. + // Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values are from `44` to `60` in increments of 4. Ipv6NetmaskLength pulumi.IntPtrInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput @@ -556,7 +556,7 @@ func (o VpcOutput) Ipv6IpamPoolId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Vpc) pulumi.StringPtrOutput { return v.Ipv6IpamPoolId }).(pulumi.StringPtrOutput) } -// Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values: `56`. +// Netmask length to request from IPAM Pool. Conflicts with `ipv6CidrBlock`. This can be omitted if IPAM pool as a `allocationDefaultNetmaskLength` set. Valid values are from `44` to `60` in increments of 4. func (o VpcOutput) Ipv6NetmaskLength() pulumi.IntPtrOutput { return o.ApplyT(func(v *Vpc) pulumi.IntPtrOutput { return v.Ipv6NetmaskLength }).(pulumi.IntPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcBlockPublicAccessExclusion.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcBlockPublicAccessExclusion.go new file mode 100644 index 000000000..8fe689d10 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcBlockPublicAccessExclusion.go @@ -0,0 +1,400 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ec2 + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Resource for managing an AWS EC2 (Elastic Compute Cloud) VPC Block Public Access Exclusion. +// +// ## Example Usage +// +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// test, err := ec2.NewVpc(ctx, "test", &ec2.VpcArgs{ +// CidrBlock: pulumi.String("10.1.0.0/16"), +// }) +// if err != nil { +// return err +// } +// _, err = ec2.NewVpcBlockPublicAccessExclusion(ctx, "test", &ec2.VpcBlockPublicAccessExclusionArgs{ +// VpcId: test.ID(), +// InternetGatewayExclusionMode: pulumi.String("allow-bidirectional"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ### Usage with subnet id +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// test, err := ec2.NewVpc(ctx, "test", &ec2.VpcArgs{ +// CidrBlock: pulumi.String("10.1.0.0/16"), +// }) +// if err != nil { +// return err +// } +// testSubnet, err := ec2.NewSubnet(ctx, "test", &ec2.SubnetArgs{ +// CidrBlock: pulumi.String("10.1.1.0/24"), +// VpcId: test.ID(), +// }) +// if err != nil { +// return err +// } +// _, err = ec2.NewVpcBlockPublicAccessExclusion(ctx, "test", &ec2.VpcBlockPublicAccessExclusionArgs{ +// SubnetId: testSubnet.ID(), +// InternetGatewayExclusionMode: pulumi.String("allow-egress"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Using `pulumi import`, import EC2 (Elastic Compute Cloud) VPC Block Public Access Exclusion using the `id`. For example: +// +// ```sh +// $ pulumi import aws:ec2/vpcBlockPublicAccessExclusion:VpcBlockPublicAccessExclusion example vpcbpa-exclude-1234abcd +// ``` +type VpcBlockPublicAccessExclusion struct { + pulumi.CustomResourceState + + // Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. + // + // The following arguments are optional: + InternetGatewayExclusionMode pulumi.StringOutput `pulumi:"internetGatewayExclusionMode"` + // The Amazon Resource Name (ARN) the excluded resource. + ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` + // Id of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided. + SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` + // A map of tags to assign to the exclusion. 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. + // + // Deprecated: Please use `tags` instead. + TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` + Timeouts VpcBlockPublicAccessExclusionTimeoutsPtrOutput `pulumi:"timeouts"` + // Id of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided. + VpcId pulumi.StringPtrOutput `pulumi:"vpcId"` +} + +// NewVpcBlockPublicAccessExclusion registers a new resource with the given unique name, arguments, and options. +func NewVpcBlockPublicAccessExclusion(ctx *pulumi.Context, + name string, args *VpcBlockPublicAccessExclusionArgs, opts ...pulumi.ResourceOption) (*VpcBlockPublicAccessExclusion, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.InternetGatewayExclusionMode == nil { + return nil, errors.New("invalid value for required argument 'InternetGatewayExclusionMode'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource VpcBlockPublicAccessExclusion + err := ctx.RegisterResource("aws:ec2/vpcBlockPublicAccessExclusion:VpcBlockPublicAccessExclusion", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVpcBlockPublicAccessExclusion gets an existing VpcBlockPublicAccessExclusion 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 GetVpcBlockPublicAccessExclusion(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VpcBlockPublicAccessExclusionState, opts ...pulumi.ResourceOption) (*VpcBlockPublicAccessExclusion, error) { + var resource VpcBlockPublicAccessExclusion + err := ctx.ReadResource("aws:ec2/vpcBlockPublicAccessExclusion:VpcBlockPublicAccessExclusion", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VpcBlockPublicAccessExclusion resources. +type vpcBlockPublicAccessExclusionState struct { + // Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. + // + // The following arguments are optional: + InternetGatewayExclusionMode *string `pulumi:"internetGatewayExclusionMode"` + // The Amazon Resource Name (ARN) the excluded resource. + ResourceArn *string `pulumi:"resourceArn"` + // Id of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided. + SubnetId *string `pulumi:"subnetId"` + // A map of tags to assign to the exclusion. 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. + // + // Deprecated: Please use `tags` instead. + TagsAll map[string]string `pulumi:"tagsAll"` + Timeouts *VpcBlockPublicAccessExclusionTimeouts `pulumi:"timeouts"` + // Id of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided. + VpcId *string `pulumi:"vpcId"` +} + +type VpcBlockPublicAccessExclusionState struct { + // Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. + // + // The following arguments are optional: + InternetGatewayExclusionMode pulumi.StringPtrInput + // The Amazon Resource Name (ARN) the excluded resource. + ResourceArn pulumi.StringPtrInput + // Id of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided. + SubnetId pulumi.StringPtrInput + // A map of tags to assign to the exclusion. 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. + // + // Deprecated: Please use `tags` instead. + TagsAll pulumi.StringMapInput + Timeouts VpcBlockPublicAccessExclusionTimeoutsPtrInput + // Id of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided. + VpcId pulumi.StringPtrInput +} + +func (VpcBlockPublicAccessExclusionState) ElementType() reflect.Type { + return reflect.TypeOf((*vpcBlockPublicAccessExclusionState)(nil)).Elem() +} + +type vpcBlockPublicAccessExclusionArgs struct { + // Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. + // + // The following arguments are optional: + InternetGatewayExclusionMode string `pulumi:"internetGatewayExclusionMode"` + // Id of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided. + SubnetId *string `pulumi:"subnetId"` + // A map of tags to assign to the exclusion. 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"` + Timeouts *VpcBlockPublicAccessExclusionTimeouts `pulumi:"timeouts"` + // Id of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided. + VpcId *string `pulumi:"vpcId"` +} + +// The set of arguments for constructing a VpcBlockPublicAccessExclusion resource. +type VpcBlockPublicAccessExclusionArgs struct { + // Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. + // + // The following arguments are optional: + InternetGatewayExclusionMode pulumi.StringInput + // Id of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided. + SubnetId pulumi.StringPtrInput + // A map of tags to assign to the exclusion. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. + Tags pulumi.StringMapInput + Timeouts VpcBlockPublicAccessExclusionTimeoutsPtrInput + // Id of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided. + VpcId pulumi.StringPtrInput +} + +func (VpcBlockPublicAccessExclusionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vpcBlockPublicAccessExclusionArgs)(nil)).Elem() +} + +type VpcBlockPublicAccessExclusionInput interface { + pulumi.Input + + ToVpcBlockPublicAccessExclusionOutput() VpcBlockPublicAccessExclusionOutput + ToVpcBlockPublicAccessExclusionOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionOutput +} + +func (*VpcBlockPublicAccessExclusion) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessExclusion)(nil)).Elem() +} + +func (i *VpcBlockPublicAccessExclusion) ToVpcBlockPublicAccessExclusionOutput() VpcBlockPublicAccessExclusionOutput { + return i.ToVpcBlockPublicAccessExclusionOutputWithContext(context.Background()) +} + +func (i *VpcBlockPublicAccessExclusion) ToVpcBlockPublicAccessExclusionOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessExclusionOutput) +} + +// VpcBlockPublicAccessExclusionArrayInput is an input type that accepts VpcBlockPublicAccessExclusionArray and VpcBlockPublicAccessExclusionArrayOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessExclusionArrayInput` via: +// +// VpcBlockPublicAccessExclusionArray{ VpcBlockPublicAccessExclusionArgs{...} } +type VpcBlockPublicAccessExclusionArrayInput interface { + pulumi.Input + + ToVpcBlockPublicAccessExclusionArrayOutput() VpcBlockPublicAccessExclusionArrayOutput + ToVpcBlockPublicAccessExclusionArrayOutputWithContext(context.Context) VpcBlockPublicAccessExclusionArrayOutput +} + +type VpcBlockPublicAccessExclusionArray []VpcBlockPublicAccessExclusionInput + +func (VpcBlockPublicAccessExclusionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VpcBlockPublicAccessExclusion)(nil)).Elem() +} + +func (i VpcBlockPublicAccessExclusionArray) ToVpcBlockPublicAccessExclusionArrayOutput() VpcBlockPublicAccessExclusionArrayOutput { + return i.ToVpcBlockPublicAccessExclusionArrayOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessExclusionArray) ToVpcBlockPublicAccessExclusionArrayOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessExclusionArrayOutput) +} + +// VpcBlockPublicAccessExclusionMapInput is an input type that accepts VpcBlockPublicAccessExclusionMap and VpcBlockPublicAccessExclusionMapOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessExclusionMapInput` via: +// +// VpcBlockPublicAccessExclusionMap{ "key": VpcBlockPublicAccessExclusionArgs{...} } +type VpcBlockPublicAccessExclusionMapInput interface { + pulumi.Input + + ToVpcBlockPublicAccessExclusionMapOutput() VpcBlockPublicAccessExclusionMapOutput + ToVpcBlockPublicAccessExclusionMapOutputWithContext(context.Context) VpcBlockPublicAccessExclusionMapOutput +} + +type VpcBlockPublicAccessExclusionMap map[string]VpcBlockPublicAccessExclusionInput + +func (VpcBlockPublicAccessExclusionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VpcBlockPublicAccessExclusion)(nil)).Elem() +} + +func (i VpcBlockPublicAccessExclusionMap) ToVpcBlockPublicAccessExclusionMapOutput() VpcBlockPublicAccessExclusionMapOutput { + return i.ToVpcBlockPublicAccessExclusionMapOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessExclusionMap) ToVpcBlockPublicAccessExclusionMapOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessExclusionMapOutput) +} + +type VpcBlockPublicAccessExclusionOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessExclusionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessExclusion)(nil)).Elem() +} + +func (o VpcBlockPublicAccessExclusionOutput) ToVpcBlockPublicAccessExclusionOutput() VpcBlockPublicAccessExclusionOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionOutput) ToVpcBlockPublicAccessExclusionOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionOutput { + return o +} + +// Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. +// +// The following arguments are optional: +func (o VpcBlockPublicAccessExclusionOutput) InternetGatewayExclusionMode() pulumi.StringOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) pulumi.StringOutput { return v.InternetGatewayExclusionMode }).(pulumi.StringOutput) +} + +// The Amazon Resource Name (ARN) the excluded resource. +func (o VpcBlockPublicAccessExclusionOutput) ResourceArn() pulumi.StringOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) pulumi.StringOutput { return v.ResourceArn }).(pulumi.StringOutput) +} + +// Id of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided. +func (o VpcBlockPublicAccessExclusionOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) pulumi.StringPtrOutput { return v.SubnetId }).(pulumi.StringPtrOutput) +} + +// A map of tags to assign to the exclusion. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. +func (o VpcBlockPublicAccessExclusionOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. +// +// Deprecated: Please use `tags` instead. +func (o VpcBlockPublicAccessExclusionOutput) TagsAll() pulumi.StringMapOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput) +} + +func (o VpcBlockPublicAccessExclusionOutput) Timeouts() VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) VpcBlockPublicAccessExclusionTimeoutsPtrOutput { + return v.Timeouts + }).(VpcBlockPublicAccessExclusionTimeoutsPtrOutput) +} + +// Id of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided. +func (o VpcBlockPublicAccessExclusionOutput) VpcId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessExclusion) pulumi.StringPtrOutput { return v.VpcId }).(pulumi.StringPtrOutput) +} + +type VpcBlockPublicAccessExclusionArrayOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessExclusionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VpcBlockPublicAccessExclusion)(nil)).Elem() +} + +func (o VpcBlockPublicAccessExclusionArrayOutput) ToVpcBlockPublicAccessExclusionArrayOutput() VpcBlockPublicAccessExclusionArrayOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionArrayOutput) ToVpcBlockPublicAccessExclusionArrayOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionArrayOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionArrayOutput) Index(i pulumi.IntInput) VpcBlockPublicAccessExclusionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VpcBlockPublicAccessExclusion { + return vs[0].([]*VpcBlockPublicAccessExclusion)[vs[1].(int)] + }).(VpcBlockPublicAccessExclusionOutput) +} + +type VpcBlockPublicAccessExclusionMapOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessExclusionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VpcBlockPublicAccessExclusion)(nil)).Elem() +} + +func (o VpcBlockPublicAccessExclusionMapOutput) ToVpcBlockPublicAccessExclusionMapOutput() VpcBlockPublicAccessExclusionMapOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionMapOutput) ToVpcBlockPublicAccessExclusionMapOutputWithContext(ctx context.Context) VpcBlockPublicAccessExclusionMapOutput { + return o +} + +func (o VpcBlockPublicAccessExclusionMapOutput) MapIndex(k pulumi.StringInput) VpcBlockPublicAccessExclusionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VpcBlockPublicAccessExclusion { + return vs[0].(map[string]*VpcBlockPublicAccessExclusion)[vs[1].(string)] + }).(VpcBlockPublicAccessExclusionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessExclusionInput)(nil)).Elem(), &VpcBlockPublicAccessExclusion{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessExclusionArrayInput)(nil)).Elem(), VpcBlockPublicAccessExclusionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessExclusionMapInput)(nil)).Elem(), VpcBlockPublicAccessExclusionMap{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessExclusionOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessExclusionArrayOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessExclusionMapOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcBlockPublicAccessOptions.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcBlockPublicAccessOptions.go new file mode 100644 index 000000000..8ba270b8b --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcBlockPublicAccessOptions.go @@ -0,0 +1,286 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ec2 + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Resource for managing an AWS VPC Block Public Access Options. +// +// ## Example Usage +// +// ### Basic Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ec2.NewVpcBlockPublicAccessOptions(ctx, "example", &ec2.VpcBlockPublicAccessOptionsArgs{ +// InternetGatewayBlockMode: pulumi.String("block-bidirectional"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Using `pulumi import`, import VPC Block Public Access Options using the `aws_region`. For example: +// +// ```sh +// $ pulumi import aws:ec2/vpcBlockPublicAccessOptions:VpcBlockPublicAccessOptions example us-east-1 +// ``` +type VpcBlockPublicAccessOptions struct { + pulumi.CustomResourceState + + // The AWS account id to which these options apply. + AwsAccountId pulumi.StringOutput `pulumi:"awsAccountId"` + // The AWS region to which these options apply. + AwsRegion pulumi.StringOutput `pulumi:"awsRegion"` + // Block mode. Needs to be one of `block-bidirectional`, `block-ingress`, `off`. If this resource is deleted, then this value will be set to `off` in the AWS account and region. + InternetGatewayBlockMode pulumi.StringOutput `pulumi:"internetGatewayBlockMode"` + Timeouts VpcBlockPublicAccessOptionsTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewVpcBlockPublicAccessOptions registers a new resource with the given unique name, arguments, and options. +func NewVpcBlockPublicAccessOptions(ctx *pulumi.Context, + name string, args *VpcBlockPublicAccessOptionsArgs, opts ...pulumi.ResourceOption) (*VpcBlockPublicAccessOptions, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.InternetGatewayBlockMode == nil { + return nil, errors.New("invalid value for required argument 'InternetGatewayBlockMode'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource VpcBlockPublicAccessOptions + err := ctx.RegisterResource("aws:ec2/vpcBlockPublicAccessOptions:VpcBlockPublicAccessOptions", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVpcBlockPublicAccessOptions gets an existing VpcBlockPublicAccessOptions 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 GetVpcBlockPublicAccessOptions(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VpcBlockPublicAccessOptionsState, opts ...pulumi.ResourceOption) (*VpcBlockPublicAccessOptions, error) { + var resource VpcBlockPublicAccessOptions + err := ctx.ReadResource("aws:ec2/vpcBlockPublicAccessOptions:VpcBlockPublicAccessOptions", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VpcBlockPublicAccessOptions resources. +type vpcBlockPublicAccessOptionsState struct { + // The AWS account id to which these options apply. + AwsAccountId *string `pulumi:"awsAccountId"` + // The AWS region to which these options apply. + AwsRegion *string `pulumi:"awsRegion"` + // Block mode. Needs to be one of `block-bidirectional`, `block-ingress`, `off`. If this resource is deleted, then this value will be set to `off` in the AWS account and region. + InternetGatewayBlockMode *string `pulumi:"internetGatewayBlockMode"` + Timeouts *VpcBlockPublicAccessOptionsTimeouts `pulumi:"timeouts"` +} + +type VpcBlockPublicAccessOptionsState struct { + // The AWS account id to which these options apply. + AwsAccountId pulumi.StringPtrInput + // The AWS region to which these options apply. + AwsRegion pulumi.StringPtrInput + // Block mode. Needs to be one of `block-bidirectional`, `block-ingress`, `off`. If this resource is deleted, then this value will be set to `off` in the AWS account and region. + InternetGatewayBlockMode pulumi.StringPtrInput + Timeouts VpcBlockPublicAccessOptionsTimeoutsPtrInput +} + +func (VpcBlockPublicAccessOptionsState) ElementType() reflect.Type { + return reflect.TypeOf((*vpcBlockPublicAccessOptionsState)(nil)).Elem() +} + +type vpcBlockPublicAccessOptionsArgs struct { + // Block mode. Needs to be one of `block-bidirectional`, `block-ingress`, `off`. If this resource is deleted, then this value will be set to `off` in the AWS account and region. + InternetGatewayBlockMode string `pulumi:"internetGatewayBlockMode"` + Timeouts *VpcBlockPublicAccessOptionsTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a VpcBlockPublicAccessOptions resource. +type VpcBlockPublicAccessOptionsArgs struct { + // Block mode. Needs to be one of `block-bidirectional`, `block-ingress`, `off`. If this resource is deleted, then this value will be set to `off` in the AWS account and region. + InternetGatewayBlockMode pulumi.StringInput + Timeouts VpcBlockPublicAccessOptionsTimeoutsPtrInput +} + +func (VpcBlockPublicAccessOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vpcBlockPublicAccessOptionsArgs)(nil)).Elem() +} + +type VpcBlockPublicAccessOptionsInput interface { + pulumi.Input + + ToVpcBlockPublicAccessOptionsOutput() VpcBlockPublicAccessOptionsOutput + ToVpcBlockPublicAccessOptionsOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsOutput +} + +func (*VpcBlockPublicAccessOptions) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessOptions)(nil)).Elem() +} + +func (i *VpcBlockPublicAccessOptions) ToVpcBlockPublicAccessOptionsOutput() VpcBlockPublicAccessOptionsOutput { + return i.ToVpcBlockPublicAccessOptionsOutputWithContext(context.Background()) +} + +func (i *VpcBlockPublicAccessOptions) ToVpcBlockPublicAccessOptionsOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessOptionsOutput) +} + +// VpcBlockPublicAccessOptionsArrayInput is an input type that accepts VpcBlockPublicAccessOptionsArray and VpcBlockPublicAccessOptionsArrayOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessOptionsArrayInput` via: +// +// VpcBlockPublicAccessOptionsArray{ VpcBlockPublicAccessOptionsArgs{...} } +type VpcBlockPublicAccessOptionsArrayInput interface { + pulumi.Input + + ToVpcBlockPublicAccessOptionsArrayOutput() VpcBlockPublicAccessOptionsArrayOutput + ToVpcBlockPublicAccessOptionsArrayOutputWithContext(context.Context) VpcBlockPublicAccessOptionsArrayOutput +} + +type VpcBlockPublicAccessOptionsArray []VpcBlockPublicAccessOptionsInput + +func (VpcBlockPublicAccessOptionsArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VpcBlockPublicAccessOptions)(nil)).Elem() +} + +func (i VpcBlockPublicAccessOptionsArray) ToVpcBlockPublicAccessOptionsArrayOutput() VpcBlockPublicAccessOptionsArrayOutput { + return i.ToVpcBlockPublicAccessOptionsArrayOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessOptionsArray) ToVpcBlockPublicAccessOptionsArrayOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessOptionsArrayOutput) +} + +// VpcBlockPublicAccessOptionsMapInput is an input type that accepts VpcBlockPublicAccessOptionsMap and VpcBlockPublicAccessOptionsMapOutput values. +// You can construct a concrete instance of `VpcBlockPublicAccessOptionsMapInput` via: +// +// VpcBlockPublicAccessOptionsMap{ "key": VpcBlockPublicAccessOptionsArgs{...} } +type VpcBlockPublicAccessOptionsMapInput interface { + pulumi.Input + + ToVpcBlockPublicAccessOptionsMapOutput() VpcBlockPublicAccessOptionsMapOutput + ToVpcBlockPublicAccessOptionsMapOutputWithContext(context.Context) VpcBlockPublicAccessOptionsMapOutput +} + +type VpcBlockPublicAccessOptionsMap map[string]VpcBlockPublicAccessOptionsInput + +func (VpcBlockPublicAccessOptionsMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VpcBlockPublicAccessOptions)(nil)).Elem() +} + +func (i VpcBlockPublicAccessOptionsMap) ToVpcBlockPublicAccessOptionsMapOutput() VpcBlockPublicAccessOptionsMapOutput { + return i.ToVpcBlockPublicAccessOptionsMapOutputWithContext(context.Background()) +} + +func (i VpcBlockPublicAccessOptionsMap) ToVpcBlockPublicAccessOptionsMapOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcBlockPublicAccessOptionsMapOutput) +} + +type VpcBlockPublicAccessOptionsOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpcBlockPublicAccessOptions)(nil)).Elem() +} + +func (o VpcBlockPublicAccessOptionsOutput) ToVpcBlockPublicAccessOptionsOutput() VpcBlockPublicAccessOptionsOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsOutput) ToVpcBlockPublicAccessOptionsOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsOutput { + return o +} + +// The AWS account id to which these options apply. +func (o VpcBlockPublicAccessOptionsOutput) AwsAccountId() pulumi.StringOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptions) pulumi.StringOutput { return v.AwsAccountId }).(pulumi.StringOutput) +} + +// The AWS region to which these options apply. +func (o VpcBlockPublicAccessOptionsOutput) AwsRegion() pulumi.StringOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptions) pulumi.StringOutput { return v.AwsRegion }).(pulumi.StringOutput) +} + +// Block mode. Needs to be one of `block-bidirectional`, `block-ingress`, `off`. If this resource is deleted, then this value will be set to `off` in the AWS account and region. +func (o VpcBlockPublicAccessOptionsOutput) InternetGatewayBlockMode() pulumi.StringOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptions) pulumi.StringOutput { return v.InternetGatewayBlockMode }).(pulumi.StringOutput) +} + +func (o VpcBlockPublicAccessOptionsOutput) Timeouts() VpcBlockPublicAccessOptionsTimeoutsPtrOutput { + return o.ApplyT(func(v *VpcBlockPublicAccessOptions) VpcBlockPublicAccessOptionsTimeoutsPtrOutput { return v.Timeouts }).(VpcBlockPublicAccessOptionsTimeoutsPtrOutput) +} + +type VpcBlockPublicAccessOptionsArrayOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessOptionsArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*VpcBlockPublicAccessOptions)(nil)).Elem() +} + +func (o VpcBlockPublicAccessOptionsArrayOutput) ToVpcBlockPublicAccessOptionsArrayOutput() VpcBlockPublicAccessOptionsArrayOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsArrayOutput) ToVpcBlockPublicAccessOptionsArrayOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsArrayOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsArrayOutput) Index(i pulumi.IntInput) VpcBlockPublicAccessOptionsOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *VpcBlockPublicAccessOptions { + return vs[0].([]*VpcBlockPublicAccessOptions)[vs[1].(int)] + }).(VpcBlockPublicAccessOptionsOutput) +} + +type VpcBlockPublicAccessOptionsMapOutput struct{ *pulumi.OutputState } + +func (VpcBlockPublicAccessOptionsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*VpcBlockPublicAccessOptions)(nil)).Elem() +} + +func (o VpcBlockPublicAccessOptionsMapOutput) ToVpcBlockPublicAccessOptionsMapOutput() VpcBlockPublicAccessOptionsMapOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsMapOutput) ToVpcBlockPublicAccessOptionsMapOutputWithContext(ctx context.Context) VpcBlockPublicAccessOptionsMapOutput { + return o +} + +func (o VpcBlockPublicAccessOptionsMapOutput) MapIndex(k pulumi.StringInput) VpcBlockPublicAccessOptionsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *VpcBlockPublicAccessOptions { + return vs[0].(map[string]*VpcBlockPublicAccessOptions)[vs[1].(string)] + }).(VpcBlockPublicAccessOptionsOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessOptionsInput)(nil)).Elem(), &VpcBlockPublicAccessOptions{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessOptionsArrayInput)(nil)).Elem(), VpcBlockPublicAccessOptionsArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcBlockPublicAccessOptionsMapInput)(nil)).Elem(), VpcBlockPublicAccessOptionsMap{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessOptionsOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessOptionsArrayOutput{}) + pulumi.RegisterOutputType(VpcBlockPublicAccessOptionsMapOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpoint.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpoint.go index 1cce38de0..01df256cc 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpoint.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpoint.go @@ -113,6 +113,48 @@ import ( // // ``` // +// ### Interface Endpoint Type with User-Defined IP Address +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ec2.NewVpcEndpoint(ctx, "ec2", &ec2.VpcEndpointArgs{ +// VpcId: pulumi.Any(example.Id), +// ServiceName: pulumi.String("com.amazonaws.us-west-2.ec2"), +// VpcEndpointType: pulumi.String("Interface"), +// SubnetConfigurations: ec2.VpcEndpointSubnetConfigurationArray{ +// &ec2.VpcEndpointSubnetConfigurationArgs{ +// Ipv4: pulumi.String("10.0.1.10"), +// SubnetId: pulumi.Any(example1.Id), +// }, +// &ec2.VpcEndpointSubnetConfigurationArgs{ +// Ipv4: pulumi.String("10.0.2.10"), +// SubnetId: pulumi.Any(example2.Id), +// }, +// }, +// SubnetIds: pulumi.StringArray{ +// example1.Id, +// example2.Id, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ### Gateway Load Balancer Endpoint Type // // ```go @@ -128,7 +170,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetCallerIdentity(ctx, nil, nil) +// current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil) // if err != nil { // return err // } @@ -205,6 +247,8 @@ type VpcEndpoint struct { ServiceName pulumi.StringOutput `pulumi:"serviceName"` // The state of the VPC endpoint. State pulumi.StringOutput `pulumi:"state"` + // Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below. + SubnetConfigurations VpcEndpointSubnetConfigurationArrayOutput `pulumi:"subnetConfigurations"` // The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -289,6 +333,8 @@ type vpcEndpointState struct { ServiceName *string `pulumi:"serviceName"` // The state of the VPC endpoint. State *string `pulumi:"state"` + // Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below. + SubnetConfigurations []VpcEndpointSubnetConfiguration `pulumi:"subnetConfigurations"` // The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet. SubnetIds []string `pulumi:"subnetIds"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -338,6 +384,8 @@ type VpcEndpointState struct { ServiceName pulumi.StringPtrInput // The state of the VPC endpoint. State pulumi.StringPtrInput + // Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below. + SubnetConfigurations VpcEndpointSubnetConfigurationArrayInput // The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet. SubnetIds pulumi.StringArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -375,6 +423,8 @@ type vpcEndpointArgs struct { SecurityGroupIds []string `pulumi:"securityGroupIds"` // The service name. For AWS services the service name is usually in the form `com.amazonaws..` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker..notebook`). ServiceName string `pulumi:"serviceName"` + // Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below. + SubnetConfigurations []VpcEndpointSubnetConfiguration `pulumi:"subnetConfigurations"` // The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet. SubnetIds []string `pulumi:"subnetIds"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -405,6 +455,8 @@ type VpcEndpointArgs struct { SecurityGroupIds pulumi.StringArrayInput // The service name. For AWS services the service name is usually in the form `com.amazonaws..` (the SageMaker Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker..notebook`). ServiceName pulumi.StringInput + // Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below. + SubnetConfigurations VpcEndpointSubnetConfigurationArrayInput // The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet. SubnetIds pulumi.StringArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -584,6 +636,11 @@ func (o VpcEndpointOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *VpcEndpoint) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below. +func (o VpcEndpointOutput) SubnetConfigurations() VpcEndpointSubnetConfigurationArrayOutput { + return o.ApplyT(func(v *VpcEndpoint) VpcEndpointSubnetConfigurationArrayOutput { return v.SubnetConfigurations }).(VpcEndpointSubnetConfigurationArrayOutput) +} + // The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet. func (o VpcEndpointOutput) SubnetIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *VpcEndpoint) pulumi.StringArrayOutput { return v.SubnetIds }).(pulumi.StringArrayOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointService.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointService.go index ebb6e43a7..777b0c5a1 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointService.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointService.go @@ -119,6 +119,8 @@ type VpcEndpointService struct { State pulumi.StringOutput `pulumi:"state"` // The supported IP address types. The possible values are `ipv4` and `ipv6`. SupportedIpAddressTypes pulumi.StringArrayOutput `pulumi:"supportedIpAddressTypes"` + // The set of regions from which service consumers can access the service. + SupportedRegions pulumi.StringArrayOutput `pulumi:"supportedRegions"` // A map of tags to assign to the resource. .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. @@ -188,6 +190,8 @@ type vpcEndpointServiceState struct { State *string `pulumi:"state"` // The supported IP address types. The possible values are `ipv4` and `ipv6`. SupportedIpAddressTypes []string `pulumi:"supportedIpAddressTypes"` + // The set of regions from which service consumers can access the service. + SupportedRegions []string `pulumi:"supportedRegions"` // A map of tags to assign to the resource. .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. @@ -225,6 +229,8 @@ type VpcEndpointServiceState struct { State pulumi.StringPtrInput // The supported IP address types. The possible values are `ipv4` and `ipv6`. SupportedIpAddressTypes pulumi.StringArrayInput + // The set of regions from which service consumers can access the service. + SupportedRegions pulumi.StringArrayInput // A map of tags to assign to the resource. .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. @@ -250,6 +256,8 @@ type vpcEndpointServiceArgs struct { PrivateDnsName *string `pulumi:"privateDnsName"` // The supported IP address types. The possible values are `ipv4` and `ipv6`. SupportedIpAddressTypes []string `pulumi:"supportedIpAddressTypes"` + // The set of regions from which service consumers can access the service. + SupportedRegions []string `pulumi:"supportedRegions"` // A map of tags to assign to the resource. .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"` } @@ -268,6 +276,8 @@ type VpcEndpointServiceArgs struct { PrivateDnsName pulumi.StringPtrInput // The supported IP address types. The possible values are `ipv4` and `ipv6`. SupportedIpAddressTypes pulumi.StringArrayInput + // The set of regions from which service consumers can access the service. + SupportedRegions pulumi.StringArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput } @@ -431,6 +441,11 @@ func (o VpcEndpointServiceOutput) SupportedIpAddressTypes() pulumi.StringArrayOu return o.ApplyT(func(v *VpcEndpointService) pulumi.StringArrayOutput { return v.SupportedIpAddressTypes }).(pulumi.StringArrayOutput) } +// The set of regions from which service consumers can access the service. +func (o VpcEndpointServiceOutput) SupportedRegions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *VpcEndpointService) pulumi.StringArrayOutput { return v.SupportedRegions }).(pulumi.StringArrayOutput) +} + // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. func (o VpcEndpointServiceOutput) Tags() pulumi.StringMapOutput { return o.ApplyT(func(v *VpcEndpointService) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointServiceAllowedPrinciple.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointServiceAllowedPrinciple.go index 068a50f6f..064b19b69 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointServiceAllowedPrinciple.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcEndpointServiceAllowedPrinciple.go @@ -37,7 +37,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetCallerIdentity(ctx, nil, nil) +// current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpam.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpam.go index edc9c78ef..35dc6cb57 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpam.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpam.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -77,6 +77,8 @@ type VpcIpam struct { DefaultResourceDiscoveryId pulumi.StringOutput `pulumi:"defaultResourceDiscoveryId"` // A description for the IPAM. Description pulumi.StringPtrOutput `pulumi:"description"` + // Enable this option to use your own GUA ranges as private IPv6 addresses. Default: `false`. + EnablePrivateGua pulumi.BoolPtrOutput `pulumi:"enablePrivateGua"` // Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region. OperatingRegions VpcIpamOperatingRegionArrayOutput `pulumi:"operatingRegions"` // The ID of the IPAM's private scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private IP space. The public scope is intended for all internet-routable IP space. @@ -139,6 +141,8 @@ type vpcIpamState struct { DefaultResourceDiscoveryId *string `pulumi:"defaultResourceDiscoveryId"` // A description for the IPAM. Description *string `pulumi:"description"` + // Enable this option to use your own GUA ranges as private IPv6 addresses. Default: `false`. + EnablePrivateGua *bool `pulumi:"enablePrivateGua"` // Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region. OperatingRegions []VpcIpamOperatingRegion `pulumi:"operatingRegions"` // The ID of the IPAM's private scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private IP space. The public scope is intended for all internet-routable IP space. @@ -169,6 +173,8 @@ type VpcIpamState struct { DefaultResourceDiscoveryId pulumi.StringPtrInput // A description for the IPAM. Description pulumi.StringPtrInput + // Enable this option to use your own GUA ranges as private IPv6 addresses. Default: `false`. + EnablePrivateGua pulumi.BoolPtrInput // Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region. OperatingRegions VpcIpamOperatingRegionArrayInput // The ID of the IPAM's private scope. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private IP space. The public scope is intended for all internet-routable IP space. @@ -197,6 +203,8 @@ type vpcIpamArgs struct { Cascade *bool `pulumi:"cascade"` // A description for the IPAM. Description *string `pulumi:"description"` + // Enable this option to use your own GUA ranges as private IPv6 addresses. Default: `false`. + EnablePrivateGua *bool `pulumi:"enablePrivateGua"` // Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region. OperatingRegions []VpcIpamOperatingRegion `pulumi:"operatingRegions"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -211,6 +219,8 @@ type VpcIpamArgs struct { Cascade pulumi.BoolPtrInput // A description for the IPAM. Description pulumi.StringPtrInput + // Enable this option to use your own GUA ranges as private IPv6 addresses. Default: `false`. + EnablePrivateGua pulumi.BoolPtrInput // Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region. OperatingRegions VpcIpamOperatingRegionArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. @@ -331,6 +341,11 @@ func (o VpcIpamOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcIpam) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } +// Enable this option to use your own GUA ranges as private IPv6 addresses. Default: `false`. +func (o VpcIpamOutput) EnablePrivateGua() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *VpcIpam) pulumi.BoolPtrOutput { return v.EnablePrivateGua }).(pulumi.BoolPtrOutput) +} + // Determines which locales can be chosen when you create pools. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the regionName parameter. You **must** set your provider block region as an operating_region. func (o VpcIpamOutput) OperatingRegions() VpcIpamOperatingRegionArrayOutput { return o.ApplyT(func(v *VpcIpam) VpcIpamOperatingRegionArrayOutput { return v.OperatingRegions }).(VpcIpamOperatingRegionArrayOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamOrganizationAdminAccount.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamOrganizationAdminAccount.go index 75884269b..23631b9af 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamOrganizationAdminAccount.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamOrganizationAdminAccount.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// delegated, err := aws.GetCallerIdentity(ctx, nil, nil) +// delegated, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPool.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPool.go index 31be6b216..7012836b0 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPool.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPool.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -74,7 +74,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -163,7 +163,7 @@ type VpcIpamPool struct { PoolDepth pulumi.IntOutput `pulumi:"poolDepth"` // The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`. PublicIpSource pulumi.StringPtrOutput `pulumi:"publicIpSource"` - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported. PubliclyAdvertisable pulumi.BoolPtrOutput `pulumi:"publiclyAdvertisable"` // The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool. SourceIpamPoolId pulumi.StringPtrOutput `pulumi:"sourceIpamPoolId"` @@ -242,7 +242,7 @@ type vpcIpamPoolState struct { PoolDepth *int `pulumi:"poolDepth"` // The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`. PublicIpSource *string `pulumi:"publicIpSource"` - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported. PubliclyAdvertisable *bool `pulumi:"publiclyAdvertisable"` // The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool. SourceIpamPoolId *string `pulumi:"sourceIpamPoolId"` @@ -286,7 +286,7 @@ type VpcIpamPoolState struct { PoolDepth pulumi.IntPtrInput // The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`. PublicIpSource pulumi.StringPtrInput - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported. PubliclyAdvertisable pulumi.BoolPtrInput // The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool. SourceIpamPoolId pulumi.StringPtrInput @@ -330,7 +330,7 @@ type vpcIpamPoolArgs struct { Locale *string `pulumi:"locale"` // The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`. PublicIpSource *string `pulumi:"publicIpSource"` - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported. PubliclyAdvertisable *bool `pulumi:"publiclyAdvertisable"` // The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool. SourceIpamPoolId *string `pulumi:"sourceIpamPoolId"` @@ -365,7 +365,7 @@ type VpcIpamPoolArgs struct { Locale pulumi.StringPtrInput // The IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Valid values are `byoip` or `amazon`. Default is `byoip`. PublicIpSource pulumi.StringPtrInput - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported. PubliclyAdvertisable pulumi.BoolPtrInput // The ID of the source IPAM pool. Use this argument to create a child pool within an existing pool. SourceIpamPoolId pulumi.StringPtrInput @@ -534,7 +534,7 @@ func (o VpcIpamPoolOutput) PublicIpSource() pulumi.StringPtrOutput { return o.ApplyT(func(v *VpcIpamPool) pulumi.StringPtrOutput { return v.PublicIpSource }).(pulumi.StringPtrOutput) } -// Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. +// Defines whether or not IPv6 pool space is publicly advertisable over the internet. This argument is required if `addressFamily = "ipv6"` and `publicIpSource = "byoip"`, default is `false`. This option is not available for IPv4 pool space or if `publicIpSource = "amazon"`. Setting this argument to `true` when it is not available may result in erroneous differences being reported. func (o VpcIpamPoolOutput) PubliclyAdvertisable() pulumi.BoolPtrOutput { return o.ApplyT(func(v *VpcIpamPool) pulumi.BoolPtrOutput { return v.PubliclyAdvertisable }).(pulumi.BoolPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidr.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidr.go index 81f88502f..f10646a52 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidr.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidr.go @@ -36,7 +36,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -86,7 +86,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidrAllocation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidrAllocation.go index 5b6d85e86..9a5e6b076 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidrAllocation.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPoolCidrAllocation.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -90,7 +90,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } @@ -157,7 +157,7 @@ type VpcIpamPoolCidrAllocation struct { // The ID of the pool to which you want to assign a CIDR. IpamPoolId pulumi.StringOutput `pulumi:"ipamPoolId"` // The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-128`. - NetmaskLength pulumi.IntPtrOutput `pulumi:"netmaskLength"` + NetmaskLength pulumi.IntOutput `pulumi:"netmaskLength"` // The ID of the resource. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // The owner of the resource. @@ -381,8 +381,8 @@ func (o VpcIpamPoolCidrAllocationOutput) IpamPoolId() pulumi.StringOutput { } // The netmask length of the CIDR you would like to allocate to the IPAM pool. Valid Values: `0-128`. -func (o VpcIpamPoolCidrAllocationOutput) NetmaskLength() pulumi.IntPtrOutput { - return o.ApplyT(func(v *VpcIpamPoolCidrAllocation) pulumi.IntPtrOutput { return v.NetmaskLength }).(pulumi.IntPtrOutput) +func (o VpcIpamPoolCidrAllocationOutput) NetmaskLength() pulumi.IntOutput { + return o.ApplyT(func(v *VpcIpamPoolCidrAllocation) pulumi.IntOutput { return v.NetmaskLength }).(pulumi.IntOutput) } // The ID of the resource. diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPreviewNextCidr.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPreviewNextCidr.go index cd1251204..7e6539607 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPreviewNextCidr.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamPreviewNextCidr.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamResourceDiscovery.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamResourceDiscovery.go index faf81d66a..9771f3445 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamResourceDiscovery.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamResourceDiscovery.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamScope.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamScope.go index c01c7a41c..54e500ccb 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamScope.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpamScope.go @@ -31,7 +31,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// current, err := aws.GetRegion(ctx, nil, nil) +// current, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpv6CidrBlockAssociation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpv6CidrBlockAssociation.go index 366ef2f1a..9f26045b8 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpv6CidrBlockAssociation.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcIpv6CidrBlockAssociation.go @@ -59,12 +59,20 @@ import ( type VpcIpv6CidrBlockAssociation struct { pulumi.CustomResourceState - // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. + // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6PamPoolId`, `ipv6Pool`, `ipv6CidrBlock` and `ipv6NetmaskLength`. + AssignGeneratedIpv6CidrBlock pulumi.BoolOutput `pulumi:"assignGeneratedIpv6CidrBlock"` + // The source that allocated the IP address space. Values: `amazon`, `byoip`, `none`. + IpSource pulumi.StringOutput `pulumi:"ipSource"` + // Public IPv6 addresses are those advertised on the internet from AWS. Private IP addresses are not and cannot be advertised on the internet from AWS. Values: `public`, `private`. + Ipv6AddressAttribute pulumi.StringOutput `pulumi:"ipv6AddressAttribute"` + // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6CidrBlock pulumi.StringOutput `pulumi:"ipv6CidrBlock"` - // The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. - Ipv6IpamPoolId pulumi.StringOutput `pulumi:"ipv6IpamPoolId"` - // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required + // - (Optional) The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Conflict with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. + Ipv6IpamPoolId pulumi.StringPtrOutput `pulumi:"ipv6IpamPoolId"` + // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `ipv6CidrBlock` are required. Conflicts with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6NetmaskLength pulumi.IntPtrOutput `pulumi:"ipv6NetmaskLength"` + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. Conflicts with `ipv6PamPoolId`, `ipv6Pool`. + Ipv6Pool pulumi.StringOutput `pulumi:"ipv6Pool"` // The ID of the VPC to make the association with. VpcId pulumi.StringOutput `pulumi:"vpcId"` } @@ -76,9 +84,6 @@ func NewVpcIpv6CidrBlockAssociation(ctx *pulumi.Context, return nil, errors.New("missing one or more required arguments") } - if args.Ipv6IpamPoolId == nil { - return nil, errors.New("invalid value for required argument 'Ipv6IpamPoolId'") - } if args.VpcId == nil { return nil, errors.New("invalid value for required argument 'VpcId'") } @@ -105,23 +110,39 @@ func GetVpcIpv6CidrBlockAssociation(ctx *pulumi.Context, // Input properties used for looking up and filtering VpcIpv6CidrBlockAssociation resources. type vpcIpv6CidrBlockAssociationState struct { - // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. + // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6PamPoolId`, `ipv6Pool`, `ipv6CidrBlock` and `ipv6NetmaskLength`. + AssignGeneratedIpv6CidrBlock *bool `pulumi:"assignGeneratedIpv6CidrBlock"` + // The source that allocated the IP address space. Values: `amazon`, `byoip`, `none`. + IpSource *string `pulumi:"ipSource"` + // Public IPv6 addresses are those advertised on the internet from AWS. Private IP addresses are not and cannot be advertised on the internet from AWS. Values: `public`, `private`. + Ipv6AddressAttribute *string `pulumi:"ipv6AddressAttribute"` + // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"` - // The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. + // - (Optional) The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Conflict with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6IpamPoolId *string `pulumi:"ipv6IpamPoolId"` - // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required + // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `ipv6CidrBlock` are required. Conflicts with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6NetmaskLength *int `pulumi:"ipv6NetmaskLength"` + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. Conflicts with `ipv6PamPoolId`, `ipv6Pool`. + Ipv6Pool *string `pulumi:"ipv6Pool"` // The ID of the VPC to make the association with. VpcId *string `pulumi:"vpcId"` } type VpcIpv6CidrBlockAssociationState struct { - // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. + // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6PamPoolId`, `ipv6Pool`, `ipv6CidrBlock` and `ipv6NetmaskLength`. + AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput + // The source that allocated the IP address space. Values: `amazon`, `byoip`, `none`. + IpSource pulumi.StringPtrInput + // Public IPv6 addresses are those advertised on the internet from AWS. Private IP addresses are not and cannot be advertised on the internet from AWS. Values: `public`, `private`. + Ipv6AddressAttribute pulumi.StringPtrInput + // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6CidrBlock pulumi.StringPtrInput - // The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. + // - (Optional) The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Conflict with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6IpamPoolId pulumi.StringPtrInput - // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required + // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `ipv6CidrBlock` are required. Conflicts with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6NetmaskLength pulumi.IntPtrInput + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. Conflicts with `ipv6PamPoolId`, `ipv6Pool`. + Ipv6Pool pulumi.StringPtrInput // The ID of the VPC to make the association with. VpcId pulumi.StringPtrInput } @@ -131,24 +152,32 @@ func (VpcIpv6CidrBlockAssociationState) ElementType() reflect.Type { } type vpcIpv6CidrBlockAssociationArgs struct { - // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. + // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6PamPoolId`, `ipv6Pool`, `ipv6CidrBlock` and `ipv6NetmaskLength`. + AssignGeneratedIpv6CidrBlock *bool `pulumi:"assignGeneratedIpv6CidrBlock"` + // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6CidrBlock *string `pulumi:"ipv6CidrBlock"` - // The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. - Ipv6IpamPoolId string `pulumi:"ipv6IpamPoolId"` - // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required + // - (Optional) The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Conflict with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. + Ipv6IpamPoolId *string `pulumi:"ipv6IpamPoolId"` + // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `ipv6CidrBlock` are required. Conflicts with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6NetmaskLength *int `pulumi:"ipv6NetmaskLength"` + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. Conflicts with `ipv6PamPoolId`, `ipv6Pool`. + Ipv6Pool *string `pulumi:"ipv6Pool"` // The ID of the VPC to make the association with. VpcId string `pulumi:"vpcId"` } // The set of arguments for constructing a VpcIpv6CidrBlockAssociation resource. type VpcIpv6CidrBlockAssociationArgs struct { - // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. + // Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6PamPoolId`, `ipv6Pool`, `ipv6CidrBlock` and `ipv6NetmaskLength`. + AssignGeneratedIpv6CidrBlock pulumi.BoolPtrInput + // The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. Conflicts with `assignGeneratedIpv6CidrBlock`. Ipv6CidrBlock pulumi.StringPtrInput - // The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. - Ipv6IpamPoolId pulumi.StringInput - // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required + // - (Optional) The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Conflict with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. + Ipv6IpamPoolId pulumi.StringPtrInput + // The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `ipv6CidrBlock` are required. Conflicts with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. Ipv6NetmaskLength pulumi.IntPtrInput + // The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. Conflicts with `ipv6PamPoolId`, `ipv6Pool`. + Ipv6Pool pulumi.StringPtrInput // The ID of the VPC to make the association with. VpcId pulumi.StringInput } @@ -240,21 +269,41 @@ func (o VpcIpv6CidrBlockAssociationOutput) ToVpcIpv6CidrBlockAssociationOutputWi return o } -// The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. +// Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block. Default is `false`. Conflicts with `ipv6PamPoolId`, `ipv6Pool`, `ipv6CidrBlock` and `ipv6NetmaskLength`. +func (o VpcIpv6CidrBlockAssociationOutput) AssignGeneratedIpv6CidrBlock() pulumi.BoolOutput { + return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.BoolOutput { return v.AssignGeneratedIpv6CidrBlock }).(pulumi.BoolOutput) +} + +// The source that allocated the IP address space. Values: `amazon`, `byoip`, `none`. +func (o VpcIpv6CidrBlockAssociationOutput) IpSource() pulumi.StringOutput { + return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringOutput { return v.IpSource }).(pulumi.StringOutput) +} + +// Public IPv6 addresses are those advertised on the internet from AWS. Private IP addresses are not and cannot be advertised on the internet from AWS. Values: `public`, `private`. +func (o VpcIpv6CidrBlockAssociationOutput) Ipv6AddressAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringOutput { return v.Ipv6AddressAttribute }).(pulumi.StringOutput) +} + +// The IPv6 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv6NetmaskLength`. This parameter is required if `ipv6NetmaskLength` is not set and the IPAM pool does not have `allocationDefaultNetmask` set. Conflicts with `assignGeneratedIpv6CidrBlock`. func (o VpcIpv6CidrBlockAssociationOutput) Ipv6CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringOutput { return v.Ipv6CidrBlock }).(pulumi.StringOutput) } -// The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. -func (o VpcIpv6CidrBlockAssociationOutput) Ipv6IpamPoolId() pulumi.StringOutput { - return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringOutput { return v.Ipv6IpamPoolId }).(pulumi.StringOutput) +// - (Optional) The ID of an IPv6 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Conflict with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. +func (o VpcIpv6CidrBlockAssociationOutput) Ipv6IpamPoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringPtrOutput { return v.Ipv6IpamPoolId }).(pulumi.StringPtrOutput) } -// The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `cidrBlock` are required +// The netmask length of the IPv6 CIDR you want to allocate to this VPC. Requires specifying a `ipv6IpamPoolId`. This parameter is optional if the IPAM pool has `allocationDefaultNetmask` set, otherwise it or `ipv6CidrBlock` are required. Conflicts with `assignGeneratedIpv6CidrBlock` and `ipv6IpamPoolId`. func (o VpcIpv6CidrBlockAssociationOutput) Ipv6NetmaskLength() pulumi.IntPtrOutput { return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.IntPtrOutput { return v.Ipv6NetmaskLength }).(pulumi.IntPtrOutput) } +// The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. Conflicts with `ipv6PamPoolId`, `ipv6Pool`. +func (o VpcIpv6CidrBlockAssociationOutput) Ipv6Pool() pulumi.StringOutput { + return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringOutput { return v.Ipv6Pool }).(pulumi.StringOutput) +} + // The ID of the VPC to make the association with. func (o VpcIpv6CidrBlockAssociationOutput) VpcId() pulumi.StringOutput { return o.ApplyT(func(v *VpcIpv6CidrBlockAssociation) pulumi.StringOutput { return v.VpcId }).(pulumi.StringOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcPeeringConnectionAccepter.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcPeeringConnectionAccepter.go index bb2c44d9c..ccadb1531 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcPeeringConnectionAccepter.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpcPeeringConnectionAccepter.go @@ -48,7 +48,7 @@ import ( // if err != nil { // return err // } -// peer, err := aws.GetCallerIdentity(ctx, nil, nil) +// peer, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil) // if err != nil { // return err // } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpnConnection.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpnConnection.go index c07e54338..a521db051 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpnConnection.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2/vpnConnection.go @@ -172,9 +172,9 @@ import ( // CustomerGatewayId: exampleCustomerGateway.ID(), // OutsideIpAddressType: pulumi.String("PrivateIpv4"), // TransitGatewayId: exampleTransitGateway.ID(), -// TransportTransitGatewayAttachmentId: example.ApplyT(func(example ec2transitgateway.GetDirectConnectGatewayAttachmentResult) (*string, error) { +// TransportTransitGatewayAttachmentId: pulumi.String(example.ApplyT(func(example ec2transitgateway.GetDirectConnectGatewayAttachmentResult) (*string, error) { // return &example.Id, nil -// }).(pulumi.StringPtrOutput), +// }).(pulumi.StringPtrOutput)), // Type: pulumi.String("ipsec.1"), // Tags: pulumi.StringMap{ // "Name": pulumi.String("example_ipsec_vpn_example"), diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal/pulumiUtilities.go index d4f2d9673..ff8c02833 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("6.39.0") + version := semver.MustParse("6.64.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("6.39.0") + version := semver.MustParse("6.64.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getHostedZoneId.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getHostedZoneId.go index 758e01d47..daf8f33ee 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getHostedZoneId.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getHostedZoneId.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// main, err := lb.GetHostedZoneId(ctx, nil, nil) +// main, err := lb.GetHostedZoneId(ctx, &lb.GetHostedZoneIdArgs{}, nil) // if err != nil { // return err // } @@ -81,14 +81,20 @@ type GetHostedZoneIdResult struct { func GetHostedZoneIdOutput(ctx *pulumi.Context, args GetHostedZoneIdOutputArgs, opts ...pulumi.InvokeOption) GetHostedZoneIdResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetHostedZoneIdResult, error) { + ApplyT(func(v interface{}) (GetHostedZoneIdResultOutput, error) { args := v.(GetHostedZoneIdArgs) - r, err := GetHostedZoneId(ctx, &args, opts...) - var s GetHostedZoneIdResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetHostedZoneIdResult + secret, err := ctx.InvokePackageRaw("aws:lb/getHostedZoneId:getHostedZoneId", args, &rv, "", opts...) + if err != nil { + return GetHostedZoneIdResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetHostedZoneIdResultOutput) + if secret { + return pulumi.ToSecret(output).(GetHostedZoneIdResultOutput), nil + } + return output, nil }).(GetHostedZoneIdResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLbs.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLbs.go index c48d116dd..6b15af59a 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLbs.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLbs.go @@ -71,14 +71,20 @@ type GetLbsResult struct { func GetLbsOutput(ctx *pulumi.Context, args GetLbsOutputArgs, opts ...pulumi.InvokeOption) GetLbsResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetLbsResult, error) { + ApplyT(func(v interface{}) (GetLbsResultOutput, error) { args := v.(GetLbsArgs) - r, err := GetLbs(ctx, &args, opts...) - var s GetLbsResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetLbsResult + secret, err := ctx.InvokePackageRaw("aws:lb/getLbs:getLbs", args, &rv, "", opts...) + if err != nil { + return GetLbsResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetLbsResultOutput) + if secret { + return pulumi.ToSecret(output).(GetLbsResultOutput), nil + } + return output, nil }).(GetLbsResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListener.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListener.go index fe113cda4..93e000cb2 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListener.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListener.go @@ -98,14 +98,20 @@ type LookupListenerResult struct { func LookupListenerOutput(ctx *pulumi.Context, args LookupListenerOutputArgs, opts ...pulumi.InvokeOption) LookupListenerResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupListenerResult, error) { + ApplyT(func(v interface{}) (LookupListenerResultOutput, error) { args := v.(LookupListenerArgs) - r, err := LookupListener(ctx, &args, opts...) - var s LookupListenerResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupListenerResult + secret, err := ctx.InvokePackageRaw("aws:lb/getListener:getListener", args, &rv, "", opts...) + if err != nil { + return LookupListenerResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupListenerResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupListenerResultOutput), nil + } + return output, nil }).(LookupListenerResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListenerRule.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListenerRule.go new file mode 100644 index 000000000..a5cc9b308 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getListenerRule.go @@ -0,0 +1,218 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package lb + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Provides information about an AWS Elastic Load Balancing Listener Rule. +// +// ## Example Usage +// +// ### Match by Rule ARN +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// lbRuleArn := cfg.Require("lbRuleArn") +// _, err := lb.LookupListenerRule(ctx, &lb.LookupListenerRuleArgs{ +// Arn: pulumi.StringRef(lbRuleArn), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ### Match by Listener ARN and Priority +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// lbListenerArn := cfg.Require("lbListenerArn") +// lbRulePriority := cfg.RequireFloat64("lbRulePriority") +// _, err := lb.LookupListenerRule(ctx, &lb.LookupListenerRuleArgs{ +// ListenerArn: pulumi.StringRef(lbListenerArn), +// Priority: pulumi.Float64Ref(lbRulePriority), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupListenerRule(ctx *pulumi.Context, args *LookupListenerRuleArgs, opts ...pulumi.InvokeOption) (*LookupListenerRuleResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupListenerRuleResult + err := ctx.Invoke("aws:lb/getListenerRule:getListenerRule", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getListenerRule. +type LookupListenerRuleArgs struct { + // List of actions associated with the rule, sorted by `order`. + // Detailed below. + Actions []GetListenerRuleAction `pulumi:"actions"` + // ARN of the Listener Rule. + // Either `arn` or `listenerArn` must be set. + Arn *string `pulumi:"arn"` + // Set of conditions associated with the rule. + // Detailed below. + Conditions []GetListenerRuleCondition `pulumi:"conditions"` + // ARN of the associated Listener. + // Either `arn` or `listenerArn` must be set. + ListenerArn *string `pulumi:"listenerArn"` + // Priority of the Listener Rule within the Listener. + // Must be set if `listenerArn` is set, otherwise must not be set. + Priority *float64 `pulumi:"priority"` +} + +// A collection of values returned by getListenerRule. +type LookupListenerRuleResult struct { + // List of actions associated with the rule, sorted by `order`. + // Detailed below. + Actions []GetListenerRuleAction `pulumi:"actions"` + // ARN of the target group. + Arn string `pulumi:"arn"` + // Set of conditions associated with the rule. + // Detailed below. + Conditions []GetListenerRuleCondition `pulumi:"conditions"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + ListenerArn string `pulumi:"listenerArn"` + Priority float64 `pulumi:"priority"` + // Tags assigned to the Listener Rule. + Tags map[string]string `pulumi:"tags"` +} + +func LookupListenerRuleOutput(ctx *pulumi.Context, args LookupListenerRuleOutputArgs, opts ...pulumi.InvokeOption) LookupListenerRuleResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupListenerRuleResultOutput, error) { + args := v.(LookupListenerRuleArgs) + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupListenerRuleResult + secret, err := ctx.InvokePackageRaw("aws:lb/getListenerRule:getListenerRule", args, &rv, "", opts...) + if err != nil { + return LookupListenerRuleResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupListenerRuleResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupListenerRuleResultOutput), nil + } + return output, nil + }).(LookupListenerRuleResultOutput) +} + +// A collection of arguments for invoking getListenerRule. +type LookupListenerRuleOutputArgs struct { + // List of actions associated with the rule, sorted by `order`. + // Detailed below. + Actions GetListenerRuleActionArrayInput `pulumi:"actions"` + // ARN of the Listener Rule. + // Either `arn` or `listenerArn` must be set. + Arn pulumi.StringPtrInput `pulumi:"arn"` + // Set of conditions associated with the rule. + // Detailed below. + Conditions GetListenerRuleConditionArrayInput `pulumi:"conditions"` + // ARN of the associated Listener. + // Either `arn` or `listenerArn` must be set. + ListenerArn pulumi.StringPtrInput `pulumi:"listenerArn"` + // Priority of the Listener Rule within the Listener. + // Must be set if `listenerArn` is set, otherwise must not be set. + Priority pulumi.Float64PtrInput `pulumi:"priority"` +} + +func (LookupListenerRuleOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupListenerRuleArgs)(nil)).Elem() +} + +// A collection of values returned by getListenerRule. +type LookupListenerRuleResultOutput struct{ *pulumi.OutputState } + +func (LookupListenerRuleResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupListenerRuleResult)(nil)).Elem() +} + +func (o LookupListenerRuleResultOutput) ToLookupListenerRuleResultOutput() LookupListenerRuleResultOutput { + return o +} + +func (o LookupListenerRuleResultOutput) ToLookupListenerRuleResultOutputWithContext(ctx context.Context) LookupListenerRuleResultOutput { + return o +} + +// List of actions associated with the rule, sorted by `order`. +// Detailed below. +func (o LookupListenerRuleResultOutput) Actions() GetListenerRuleActionArrayOutput { + return o.ApplyT(func(v LookupListenerRuleResult) []GetListenerRuleAction { return v.Actions }).(GetListenerRuleActionArrayOutput) +} + +// ARN of the target group. +func (o LookupListenerRuleResultOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v LookupListenerRuleResult) string { return v.Arn }).(pulumi.StringOutput) +} + +// Set of conditions associated with the rule. +// Detailed below. +func (o LookupListenerRuleResultOutput) Conditions() GetListenerRuleConditionArrayOutput { + return o.ApplyT(func(v LookupListenerRuleResult) []GetListenerRuleCondition { return v.Conditions }).(GetListenerRuleConditionArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupListenerRuleResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupListenerRuleResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupListenerRuleResultOutput) ListenerArn() pulumi.StringOutput { + return o.ApplyT(func(v LookupListenerRuleResult) string { return v.ListenerArn }).(pulumi.StringOutput) +} + +func (o LookupListenerRuleResultOutput) Priority() pulumi.Float64Output { + return o.ApplyT(func(v LookupListenerRuleResult) float64 { return v.Priority }).(pulumi.Float64Output) +} + +// Tags assigned to the Listener Rule. +func (o LookupListenerRuleResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupListenerRuleResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupListenerRuleResultOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLoadBalancer.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLoadBalancer.go index cbb46799b..c2c98e7ec 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLoadBalancer.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getLoadBalancer.go @@ -95,6 +95,7 @@ type LookupLoadBalancerResult struct { EnableTlsVersionAndCipherSuiteHeaders bool `pulumi:"enableTlsVersionAndCipherSuiteHeaders"` EnableWafFailOpen bool `pulumi:"enableWafFailOpen"` EnableXffClientPort bool `pulumi:"enableXffClientPort"` + EnableZonalShift bool `pulumi:"enableZonalShift"` EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic string `pulumi:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` @@ -115,14 +116,20 @@ type LookupLoadBalancerResult struct { func LookupLoadBalancerOutput(ctx *pulumi.Context, args LookupLoadBalancerOutputArgs, opts ...pulumi.InvokeOption) LookupLoadBalancerResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupLoadBalancerResult, error) { + ApplyT(func(v interface{}) (LookupLoadBalancerResultOutput, error) { args := v.(LookupLoadBalancerArgs) - r, err := LookupLoadBalancer(ctx, &args, opts...) - var s LookupLoadBalancerResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupLoadBalancerResult + secret, err := ctx.InvokePackageRaw("aws:lb/getLoadBalancer:getLoadBalancer", args, &rv, "", opts...) + if err != nil { + return LookupLoadBalancerResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupLoadBalancerResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupLoadBalancerResultOutput), nil + } + return output, nil }).(LookupLoadBalancerResultOutput) } @@ -221,6 +228,10 @@ func (o LookupLoadBalancerResultOutput) EnableXffClientPort() pulumi.BoolOutput return o.ApplyT(func(v LookupLoadBalancerResult) bool { return v.EnableXffClientPort }).(pulumi.BoolOutput) } +func (o LookupLoadBalancerResultOutput) EnableZonalShift() pulumi.BoolOutput { + return o.ApplyT(func(v LookupLoadBalancerResult) bool { return v.EnableZonalShift }).(pulumi.BoolOutput) +} + func (o LookupLoadBalancerResultOutput) EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() pulumi.StringOutput { return o.ApplyT(func(v LookupLoadBalancerResult) string { return v.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTargetGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTargetGroup.go index 18b27d76b..9443b4ea7 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTargetGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTargetGroup.go @@ -107,14 +107,20 @@ type LookupTargetGroupResult struct { func LookupTargetGroupOutput(ctx *pulumi.Context, args LookupTargetGroupOutputArgs, opts ...pulumi.InvokeOption) LookupTargetGroupResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupTargetGroupResult, error) { + ApplyT(func(v interface{}) (LookupTargetGroupResultOutput, error) { args := v.(LookupTargetGroupArgs) - r, err := LookupTargetGroup(ctx, &args, opts...) - var s LookupTargetGroupResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupTargetGroupResult + secret, err := ctx.InvokePackageRaw("aws:lb/getTargetGroup:getTargetGroup", args, &rv, "", opts...) + if err != nil { + return LookupTargetGroupResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupTargetGroupResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupTargetGroupResultOutput), nil + } + return output, nil }).(LookupTargetGroupResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTrustStore.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTrustStore.go index c258a5fae..848c09676 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTrustStore.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/getTrustStore.go @@ -85,14 +85,20 @@ type LookupTrustStoreResult struct { func LookupTrustStoreOutput(ctx *pulumi.Context, args LookupTrustStoreOutputArgs, opts ...pulumi.InvokeOption) LookupTrustStoreResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupTrustStoreResult, error) { + ApplyT(func(v interface{}) (LookupTrustStoreResultOutput, error) { args := v.(LookupTrustStoreArgs) - r, err := LookupTrustStore(ctx, &args, opts...) - var s LookupTrustStoreResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupTrustStoreResult + secret, err := ctx.InvokePackageRaw("aws:lb/getTrustStore:getTrustStore", args, &rv, "", opts...) + if err != nil { + return LookupTrustStoreResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(LookupTrustStoreResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupTrustStoreResultOutput), nil + } + return output, nil }).(LookupTrustStoreResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/listener.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/listener.go index 76dbac5fe..5af77433e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/listener.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/listener.go @@ -80,6 +80,7 @@ import ( // LoadBalancerArn: pulumi.Any(frontEndAwsLb.Arn), // Port: pulumi.Int(443), // Protocol: pulumi.String("TLS"), +// SslPolicy: pulumi.String("ELBSecurityPolicy-2016-08"), // CertificateArn: pulumi.String("arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4"), // AlpnPolicy: pulumi.String("HTTP2Preferred"), // DefaultActions: lb.ListenerDefaultActionArray{ @@ -417,28 +418,28 @@ type Listener struct { Arn pulumi.StringOutput `pulumi:"arn"` // ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource. CertificateArn pulumi.StringPtrOutput `pulumi:"certificateArn"` - // Configuration block for default actions. Detailed below. + // Configuration block for default actions. See below. DefaultActions ListenerDefaultActionArrayOutput `pulumi:"defaultActions"` // ARN of the load balancer. // // The following arguments are optional: LoadBalancerArn pulumi.StringOutput `pulumi:"loadBalancerArn"` - // The mutual authentication configuration information. Detailed below. + // The mutual authentication configuration information. See below. MutualAuthentication ListenerMutualAuthenticationOutput `pulumi:"mutualAuthentication"` // Port on which the load balancer is listening. Not valid for Gateway Load Balancers. Port pulumi.IntPtrOutput `pulumi:"port"` // Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers. Protocol pulumi.StringOutput `pulumi:"protocol"` - // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. + // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`. SslPolicy pulumi.StringOutput `pulumi:"sslPolicy"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - // - // > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` + // TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`. + TcpIdleTimeoutSeconds pulumi.IntOutput `pulumi:"tcpIdleTimeoutSeconds"` } // NewListener registers a new resource with the given unique name, arguments, and options. @@ -489,28 +490,28 @@ type listenerState struct { Arn *string `pulumi:"arn"` // ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource. CertificateArn *string `pulumi:"certificateArn"` - // Configuration block for default actions. Detailed below. + // Configuration block for default actions. See below. DefaultActions []ListenerDefaultAction `pulumi:"defaultActions"` // ARN of the load balancer. // // The following arguments are optional: LoadBalancerArn *string `pulumi:"loadBalancerArn"` - // The mutual authentication configuration information. Detailed below. + // The mutual authentication configuration information. See below. MutualAuthentication *ListenerMutualAuthentication `pulumi:"mutualAuthentication"` // Port on which the load balancer is listening. Not valid for Gateway Load Balancers. Port *int `pulumi:"port"` // Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers. Protocol *string `pulumi:"protocol"` - // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. + // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`. SslPolicy *string `pulumi:"sslPolicy"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - // - // > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol. Tags map[string]string `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll map[string]string `pulumi:"tagsAll"` + // TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`. + TcpIdleTimeoutSeconds *int `pulumi:"tcpIdleTimeoutSeconds"` } type ListenerState struct { @@ -520,28 +521,28 @@ type ListenerState struct { Arn pulumi.StringPtrInput // ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource. CertificateArn pulumi.StringPtrInput - // Configuration block for default actions. Detailed below. + // Configuration block for default actions. See below. DefaultActions ListenerDefaultActionArrayInput // ARN of the load balancer. // // The following arguments are optional: LoadBalancerArn pulumi.StringPtrInput - // The mutual authentication configuration information. Detailed below. + // The mutual authentication configuration information. See below. MutualAuthentication ListenerMutualAuthenticationPtrInput // Port on which the load balancer is listening. Not valid for Gateway Load Balancers. Port pulumi.IntPtrInput // Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers. Protocol pulumi.StringPtrInput - // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. + // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`. SslPolicy pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - // - // > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput + // TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`. + TcpIdleTimeoutSeconds pulumi.IntPtrInput } func (ListenerState) ElementType() reflect.Type { @@ -553,24 +554,24 @@ type listenerArgs struct { AlpnPolicy *string `pulumi:"alpnPolicy"` // ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource. CertificateArn *string `pulumi:"certificateArn"` - // Configuration block for default actions. Detailed below. + // Configuration block for default actions. See below. DefaultActions []ListenerDefaultAction `pulumi:"defaultActions"` // ARN of the load balancer. // // The following arguments are optional: LoadBalancerArn string `pulumi:"loadBalancerArn"` - // The mutual authentication configuration information. Detailed below. + // The mutual authentication configuration information. See below. MutualAuthentication *ListenerMutualAuthentication `pulumi:"mutualAuthentication"` // Port on which the load balancer is listening. Not valid for Gateway Load Balancers. Port *int `pulumi:"port"` // Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers. Protocol *string `pulumi:"protocol"` - // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. + // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`. SslPolicy *string `pulumi:"sslPolicy"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - // - // > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol. Tags map[string]string `pulumi:"tags"` + // TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`. + TcpIdleTimeoutSeconds *int `pulumi:"tcpIdleTimeoutSeconds"` } // The set of arguments for constructing a Listener resource. @@ -579,24 +580,24 @@ type ListenerArgs struct { AlpnPolicy pulumi.StringPtrInput // ARN of the default SSL server certificate. Exactly one certificate is required if the protocol is HTTPS. For adding additional SSL certificates, see the `lb.ListenerCertificate` resource. CertificateArn pulumi.StringPtrInput - // Configuration block for default actions. Detailed below. + // Configuration block for default actions. See below. DefaultActions ListenerDefaultActionArrayInput // ARN of the load balancer. // // The following arguments are optional: LoadBalancerArn pulumi.StringInput - // The mutual authentication configuration information. Detailed below. + // The mutual authentication configuration information. See below. MutualAuthentication ListenerMutualAuthenticationPtrInput // Port on which the load balancer is listening. Not valid for Gateway Load Balancers. Port pulumi.IntPtrInput // Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers. Protocol pulumi.StringPtrInput - // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. + // Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`. SslPolicy pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. - // - // > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol. Tags pulumi.StringMapInput + // TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`. + TcpIdleTimeoutSeconds pulumi.IntPtrInput } func (ListenerArgs) ElementType() reflect.Type { @@ -701,7 +702,7 @@ func (o ListenerOutput) CertificateArn() pulumi.StringPtrOutput { return o.ApplyT(func(v *Listener) pulumi.StringPtrOutput { return v.CertificateArn }).(pulumi.StringPtrOutput) } -// Configuration block for default actions. Detailed below. +// Configuration block for default actions. See below. func (o ListenerOutput) DefaultActions() ListenerDefaultActionArrayOutput { return o.ApplyT(func(v *Listener) ListenerDefaultActionArrayOutput { return v.DefaultActions }).(ListenerDefaultActionArrayOutput) } @@ -713,7 +714,7 @@ func (o ListenerOutput) LoadBalancerArn() pulumi.StringOutput { return o.ApplyT(func(v *Listener) pulumi.StringOutput { return v.LoadBalancerArn }).(pulumi.StringOutput) } -// The mutual authentication configuration information. Detailed below. +// The mutual authentication configuration information. See below. func (o ListenerOutput) MutualAuthentication() ListenerMutualAuthenticationOutput { return o.ApplyT(func(v *Listener) ListenerMutualAuthenticationOutput { return v.MutualAuthentication }).(ListenerMutualAuthenticationOutput) } @@ -728,14 +729,12 @@ func (o ListenerOutput) Protocol() pulumi.StringOutput { return o.ApplyT(func(v *Listener) pulumi.StringOutput { return v.Protocol }).(pulumi.StringOutput) } -// Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. +// Name of the SSL Policy for the listener. Required if `protocol` is `HTTPS` or `TLS`. Default is `ELBSecurityPolicy-2016-08`. func (o ListenerOutput) SslPolicy() pulumi.StringOutput { return o.ApplyT(func(v *Listener) pulumi.StringOutput { return v.SslPolicy }).(pulumi.StringOutput) } // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. -// -// > **NOTE::** Please note that listeners that are attached to Application Load Balancers must use either `HTTP` or `HTTPS` protocols while listeners that are attached to Network Load Balancers must use the `TCP` protocol. func (o ListenerOutput) Tags() pulumi.StringMapOutput { return o.ApplyT(func(v *Listener) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) } @@ -747,6 +746,11 @@ func (o ListenerOutput) TagsAll() pulumi.StringMapOutput { return o.ApplyT(func(v *Listener) pulumi.StringMapOutput { return v.TagsAll }).(pulumi.StringMapOutput) } +// TCP idle timeout value in seconds. Can only be set if protocol is `TCP` on Network Load Balancer, or with a Gateway Load Balancer. Not supported for Application Load Balancers. Valid values are between `60` and `6000` inclusive. Default: `350`. +func (o ListenerOutput) TcpIdleTimeoutSeconds() pulumi.IntOutput { + return o.ApplyT(func(v *Listener) pulumi.IntOutput { return v.TcpIdleTimeoutSeconds }).(pulumi.IntOutput) +} + type ListenerArrayOutput struct{ *pulumi.OutputState } func (ListenerArrayOutput) ElementType() reflect.Type { diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/loadBalancer.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/loadBalancer.go index 6823fc1fb..9f8c5af71 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/loadBalancer.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/loadBalancer.go @@ -133,13 +133,15 @@ type LoadBalancer struct { EnableWafFailOpen pulumi.BoolPtrOutput `pulumi:"enableWafFailOpen"` // Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`. EnableXffClientPort pulumi.BoolPtrOutput `pulumi:"enableXffClientPort"` + // Whether zonal shift is enabled. Defaults to `false`. + EnableZonalShift pulumi.BoolPtrOutput `pulumi:"enableZonalShift"` // Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`. EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic pulumi.StringOutput `pulumi:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic"` // Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout pulumi.IntPtrOutput `pulumi:"idleTimeout"` // If true, the LB will be internal. Defaults to `false`. Internal pulumi.BoolOutput `pulumi:"internal"` - // Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`. + // Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only). IpAddressType pulumi.StringOutput `pulumi:"ipAddressType"` // Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`. LoadBalancerType pulumi.StringPtrOutput `pulumi:"loadBalancerType"` @@ -236,13 +238,15 @@ type loadBalancerState struct { EnableWafFailOpen *bool `pulumi:"enableWafFailOpen"` // Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`. EnableXffClientPort *bool `pulumi:"enableXffClientPort"` + // Whether zonal shift is enabled. Defaults to `false`. + EnableZonalShift *bool `pulumi:"enableZonalShift"` // Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`. EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `pulumi:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic"` // Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout *int `pulumi:"idleTimeout"` // If true, the LB will be internal. Defaults to `false`. Internal *bool `pulumi:"internal"` - // Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`. + // Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only). IpAddressType *string `pulumi:"ipAddressType"` // Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`. LoadBalancerType *string `pulumi:"loadBalancerType"` @@ -304,13 +308,15 @@ type LoadBalancerState struct { EnableWafFailOpen pulumi.BoolPtrInput // Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`. EnableXffClientPort pulumi.BoolPtrInput + // Whether zonal shift is enabled. Defaults to `false`. + EnableZonalShift pulumi.BoolPtrInput // Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`. EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic pulumi.StringPtrInput // Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout pulumi.IntPtrInput // If true, the LB will be internal. Defaults to `false`. Internal pulumi.BoolPtrInput - // Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`. + // Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only). IpAddressType pulumi.StringPtrInput // Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`. LoadBalancerType pulumi.StringPtrInput @@ -370,13 +376,15 @@ type loadBalancerArgs struct { EnableWafFailOpen *bool `pulumi:"enableWafFailOpen"` // Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`. EnableXffClientPort *bool `pulumi:"enableXffClientPort"` + // Whether zonal shift is enabled. Defaults to `false`. + EnableZonalShift *bool `pulumi:"enableZonalShift"` // Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`. EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *string `pulumi:"enforceSecurityGroupInboundRulesOnPrivateLinkTraffic"` // Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout *int `pulumi:"idleTimeout"` // If true, the LB will be internal. Defaults to `false`. Internal *bool `pulumi:"internal"` - // Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`. + // Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only). IpAddressType *string `pulumi:"ipAddressType"` // Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`. LoadBalancerType *string `pulumi:"loadBalancerType"` @@ -426,13 +434,15 @@ type LoadBalancerArgs struct { EnableWafFailOpen pulumi.BoolPtrInput // Whether the X-Forwarded-For header should preserve the source port that the client used to connect to the load balancer in `application` load balancers. Defaults to `false`. EnableXffClientPort pulumi.BoolPtrInput + // Whether zonal shift is enabled. Defaults to `false`. + EnableZonalShift pulumi.BoolPtrInput // Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`. EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic pulumi.StringPtrInput // Time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type `application`. Default: 60. IdleTimeout pulumi.IntPtrInput // If true, the LB will be internal. Defaults to `false`. Internal pulumi.BoolPtrInput - // Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`. + // Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only). IpAddressType pulumi.StringPtrInput // Type of load balancer to create. Possible values are `application`, `gateway`, or `network`. The default value is `application`. LoadBalancerType pulumi.StringPtrInput @@ -621,6 +631,11 @@ func (o LoadBalancerOutput) EnableXffClientPort() pulumi.BoolPtrOutput { return o.ApplyT(func(v *LoadBalancer) pulumi.BoolPtrOutput { return v.EnableXffClientPort }).(pulumi.BoolPtrOutput) } +// Whether zonal shift is enabled. Defaults to `false`. +func (o LoadBalancerOutput) EnableZonalShift() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LoadBalancer) pulumi.BoolPtrOutput { return v.EnableZonalShift }).(pulumi.BoolPtrOutput) +} + // Whether inbound security group rules are enforced for traffic originating from a PrivateLink. Only valid for Load Balancers of type `network`. The possible values are `on` and `off`. func (o LoadBalancerOutput) EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() pulumi.StringOutput { return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { @@ -638,7 +653,7 @@ func (o LoadBalancerOutput) Internal() pulumi.BoolOutput { return o.ApplyT(func(v *LoadBalancer) pulumi.BoolOutput { return v.Internal }).(pulumi.BoolOutput) } -// Type of IP addresses used by the subnets for your load balancer. The possible values are `ipv4` and `dualstack`. +// Type of IP addresses used by the subnets for your load balancer. The possible values depend upon the load balancer type: `ipv4` (all load balancer types), `dualstack` (all load balancer types), and `dualstack-without-public-ipv4` (type `application` only). func (o LoadBalancerOutput) IpAddressType() pulumi.StringOutput { return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.IpAddressType }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/pulumiTypes.go index 872143789..a4ee1469e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/pulumiTypes.go @@ -14,19 +14,19 @@ import ( var _ = internal.GetEnvOrDefault type ListenerDefaultAction struct { - // Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. Detailed below. + // Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. See below. AuthenticateCognito *ListenerDefaultActionAuthenticateCognito `pulumi:"authenticateCognito"` - // Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. Detailed below. + // Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. See below. AuthenticateOidc *ListenerDefaultActionAuthenticateOidc `pulumi:"authenticateOidc"` // Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`. FixedResponse *ListenerDefaultActionFixedResponse `pulumi:"fixedResponse"` - // Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`. Detailed below. + // Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. See below. Forward *ListenerDefaultActionForward `pulumi:"forward"` - // Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. + // Order for the action. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. Defaults to the position in the list of actions. Order *int `pulumi:"order"` - // Configuration block for creating a redirect action. Required if `type` is `redirect`. Detailed below. + // Configuration block for creating a redirect action. Required if `type` is `redirect`. See below. Redirect *ListenerDefaultActionRedirect `pulumi:"redirect"` - // ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. + // ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. Can be specified with `forward` but ARNs must match. TargetGroupArn *string `pulumi:"targetGroupArn"` // Type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`. // @@ -46,19 +46,19 @@ type ListenerDefaultActionInput interface { } type ListenerDefaultActionArgs struct { - // Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. Detailed below. + // Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. See below. AuthenticateCognito ListenerDefaultActionAuthenticateCognitoPtrInput `pulumi:"authenticateCognito"` - // Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. Detailed below. + // Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. See below. AuthenticateOidc ListenerDefaultActionAuthenticateOidcPtrInput `pulumi:"authenticateOidc"` // Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`. FixedResponse ListenerDefaultActionFixedResponsePtrInput `pulumi:"fixedResponse"` - // Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`. Detailed below. + // Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. See below. Forward ListenerDefaultActionForwardPtrInput `pulumi:"forward"` - // Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. + // Order for the action. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. Defaults to the position in the list of actions. Order pulumi.IntPtrInput `pulumi:"order"` - // Configuration block for creating a redirect action. Required if `type` is `redirect`. Detailed below. + // Configuration block for creating a redirect action. Required if `type` is `redirect`. See below. Redirect ListenerDefaultActionRedirectPtrInput `pulumi:"redirect"` - // ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. + // ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. Can be specified with `forward` but ARNs must match. TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"` // Type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`. // @@ -117,12 +117,12 @@ func (o ListenerDefaultActionOutput) ToListenerDefaultActionOutputWithContext(ct return o } -// Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. Detailed below. +// Configuration block for using Amazon Cognito to authenticate users. Specify only when `type` is `authenticate-cognito`. See below. func (o ListenerDefaultActionOutput) AuthenticateCognito() ListenerDefaultActionAuthenticateCognitoPtrOutput { return o.ApplyT(func(v ListenerDefaultAction) *ListenerDefaultActionAuthenticateCognito { return v.AuthenticateCognito }).(ListenerDefaultActionAuthenticateCognitoPtrOutput) } -// Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. Detailed below. +// Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `type` is `authenticate-oidc`. See below. func (o ListenerDefaultActionOutput) AuthenticateOidc() ListenerDefaultActionAuthenticateOidcPtrOutput { return o.ApplyT(func(v ListenerDefaultAction) *ListenerDefaultActionAuthenticateOidc { return v.AuthenticateOidc }).(ListenerDefaultActionAuthenticateOidcPtrOutput) } @@ -132,22 +132,22 @@ func (o ListenerDefaultActionOutput) FixedResponse() ListenerDefaultActionFixedR return o.ApplyT(func(v ListenerDefaultAction) *ListenerDefaultActionFixedResponse { return v.FixedResponse }).(ListenerDefaultActionFixedResponsePtrOutput) } -// Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`. Detailed below. +// Configuration block for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. See below. func (o ListenerDefaultActionOutput) Forward() ListenerDefaultActionForwardPtrOutput { return o.ApplyT(func(v ListenerDefaultAction) *ListenerDefaultActionForward { return v.Forward }).(ListenerDefaultActionForwardPtrOutput) } -// Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. +// Order for the action. The action with the lowest value for order is performed first. Valid values are between `1` and `50000`. Defaults to the position in the list of actions. func (o ListenerDefaultActionOutput) Order() pulumi.IntPtrOutput { return o.ApplyT(func(v ListenerDefaultAction) *int { return v.Order }).(pulumi.IntPtrOutput) } -// Configuration block for creating a redirect action. Required if `type` is `redirect`. Detailed below. +// Configuration block for creating a redirect action. Required if `type` is `redirect`. See below. func (o ListenerDefaultActionOutput) Redirect() ListenerDefaultActionRedirectPtrOutput { return o.ApplyT(func(v ListenerDefaultAction) *ListenerDefaultActionRedirect { return v.Redirect }).(ListenerDefaultActionRedirectPtrOutput) } -// ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. +// ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. Can be specified with `forward` but ARNs must match. func (o ListenerDefaultActionOutput) TargetGroupArn() pulumi.StringPtrOutput { return o.ApplyT(func(v ListenerDefaultAction) *string { return v.TargetGroupArn }).(pulumi.StringPtrOutput) } @@ -180,7 +180,7 @@ func (o ListenerDefaultActionArrayOutput) Index(i pulumi.IntInput) ListenerDefau } type ListenerDefaultActionAuthenticateCognito struct { - // Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below. + // Query parameters to include in the redirect request to the authorization endpoint. Max: 10. See below. AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"` // Behavior if the user is not authenticated. Valid values are `deny`, `allow` and `authenticate`. OnUnauthenticatedRequest *string `pulumi:"onUnauthenticatedRequest"` @@ -212,7 +212,7 @@ type ListenerDefaultActionAuthenticateCognitoInput interface { } type ListenerDefaultActionAuthenticateCognitoArgs struct { - // Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below. + // Query parameters to include in the redirect request to the authorization endpoint. Max: 10. See below. AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"` // Behavior if the user is not authenticated. Valid values are `deny`, `allow` and `authenticate`. OnUnauthenticatedRequest pulumi.StringPtrInput `pulumi:"onUnauthenticatedRequest"` @@ -309,7 +309,7 @@ func (o ListenerDefaultActionAuthenticateCognitoOutput) ToListenerDefaultActionA }).(ListenerDefaultActionAuthenticateCognitoPtrOutput) } -// Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below. +// Query parameters to include in the redirect request to the authorization endpoint. Max: 10. See below. func (o ListenerDefaultActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { return o.ApplyT(func(v ListenerDefaultActionAuthenticateCognito) map[string]string { return v.AuthenticationRequestExtraParams @@ -377,7 +377,7 @@ func (o ListenerDefaultActionAuthenticateCognitoPtrOutput) Elem() ListenerDefaul }).(ListenerDefaultActionAuthenticateCognitoOutput) } -// Query parameters to include in the redirect request to the authorization endpoint. Max: 10. Detailed below. +// Query parameters to include in the redirect request to the authorization endpoint. Max: 10. See below. func (o ListenerDefaultActionAuthenticateCognitoPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { return o.ApplyT(func(v *ListenerDefaultActionAuthenticateCognito) map[string]string { if v == nil { @@ -980,9 +980,9 @@ func (o ListenerDefaultActionFixedResponsePtrOutput) StatusCode() pulumi.StringP } type ListenerDefaultActionForward struct { - // Configuration block for target group stickiness for the rule. Detailed below. + // Configuration block for target group stickiness for the rule. See below. Stickiness *ListenerDefaultActionForwardStickiness `pulumi:"stickiness"` - // Set of 1-5 target group blocks. Detailed below. + // Set of 1-5 target group blocks. See below. // // The following arguments are optional: TargetGroups []ListenerDefaultActionForwardTargetGroup `pulumi:"targetGroups"` @@ -1000,9 +1000,9 @@ type ListenerDefaultActionForwardInput interface { } type ListenerDefaultActionForwardArgs struct { - // Configuration block for target group stickiness for the rule. Detailed below. + // Configuration block for target group stickiness for the rule. See below. Stickiness ListenerDefaultActionForwardStickinessPtrInput `pulumi:"stickiness"` - // Set of 1-5 target group blocks. Detailed below. + // Set of 1-5 target group blocks. See below. // // The following arguments are optional: TargetGroups ListenerDefaultActionForwardTargetGroupArrayInput `pulumi:"targetGroups"` @@ -1085,12 +1085,12 @@ func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardPtrOut }).(ListenerDefaultActionForwardPtrOutput) } -// Configuration block for target group stickiness for the rule. Detailed below. +// Configuration block for target group stickiness for the rule. See below. func (o ListenerDefaultActionForwardOutput) Stickiness() ListenerDefaultActionForwardStickinessPtrOutput { return o.ApplyT(func(v ListenerDefaultActionForward) *ListenerDefaultActionForwardStickiness { return v.Stickiness }).(ListenerDefaultActionForwardStickinessPtrOutput) } -// Set of 1-5 target group blocks. Detailed below. +// Set of 1-5 target group blocks. See below. // // The following arguments are optional: func (o ListenerDefaultActionForwardOutput) TargetGroups() ListenerDefaultActionForwardTargetGroupArrayOutput { @@ -1121,7 +1121,7 @@ func (o ListenerDefaultActionForwardPtrOutput) Elem() ListenerDefaultActionForwa }).(ListenerDefaultActionForwardOutput) } -// Configuration block for target group stickiness for the rule. Detailed below. +// Configuration block for target group stickiness for the rule. See below. func (o ListenerDefaultActionForwardPtrOutput) Stickiness() ListenerDefaultActionForwardStickinessPtrOutput { return o.ApplyT(func(v *ListenerDefaultActionForward) *ListenerDefaultActionForwardStickiness { if v == nil { @@ -1131,7 +1131,7 @@ func (o ListenerDefaultActionForwardPtrOutput) Stickiness() ListenerDefaultActio }).(ListenerDefaultActionForwardStickinessPtrOutput) } -// Set of 1-5 target group blocks. Detailed below. +// Set of 1-5 target group blocks. See below. // // The following arguments are optional: func (o ListenerDefaultActionForwardPtrOutput) TargetGroups() ListenerDefaultActionForwardTargetGroupArrayOutput { @@ -1841,12 +1841,21 @@ type ListenerRuleAction struct { AuthenticateOidc *ListenerRuleActionAuthenticateOidc `pulumi:"authenticateOidc"` // Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`. FixedResponse *ListenerRuleActionFixedResponse `pulumi:"fixedResponse"` - // Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`. + // Configuration block for creating an action that distributes requests among one or more target groups. + // Specify only if `type` is `forward`. + // Cannot be specified with `targetGroupArn`. Forward *ListenerRuleActionForward `pulumi:"forward"` - Order *int `pulumi:"order"` + // Order for the action. + // The action with the lowest value for order is performed first. + // Valid values are between `1` and `50000`. + // Defaults to the position in the list of actions. + Order *int `pulumi:"order"` // Information for creating a redirect action. Required if `type` is `redirect`. Redirect *ListenerRuleActionRedirect `pulumi:"redirect"` - // The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. + // ARN of the Target Group to which to route traffic. + // Specify only if `type` is `forward` and you want to route to a single target group. + // To route to one or more target groups, use a `forward` block instead. + // Cannot be specified with `forward`. TargetGroupArn *string `pulumi:"targetGroupArn"` // The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`. Type string `pulumi:"type"` @@ -1870,12 +1879,21 @@ type ListenerRuleActionArgs struct { AuthenticateOidc ListenerRuleActionAuthenticateOidcPtrInput `pulumi:"authenticateOidc"` // Information for creating an action that returns a custom HTTP response. Required if `type` is `fixed-response`. FixedResponse ListenerRuleActionFixedResponsePtrInput `pulumi:"fixedResponse"` - // Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`. + // Configuration block for creating an action that distributes requests among one or more target groups. + // Specify only if `type` is `forward`. + // Cannot be specified with `targetGroupArn`. Forward ListenerRuleActionForwardPtrInput `pulumi:"forward"` - Order pulumi.IntPtrInput `pulumi:"order"` + // Order for the action. + // The action with the lowest value for order is performed first. + // Valid values are between `1` and `50000`. + // Defaults to the position in the list of actions. + Order pulumi.IntPtrInput `pulumi:"order"` // Information for creating a redirect action. Required if `type` is `redirect`. Redirect ListenerRuleActionRedirectPtrInput `pulumi:"redirect"` - // The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. + // ARN of the Target Group to which to route traffic. + // Specify only if `type` is `forward` and you want to route to a single target group. + // To route to one or more target groups, use a `forward` block instead. + // Cannot be specified with `forward`. TargetGroupArn pulumi.StringPtrInput `pulumi:"targetGroupArn"` // The type of routing action. Valid values are `forward`, `redirect`, `fixed-response`, `authenticate-cognito` and `authenticate-oidc`. Type pulumi.StringInput `pulumi:"type"` @@ -1947,11 +1965,17 @@ func (o ListenerRuleActionOutput) FixedResponse() ListenerRuleActionFixedRespons return o.ApplyT(func(v ListenerRuleAction) *ListenerRuleActionFixedResponse { return v.FixedResponse }).(ListenerRuleActionFixedResponsePtrOutput) } -// Information for creating an action that distributes requests among one or more target groups. Specify only if `type` is `forward`. If you specify both `forward` block and `targetGroupArn` attribute, you can specify only one target group using `forward` and it must be the same target group specified in `targetGroupArn`. +// Configuration block for creating an action that distributes requests among one or more target groups. +// Specify only if `type` is `forward`. +// Cannot be specified with `targetGroupArn`. func (o ListenerRuleActionOutput) Forward() ListenerRuleActionForwardPtrOutput { return o.ApplyT(func(v ListenerRuleAction) *ListenerRuleActionForward { return v.Forward }).(ListenerRuleActionForwardPtrOutput) } +// Order for the action. +// The action with the lowest value for order is performed first. +// Valid values are between `1` and `50000`. +// Defaults to the position in the list of actions. func (o ListenerRuleActionOutput) Order() pulumi.IntPtrOutput { return o.ApplyT(func(v ListenerRuleAction) *int { return v.Order }).(pulumi.IntPtrOutput) } @@ -1961,7 +1985,10 @@ func (o ListenerRuleActionOutput) Redirect() ListenerRuleActionRedirectPtrOutput return o.ApplyT(func(v ListenerRuleAction) *ListenerRuleActionRedirect { return v.Redirect }).(ListenerRuleActionRedirectPtrOutput) } -// The ARN of the Target Group to which to route traffic. Specify only if `type` is `forward` and you want to route to a single target group. To route to one or more target groups, use a `forward` block instead. +// ARN of the Target Group to which to route traffic. +// Specify only if `type` is `forward` and you want to route to a single target group. +// To route to one or more target groups, use a `forward` block instead. +// Cannot be specified with `forward`. func (o ListenerRuleActionOutput) TargetGroupArn() pulumi.StringPtrOutput { return o.ApplyT(func(v ListenerRuleAction) *string { return v.TargetGroupArn }).(pulumi.StringPtrOutput) } @@ -2770,7 +2797,7 @@ func (o ListenerRuleActionFixedResponsePtrOutput) StatusCode() pulumi.StringPtrO type ListenerRuleActionForward struct { // The target group stickiness for the rule. Stickiness *ListenerRuleActionForwardStickiness `pulumi:"stickiness"` - // One or more target groups block. + // One or more target group blocks. TargetGroups []ListenerRuleActionForwardTargetGroup `pulumi:"targetGroups"` } @@ -2788,7 +2815,7 @@ type ListenerRuleActionForwardInput interface { type ListenerRuleActionForwardArgs struct { // The target group stickiness for the rule. Stickiness ListenerRuleActionForwardStickinessPtrInput `pulumi:"stickiness"` - // One or more target groups block. + // One or more target group blocks. TargetGroups ListenerRuleActionForwardTargetGroupArrayInput `pulumi:"targetGroups"` } @@ -2874,7 +2901,7 @@ func (o ListenerRuleActionForwardOutput) Stickiness() ListenerRuleActionForwardS return o.ApplyT(func(v ListenerRuleActionForward) *ListenerRuleActionForwardStickiness { return v.Stickiness }).(ListenerRuleActionForwardStickinessPtrOutput) } -// One or more target groups block. +// One or more target group blocks. func (o ListenerRuleActionForwardOutput) TargetGroups() ListenerRuleActionForwardTargetGroupArrayOutput { return o.ApplyT(func(v ListenerRuleActionForward) []ListenerRuleActionForwardTargetGroup { return v.TargetGroups }).(ListenerRuleActionForwardTargetGroupArrayOutput) } @@ -2913,7 +2940,7 @@ func (o ListenerRuleActionForwardPtrOutput) Stickiness() ListenerRuleActionForwa }).(ListenerRuleActionForwardStickinessPtrOutput) } -// One or more target groups block. +// One or more target group blocks. func (o ListenerRuleActionForwardPtrOutput) TargetGroups() ListenerRuleActionForwardTargetGroupArrayOutput { return o.ApplyT(func(v *ListenerRuleActionForward) []ListenerRuleActionForwardTargetGroup { if v == nil { @@ -4856,7 +4883,7 @@ type TargetGroupHealthCheck struct { Matcher *string `pulumi:"matcher"` // Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. // * For HTTP and HTTPS health checks, the default is `/`. - // * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`. + // * For gRPC health checks, the default is `/AWS.ALB/healthcheck`. Path *string `pulumi:"path"` // The port the load balancer uses when performing health checks on targets. // Valid values are either `traffic-port`, to use the same port as the target group, or a valid port number between `1` and `65536`. @@ -4902,7 +4929,7 @@ type TargetGroupHealthCheckArgs struct { Matcher pulumi.StringPtrInput `pulumi:"matcher"` // Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. // * For HTTP and HTTPS health checks, the default is `/`. - // * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`. + // * For gRPC health checks, the default is `/AWS.ALB/healthcheck`. Path pulumi.StringPtrInput `pulumi:"path"` // The port the load balancer uses when performing health checks on targets. // Valid values are either `traffic-port`, to use the same port as the target group, or a valid port number between `1` and `65536`. @@ -5025,7 +5052,7 @@ func (o TargetGroupHealthCheckOutput) Matcher() pulumi.StringPtrOutput { // Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. // * For HTTP and HTTPS health checks, the default is `/`. -// * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`. +// * For gRPC health checks, the default is `/AWS.ALB/healthcheck`. func (o TargetGroupHealthCheckOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v TargetGroupHealthCheck) *string { return v.Path }).(pulumi.StringPtrOutput) } @@ -5128,7 +5155,7 @@ func (o TargetGroupHealthCheckPtrOutput) Matcher() pulumi.StringPtrOutput { // Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. // * For HTTP and HTTPS health checks, the default is `/`. -// * For gRPC health checks, the default is `/Amazon Web Services.ALB/healthcheck`. +// * For gRPC health checks, the default is `/AWS.ALB/healthcheck`. func (o TargetGroupHealthCheckPtrOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v *TargetGroupHealthCheck) *string { if v == nil { @@ -5484,9 +5511,483 @@ func (o TargetGroupTargetFailoverArrayOutput) Index(i pulumi.IntInput) TargetGro }).(TargetGroupTargetFailoverOutput) } +type TargetGroupTargetGroupHealth struct { + // Block to configure DNS Failover requirements. See DNS Failover below for details on attributes. + DnsFailover *TargetGroupTargetGroupHealthDnsFailover `pulumi:"dnsFailover"` + // Block to configure Unhealthy State Routing requirements. See Unhealthy State Routing below for details on attributes. + UnhealthyStateRouting *TargetGroupTargetGroupHealthUnhealthyStateRouting `pulumi:"unhealthyStateRouting"` +} + +// TargetGroupTargetGroupHealthInput is an input type that accepts TargetGroupTargetGroupHealthArgs and TargetGroupTargetGroupHealthOutput values. +// You can construct a concrete instance of `TargetGroupTargetGroupHealthInput` via: +// +// TargetGroupTargetGroupHealthArgs{...} +type TargetGroupTargetGroupHealthInput interface { + pulumi.Input + + ToTargetGroupTargetGroupHealthOutput() TargetGroupTargetGroupHealthOutput + ToTargetGroupTargetGroupHealthOutputWithContext(context.Context) TargetGroupTargetGroupHealthOutput +} + +type TargetGroupTargetGroupHealthArgs struct { + // Block to configure DNS Failover requirements. See DNS Failover below for details on attributes. + DnsFailover TargetGroupTargetGroupHealthDnsFailoverPtrInput `pulumi:"dnsFailover"` + // Block to configure Unhealthy State Routing requirements. See Unhealthy State Routing below for details on attributes. + UnhealthyStateRouting TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrInput `pulumi:"unhealthyStateRouting"` +} + +func (TargetGroupTargetGroupHealthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TargetGroupTargetGroupHealth)(nil)).Elem() +} + +func (i TargetGroupTargetGroupHealthArgs) ToTargetGroupTargetGroupHealthOutput() TargetGroupTargetGroupHealthOutput { + return i.ToTargetGroupTargetGroupHealthOutputWithContext(context.Background()) +} + +func (i TargetGroupTargetGroupHealthArgs) ToTargetGroupTargetGroupHealthOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthOutput) +} + +func (i TargetGroupTargetGroupHealthArgs) ToTargetGroupTargetGroupHealthPtrOutput() TargetGroupTargetGroupHealthPtrOutput { + return i.ToTargetGroupTargetGroupHealthPtrOutputWithContext(context.Background()) +} + +func (i TargetGroupTargetGroupHealthArgs) ToTargetGroupTargetGroupHealthPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthOutput).ToTargetGroupTargetGroupHealthPtrOutputWithContext(ctx) +} + +// TargetGroupTargetGroupHealthPtrInput is an input type that accepts TargetGroupTargetGroupHealthArgs, TargetGroupTargetGroupHealthPtr and TargetGroupTargetGroupHealthPtrOutput values. +// You can construct a concrete instance of `TargetGroupTargetGroupHealthPtrInput` via: +// +// TargetGroupTargetGroupHealthArgs{...} +// +// or: +// +// nil +type TargetGroupTargetGroupHealthPtrInput interface { + pulumi.Input + + ToTargetGroupTargetGroupHealthPtrOutput() TargetGroupTargetGroupHealthPtrOutput + ToTargetGroupTargetGroupHealthPtrOutputWithContext(context.Context) TargetGroupTargetGroupHealthPtrOutput +} + +type targetGroupTargetGroupHealthPtrType TargetGroupTargetGroupHealthArgs + +func TargetGroupTargetGroupHealthPtr(v *TargetGroupTargetGroupHealthArgs) TargetGroupTargetGroupHealthPtrInput { + return (*targetGroupTargetGroupHealthPtrType)(v) +} + +func (*targetGroupTargetGroupHealthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TargetGroupTargetGroupHealth)(nil)).Elem() +} + +func (i *targetGroupTargetGroupHealthPtrType) ToTargetGroupTargetGroupHealthPtrOutput() TargetGroupTargetGroupHealthPtrOutput { + return i.ToTargetGroupTargetGroupHealthPtrOutputWithContext(context.Background()) +} + +func (i *targetGroupTargetGroupHealthPtrType) ToTargetGroupTargetGroupHealthPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthPtrOutput) +} + +type TargetGroupTargetGroupHealthOutput struct{ *pulumi.OutputState } + +func (TargetGroupTargetGroupHealthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TargetGroupTargetGroupHealth)(nil)).Elem() +} + +func (o TargetGroupTargetGroupHealthOutput) ToTargetGroupTargetGroupHealthOutput() TargetGroupTargetGroupHealthOutput { + return o +} + +func (o TargetGroupTargetGroupHealthOutput) ToTargetGroupTargetGroupHealthOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthOutput { + return o +} + +func (o TargetGroupTargetGroupHealthOutput) ToTargetGroupTargetGroupHealthPtrOutput() TargetGroupTargetGroupHealthPtrOutput { + return o.ToTargetGroupTargetGroupHealthPtrOutputWithContext(context.Background()) +} + +func (o TargetGroupTargetGroupHealthOutput) ToTargetGroupTargetGroupHealthPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TargetGroupTargetGroupHealth) *TargetGroupTargetGroupHealth { + return &v + }).(TargetGroupTargetGroupHealthPtrOutput) +} + +// Block to configure DNS Failover requirements. See DNS Failover below for details on attributes. +func (o TargetGroupTargetGroupHealthOutput) DnsFailover() TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return o.ApplyT(func(v TargetGroupTargetGroupHealth) *TargetGroupTargetGroupHealthDnsFailover { return v.DnsFailover }).(TargetGroupTargetGroupHealthDnsFailoverPtrOutput) +} + +// Block to configure Unhealthy State Routing requirements. See Unhealthy State Routing below for details on attributes. +func (o TargetGroupTargetGroupHealthOutput) UnhealthyStateRouting() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return o.ApplyT(func(v TargetGroupTargetGroupHealth) *TargetGroupTargetGroupHealthUnhealthyStateRouting { + return v.UnhealthyStateRouting + }).(TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) +} + +type TargetGroupTargetGroupHealthPtrOutput struct{ *pulumi.OutputState } + +func (TargetGroupTargetGroupHealthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TargetGroupTargetGroupHealth)(nil)).Elem() +} + +func (o TargetGroupTargetGroupHealthPtrOutput) ToTargetGroupTargetGroupHealthPtrOutput() TargetGroupTargetGroupHealthPtrOutput { + return o +} + +func (o TargetGroupTargetGroupHealthPtrOutput) ToTargetGroupTargetGroupHealthPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthPtrOutput { + return o +} + +func (o TargetGroupTargetGroupHealthPtrOutput) Elem() TargetGroupTargetGroupHealthOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealth) TargetGroupTargetGroupHealth { + if v != nil { + return *v + } + var ret TargetGroupTargetGroupHealth + return ret + }).(TargetGroupTargetGroupHealthOutput) +} + +// Block to configure DNS Failover requirements. See DNS Failover below for details on attributes. +func (o TargetGroupTargetGroupHealthPtrOutput) DnsFailover() TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealth) *TargetGroupTargetGroupHealthDnsFailover { + if v == nil { + return nil + } + return v.DnsFailover + }).(TargetGroupTargetGroupHealthDnsFailoverPtrOutput) +} + +// Block to configure Unhealthy State Routing requirements. See Unhealthy State Routing below for details on attributes. +func (o TargetGroupTargetGroupHealthPtrOutput) UnhealthyStateRouting() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealth) *TargetGroupTargetGroupHealthUnhealthyStateRouting { + if v == nil { + return nil + } + return v.UnhealthyStateRouting + }).(TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) +} + +type TargetGroupTargetGroupHealthDnsFailover struct { + // The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to the maximum number of targets. The default is `off`. + MinimumHealthyTargetsCount *string `pulumi:"minimumHealthyTargetsCount"` + // The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to `100`. The default is `off`. + MinimumHealthyTargetsPercentage *string `pulumi:"minimumHealthyTargetsPercentage"` +} + +// TargetGroupTargetGroupHealthDnsFailoverInput is an input type that accepts TargetGroupTargetGroupHealthDnsFailoverArgs and TargetGroupTargetGroupHealthDnsFailoverOutput values. +// You can construct a concrete instance of `TargetGroupTargetGroupHealthDnsFailoverInput` via: +// +// TargetGroupTargetGroupHealthDnsFailoverArgs{...} +type TargetGroupTargetGroupHealthDnsFailoverInput interface { + pulumi.Input + + ToTargetGroupTargetGroupHealthDnsFailoverOutput() TargetGroupTargetGroupHealthDnsFailoverOutput + ToTargetGroupTargetGroupHealthDnsFailoverOutputWithContext(context.Context) TargetGroupTargetGroupHealthDnsFailoverOutput +} + +type TargetGroupTargetGroupHealthDnsFailoverArgs struct { + // The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to the maximum number of targets. The default is `off`. + MinimumHealthyTargetsCount pulumi.StringPtrInput `pulumi:"minimumHealthyTargetsCount"` + // The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to `100`. The default is `off`. + MinimumHealthyTargetsPercentage pulumi.StringPtrInput `pulumi:"minimumHealthyTargetsPercentage"` +} + +func (TargetGroupTargetGroupHealthDnsFailoverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TargetGroupTargetGroupHealthDnsFailover)(nil)).Elem() +} + +func (i TargetGroupTargetGroupHealthDnsFailoverArgs) ToTargetGroupTargetGroupHealthDnsFailoverOutput() TargetGroupTargetGroupHealthDnsFailoverOutput { + return i.ToTargetGroupTargetGroupHealthDnsFailoverOutputWithContext(context.Background()) +} + +func (i TargetGroupTargetGroupHealthDnsFailoverArgs) ToTargetGroupTargetGroupHealthDnsFailoverOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthDnsFailoverOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthDnsFailoverOutput) +} + +func (i TargetGroupTargetGroupHealthDnsFailoverArgs) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutput() TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return i.ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(context.Background()) +} + +func (i TargetGroupTargetGroupHealthDnsFailoverArgs) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthDnsFailoverOutput).ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(ctx) +} + +// TargetGroupTargetGroupHealthDnsFailoverPtrInput is an input type that accepts TargetGroupTargetGroupHealthDnsFailoverArgs, TargetGroupTargetGroupHealthDnsFailoverPtr and TargetGroupTargetGroupHealthDnsFailoverPtrOutput values. +// You can construct a concrete instance of `TargetGroupTargetGroupHealthDnsFailoverPtrInput` via: +// +// TargetGroupTargetGroupHealthDnsFailoverArgs{...} +// +// or: +// +// nil +type TargetGroupTargetGroupHealthDnsFailoverPtrInput interface { + pulumi.Input + + ToTargetGroupTargetGroupHealthDnsFailoverPtrOutput() TargetGroupTargetGroupHealthDnsFailoverPtrOutput + ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(context.Context) TargetGroupTargetGroupHealthDnsFailoverPtrOutput +} + +type targetGroupTargetGroupHealthDnsFailoverPtrType TargetGroupTargetGroupHealthDnsFailoverArgs + +func TargetGroupTargetGroupHealthDnsFailoverPtr(v *TargetGroupTargetGroupHealthDnsFailoverArgs) TargetGroupTargetGroupHealthDnsFailoverPtrInput { + return (*targetGroupTargetGroupHealthDnsFailoverPtrType)(v) +} + +func (*targetGroupTargetGroupHealthDnsFailoverPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TargetGroupTargetGroupHealthDnsFailover)(nil)).Elem() +} + +func (i *targetGroupTargetGroupHealthDnsFailoverPtrType) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutput() TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return i.ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(context.Background()) +} + +func (i *targetGroupTargetGroupHealthDnsFailoverPtrType) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthDnsFailoverPtrOutput) +} + +type TargetGroupTargetGroupHealthDnsFailoverOutput struct{ *pulumi.OutputState } + +func (TargetGroupTargetGroupHealthDnsFailoverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TargetGroupTargetGroupHealthDnsFailover)(nil)).Elem() +} + +func (o TargetGroupTargetGroupHealthDnsFailoverOutput) ToTargetGroupTargetGroupHealthDnsFailoverOutput() TargetGroupTargetGroupHealthDnsFailoverOutput { + return o +} + +func (o TargetGroupTargetGroupHealthDnsFailoverOutput) ToTargetGroupTargetGroupHealthDnsFailoverOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthDnsFailoverOutput { + return o +} + +func (o TargetGroupTargetGroupHealthDnsFailoverOutput) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutput() TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return o.ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(context.Background()) +} + +func (o TargetGroupTargetGroupHealthDnsFailoverOutput) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TargetGroupTargetGroupHealthDnsFailover) *TargetGroupTargetGroupHealthDnsFailover { + return &v + }).(TargetGroupTargetGroupHealthDnsFailoverPtrOutput) +} + +// The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to the maximum number of targets. The default is `off`. +func (o TargetGroupTargetGroupHealthDnsFailoverOutput) MinimumHealthyTargetsCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v TargetGroupTargetGroupHealthDnsFailover) *string { return v.MinimumHealthyTargetsCount }).(pulumi.StringPtrOutput) +} + +// The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to `100`. The default is `off`. +func (o TargetGroupTargetGroupHealthDnsFailoverOutput) MinimumHealthyTargetsPercentage() pulumi.StringPtrOutput { + return o.ApplyT(func(v TargetGroupTargetGroupHealthDnsFailover) *string { return v.MinimumHealthyTargetsPercentage }).(pulumi.StringPtrOutput) +} + +type TargetGroupTargetGroupHealthDnsFailoverPtrOutput struct{ *pulumi.OutputState } + +func (TargetGroupTargetGroupHealthDnsFailoverPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TargetGroupTargetGroupHealthDnsFailover)(nil)).Elem() +} + +func (o TargetGroupTargetGroupHealthDnsFailoverPtrOutput) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutput() TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return o +} + +func (o TargetGroupTargetGroupHealthDnsFailoverPtrOutput) ToTargetGroupTargetGroupHealthDnsFailoverPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthDnsFailoverPtrOutput { + return o +} + +func (o TargetGroupTargetGroupHealthDnsFailoverPtrOutput) Elem() TargetGroupTargetGroupHealthDnsFailoverOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealthDnsFailover) TargetGroupTargetGroupHealthDnsFailover { + if v != nil { + return *v + } + var ret TargetGroupTargetGroupHealthDnsFailover + return ret + }).(TargetGroupTargetGroupHealthDnsFailoverOutput) +} + +// The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to the maximum number of targets. The default is `off`. +func (o TargetGroupTargetGroupHealthDnsFailoverPtrOutput) MinimumHealthyTargetsCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealthDnsFailover) *string { + if v == nil { + return nil + } + return v.MinimumHealthyTargetsCount + }).(pulumi.StringPtrOutput) +} + +// The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are `off` or an integer from `1` to `100`. The default is `off`. +func (o TargetGroupTargetGroupHealthDnsFailoverPtrOutput) MinimumHealthyTargetsPercentage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealthDnsFailover) *string { + if v == nil { + return nil + } + return v.MinimumHealthyTargetsPercentage + }).(pulumi.StringPtrOutput) +} + +type TargetGroupTargetGroupHealthUnhealthyStateRouting struct { + // The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `1` to the maximum number of targets. The default is `1`. + MinimumHealthyTargetsCount *int `pulumi:"minimumHealthyTargetsCount"` + // The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `off` or an integer from `1` to `100`. The default is `off`. + MinimumHealthyTargetsPercentage *string `pulumi:"minimumHealthyTargetsPercentage"` +} + +// TargetGroupTargetGroupHealthUnhealthyStateRoutingInput is an input type that accepts TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs and TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput values. +// You can construct a concrete instance of `TargetGroupTargetGroupHealthUnhealthyStateRoutingInput` via: +// +// TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs{...} +type TargetGroupTargetGroupHealthUnhealthyStateRoutingInput interface { + pulumi.Input + + ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput + ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutputWithContext(context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput +} + +type TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs struct { + // The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `1` to the maximum number of targets. The default is `1`. + MinimumHealthyTargetsCount pulumi.IntPtrInput `pulumi:"minimumHealthyTargetsCount"` + // The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `off` or an integer from `1` to `100`. The default is `off`. + MinimumHealthyTargetsPercentage pulumi.StringPtrInput `pulumi:"minimumHealthyTargetsPercentage"` +} + +func (TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TargetGroupTargetGroupHealthUnhealthyStateRouting)(nil)).Elem() +} + +func (i TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput { + return i.ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutputWithContext(context.Background()) +} + +func (i TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) +} + +func (i TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return i.ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(context.Background()) +} + +func (i TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput).ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(ctx) +} + +// TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrInput is an input type that accepts TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs, TargetGroupTargetGroupHealthUnhealthyStateRoutingPtr and TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput values. +// You can construct a concrete instance of `TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrInput` via: +// +// TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs{...} +// +// or: +// +// nil +type TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrInput interface { + pulumi.Input + + ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput + ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput +} + +type targetGroupTargetGroupHealthUnhealthyStateRoutingPtrType TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs + +func TargetGroupTargetGroupHealthUnhealthyStateRoutingPtr(v *TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs) TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrInput { + return (*targetGroupTargetGroupHealthUnhealthyStateRoutingPtrType)(v) +} + +func (*targetGroupTargetGroupHealthUnhealthyStateRoutingPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TargetGroupTargetGroupHealthUnhealthyStateRouting)(nil)).Elem() +} + +func (i *targetGroupTargetGroupHealthUnhealthyStateRoutingPtrType) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return i.ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(context.Background()) +} + +func (i *targetGroupTargetGroupHealthUnhealthyStateRoutingPtrType) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) +} + +type TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput struct{ *pulumi.OutputState } + +func (TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TargetGroupTargetGroupHealthUnhealthyStateRouting)(nil)).Elem() +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput { + return o +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput { + return o +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return o.ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(context.Background()) +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TargetGroupTargetGroupHealthUnhealthyStateRouting) *TargetGroupTargetGroupHealthUnhealthyStateRouting { + return &v + }).(TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) +} + +// The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `1` to the maximum number of targets. The default is `1`. +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) MinimumHealthyTargetsCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v TargetGroupTargetGroupHealthUnhealthyStateRouting) *int { return v.MinimumHealthyTargetsCount }).(pulumi.IntPtrOutput) +} + +// The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `off` or an integer from `1` to `100`. The default is `off`. +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) MinimumHealthyTargetsPercentage() pulumi.StringPtrOutput { + return o.ApplyT(func(v TargetGroupTargetGroupHealthUnhealthyStateRouting) *string { + return v.MinimumHealthyTargetsPercentage + }).(pulumi.StringPtrOutput) +} + +type TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput struct{ *pulumi.OutputState } + +func (TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TargetGroupTargetGroupHealthUnhealthyStateRouting)(nil)).Elem() +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput() TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return o +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) ToTargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutputWithContext(ctx context.Context) TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput { + return o +} + +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) Elem() TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealthUnhealthyStateRouting) TargetGroupTargetGroupHealthUnhealthyStateRouting { + if v != nil { + return *v + } + var ret TargetGroupTargetGroupHealthUnhealthyStateRouting + return ret + }).(TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput) +} + +// The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `1` to the maximum number of targets. The default is `1`. +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) MinimumHealthyTargetsCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealthUnhealthyStateRouting) *int { + if v == nil { + return nil + } + return v.MinimumHealthyTargetsCount + }).(pulumi.IntPtrOutput) +} + +// The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are `off` or an integer from `1` to `100`. The default is `off`. +func (o TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput) MinimumHealthyTargetsPercentage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TargetGroupTargetGroupHealthUnhealthyStateRouting) *string { + if v == nil { + return nil + } + return v.MinimumHealthyTargetsPercentage + }).(pulumi.StringPtrOutput) +} + type TargetGroupTargetHealthState struct { // Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`. EnableUnhealthyConnectionTermination bool `pulumi:"enableUnhealthyConnectionTermination"` + // Indicates the time to wait for in-flight requests to complete when a target becomes unhealthy. The range is `0-360000`. This value has to be set only if `enableUnhealthyConnectionTermination` is set to false. Default: `0`. + UnhealthyDrainingInterval *int `pulumi:"unhealthyDrainingInterval"` } // TargetGroupTargetHealthStateInput is an input type that accepts TargetGroupTargetHealthStateArgs and TargetGroupTargetHealthStateOutput values. @@ -5503,6 +6004,8 @@ type TargetGroupTargetHealthStateInput interface { type TargetGroupTargetHealthStateArgs struct { // Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`. EnableUnhealthyConnectionTermination pulumi.BoolInput `pulumi:"enableUnhealthyConnectionTermination"` + // Indicates the time to wait for in-flight requests to complete when a target becomes unhealthy. The range is `0-360000`. This value has to be set only if `enableUnhealthyConnectionTermination` is set to false. Default: `0`. + UnhealthyDrainingInterval pulumi.IntPtrInput `pulumi:"unhealthyDrainingInterval"` } func (TargetGroupTargetHealthStateArgs) ElementType() reflect.Type { @@ -5561,6 +6064,11 @@ func (o TargetGroupTargetHealthStateOutput) EnableUnhealthyConnectionTermination return o.ApplyT(func(v TargetGroupTargetHealthState) bool { return v.EnableUnhealthyConnectionTermination }).(pulumi.BoolOutput) } +// Indicates the time to wait for in-flight requests to complete when a target becomes unhealthy. The range is `0-360000`. This value has to be set only if `enableUnhealthyConnectionTermination` is set to false. Default: `0`. +func (o TargetGroupTargetHealthStateOutput) UnhealthyDrainingInterval() pulumi.IntPtrOutput { + return o.ApplyT(func(v TargetGroupTargetHealthState) *int { return v.UnhealthyDrainingInterval }).(pulumi.IntPtrOutput) +} + type TargetGroupTargetHealthStateArrayOutput struct{ *pulumi.OutputState } func (TargetGroupTargetHealthStateArrayOutput) ElementType() reflect.Type { @@ -6661,6 +7169,2697 @@ func (o GetListenerMutualAuthenticationArrayOutput) Index(i pulumi.IntInput) Get }).(GetListenerMutualAuthenticationOutput) } +type GetListenerRuleAction struct { + // An action to authenticate using Amazon Cognito. + // Detailed below. + AuthenticateCognito *GetListenerRuleActionAuthenticateCognito `pulumi:"authenticateCognito"` + // An action to authenticate using OIDC. + // Detailed below. + AuthenticateOidc *GetListenerRuleActionAuthenticateOidc `pulumi:"authenticateOidc"` + // An action to return a fixed response. + // Detailed below. + FixedResponse *GetListenerRuleActionFixedResponse `pulumi:"fixedResponse"` + // An action to forward the request. + // Detailed below. + Forward *GetListenerRuleActionForward `pulumi:"forward"` + // The evaluation order of the action. + Order float64 `pulumi:"order"` + // An action to redirect the request. + // Detailed below. + Redirect *GetListenerRuleActionRedirect `pulumi:"redirect"` + // The type of the action, indicates which sub-block will be populated. + Type string `pulumi:"type"` +} + +// GetListenerRuleActionInput is an input type that accepts GetListenerRuleActionArgs and GetListenerRuleActionOutput values. +// You can construct a concrete instance of `GetListenerRuleActionInput` via: +// +// GetListenerRuleActionArgs{...} +type GetListenerRuleActionInput interface { + pulumi.Input + + ToGetListenerRuleActionOutput() GetListenerRuleActionOutput + ToGetListenerRuleActionOutputWithContext(context.Context) GetListenerRuleActionOutput +} + +type GetListenerRuleActionArgs struct { + // An action to authenticate using Amazon Cognito. + // Detailed below. + AuthenticateCognito GetListenerRuleActionAuthenticateCognitoPtrInput `pulumi:"authenticateCognito"` + // An action to authenticate using OIDC. + // Detailed below. + AuthenticateOidc GetListenerRuleActionAuthenticateOidcPtrInput `pulumi:"authenticateOidc"` + // An action to return a fixed response. + // Detailed below. + FixedResponse GetListenerRuleActionFixedResponsePtrInput `pulumi:"fixedResponse"` + // An action to forward the request. + // Detailed below. + Forward GetListenerRuleActionForwardPtrInput `pulumi:"forward"` + // The evaluation order of the action. + Order pulumi.Float64Input `pulumi:"order"` + // An action to redirect the request. + // Detailed below. + Redirect GetListenerRuleActionRedirectPtrInput `pulumi:"redirect"` + // The type of the action, indicates which sub-block will be populated. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetListenerRuleActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleAction)(nil)).Elem() +} + +func (i GetListenerRuleActionArgs) ToGetListenerRuleActionOutput() GetListenerRuleActionOutput { + return i.ToGetListenerRuleActionOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionArgs) ToGetListenerRuleActionOutputWithContext(ctx context.Context) GetListenerRuleActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionOutput) +} + +// GetListenerRuleActionArrayInput is an input type that accepts GetListenerRuleActionArray and GetListenerRuleActionArrayOutput values. +// You can construct a concrete instance of `GetListenerRuleActionArrayInput` via: +// +// GetListenerRuleActionArray{ GetListenerRuleActionArgs{...} } +type GetListenerRuleActionArrayInput interface { + pulumi.Input + + ToGetListenerRuleActionArrayOutput() GetListenerRuleActionArrayOutput + ToGetListenerRuleActionArrayOutputWithContext(context.Context) GetListenerRuleActionArrayOutput +} + +type GetListenerRuleActionArray []GetListenerRuleActionInput + +func (GetListenerRuleActionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleAction)(nil)).Elem() +} + +func (i GetListenerRuleActionArray) ToGetListenerRuleActionArrayOutput() GetListenerRuleActionArrayOutput { + return i.ToGetListenerRuleActionArrayOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionArray) ToGetListenerRuleActionArrayOutputWithContext(ctx context.Context) GetListenerRuleActionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionArrayOutput) +} + +type GetListenerRuleActionOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleAction)(nil)).Elem() +} + +func (o GetListenerRuleActionOutput) ToGetListenerRuleActionOutput() GetListenerRuleActionOutput { + return o +} + +func (o GetListenerRuleActionOutput) ToGetListenerRuleActionOutputWithContext(ctx context.Context) GetListenerRuleActionOutput { + return o +} + +// An action to authenticate using Amazon Cognito. +// Detailed below. +func (o GetListenerRuleActionOutput) AuthenticateCognito() GetListenerRuleActionAuthenticateCognitoPtrOutput { + return o.ApplyT(func(v GetListenerRuleAction) *GetListenerRuleActionAuthenticateCognito { return v.AuthenticateCognito }).(GetListenerRuleActionAuthenticateCognitoPtrOutput) +} + +// An action to authenticate using OIDC. +// Detailed below. +func (o GetListenerRuleActionOutput) AuthenticateOidc() GetListenerRuleActionAuthenticateOidcPtrOutput { + return o.ApplyT(func(v GetListenerRuleAction) *GetListenerRuleActionAuthenticateOidc { return v.AuthenticateOidc }).(GetListenerRuleActionAuthenticateOidcPtrOutput) +} + +// An action to return a fixed response. +// Detailed below. +func (o GetListenerRuleActionOutput) FixedResponse() GetListenerRuleActionFixedResponsePtrOutput { + return o.ApplyT(func(v GetListenerRuleAction) *GetListenerRuleActionFixedResponse { return v.FixedResponse }).(GetListenerRuleActionFixedResponsePtrOutput) +} + +// An action to forward the request. +// Detailed below. +func (o GetListenerRuleActionOutput) Forward() GetListenerRuleActionForwardPtrOutput { + return o.ApplyT(func(v GetListenerRuleAction) *GetListenerRuleActionForward { return v.Forward }).(GetListenerRuleActionForwardPtrOutput) +} + +// The evaluation order of the action. +func (o GetListenerRuleActionOutput) Order() pulumi.Float64Output { + return o.ApplyT(func(v GetListenerRuleAction) float64 { return v.Order }).(pulumi.Float64Output) +} + +// An action to redirect the request. +// Detailed below. +func (o GetListenerRuleActionOutput) Redirect() GetListenerRuleActionRedirectPtrOutput { + return o.ApplyT(func(v GetListenerRuleAction) *GetListenerRuleActionRedirect { return v.Redirect }).(GetListenerRuleActionRedirectPtrOutput) +} + +// The type of the action, indicates which sub-block will be populated. +func (o GetListenerRuleActionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleAction) string { return v.Type }).(pulumi.StringOutput) +} + +type GetListenerRuleActionArrayOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleAction)(nil)).Elem() +} + +func (o GetListenerRuleActionArrayOutput) ToGetListenerRuleActionArrayOutput() GetListenerRuleActionArrayOutput { + return o +} + +func (o GetListenerRuleActionArrayOutput) ToGetListenerRuleActionArrayOutputWithContext(ctx context.Context) GetListenerRuleActionArrayOutput { + return o +} + +func (o GetListenerRuleActionArrayOutput) Index(i pulumi.IntInput) GetListenerRuleActionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListenerRuleAction { + return vs[0].([]GetListenerRuleAction)[vs[1].(int)] + }).(GetListenerRuleActionOutput) +} + +type GetListenerRuleActionAuthenticateCognito struct { + // Set of additional parameters for the request. + // Detailed below. + AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"` + // Behavior when the client is not authenticated. + OnUnauthenticatedRequest string `pulumi:"onUnauthenticatedRequest"` + // Set of user claims requested. + Scope string `pulumi:"scope"` + // Name of the cookie used to maintain session information. + SessionCookieName string `pulumi:"sessionCookieName"` + // Maximum duration of the authentication session in seconds. + SessionTimeout int `pulumi:"sessionTimeout"` + // ARN of the Cognito user pool. + UserPoolArn string `pulumi:"userPoolArn"` + // ID of the Cognito user pool client. + UserPoolClientId string `pulumi:"userPoolClientId"` + // Domain prefix or fully-qualified domain name of the Cognito user pool. + UserPoolDomain string `pulumi:"userPoolDomain"` +} + +// GetListenerRuleActionAuthenticateCognitoInput is an input type that accepts GetListenerRuleActionAuthenticateCognitoArgs and GetListenerRuleActionAuthenticateCognitoOutput values. +// You can construct a concrete instance of `GetListenerRuleActionAuthenticateCognitoInput` via: +// +// GetListenerRuleActionAuthenticateCognitoArgs{...} +type GetListenerRuleActionAuthenticateCognitoInput interface { + pulumi.Input + + ToGetListenerRuleActionAuthenticateCognitoOutput() GetListenerRuleActionAuthenticateCognitoOutput + ToGetListenerRuleActionAuthenticateCognitoOutputWithContext(context.Context) GetListenerRuleActionAuthenticateCognitoOutput +} + +type GetListenerRuleActionAuthenticateCognitoArgs struct { + // Set of additional parameters for the request. + // Detailed below. + AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"` + // Behavior when the client is not authenticated. + OnUnauthenticatedRequest pulumi.StringInput `pulumi:"onUnauthenticatedRequest"` + // Set of user claims requested. + Scope pulumi.StringInput `pulumi:"scope"` + // Name of the cookie used to maintain session information. + SessionCookieName pulumi.StringInput `pulumi:"sessionCookieName"` + // Maximum duration of the authentication session in seconds. + SessionTimeout pulumi.IntInput `pulumi:"sessionTimeout"` + // ARN of the Cognito user pool. + UserPoolArn pulumi.StringInput `pulumi:"userPoolArn"` + // ID of the Cognito user pool client. + UserPoolClientId pulumi.StringInput `pulumi:"userPoolClientId"` + // Domain prefix or fully-qualified domain name of the Cognito user pool. + UserPoolDomain pulumi.StringInput `pulumi:"userPoolDomain"` +} + +func (GetListenerRuleActionAuthenticateCognitoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionAuthenticateCognito)(nil)).Elem() +} + +func (i GetListenerRuleActionAuthenticateCognitoArgs) ToGetListenerRuleActionAuthenticateCognitoOutput() GetListenerRuleActionAuthenticateCognitoOutput { + return i.ToGetListenerRuleActionAuthenticateCognitoOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionAuthenticateCognitoArgs) ToGetListenerRuleActionAuthenticateCognitoOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateCognitoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionAuthenticateCognitoOutput) +} + +func (i GetListenerRuleActionAuthenticateCognitoArgs) ToGetListenerRuleActionAuthenticateCognitoPtrOutput() GetListenerRuleActionAuthenticateCognitoPtrOutput { + return i.ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionAuthenticateCognitoArgs) ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateCognitoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionAuthenticateCognitoOutput).ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx) +} + +// GetListenerRuleActionAuthenticateCognitoPtrInput is an input type that accepts GetListenerRuleActionAuthenticateCognitoArgs, GetListenerRuleActionAuthenticateCognitoPtr and GetListenerRuleActionAuthenticateCognitoPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleActionAuthenticateCognitoPtrInput` via: +// +// GetListenerRuleActionAuthenticateCognitoArgs{...} +// +// or: +// +// nil +type GetListenerRuleActionAuthenticateCognitoPtrInput interface { + pulumi.Input + + ToGetListenerRuleActionAuthenticateCognitoPtrOutput() GetListenerRuleActionAuthenticateCognitoPtrOutput + ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(context.Context) GetListenerRuleActionAuthenticateCognitoPtrOutput +} + +type getListenerRuleActionAuthenticateCognitoPtrType GetListenerRuleActionAuthenticateCognitoArgs + +func GetListenerRuleActionAuthenticateCognitoPtr(v *GetListenerRuleActionAuthenticateCognitoArgs) GetListenerRuleActionAuthenticateCognitoPtrInput { + return (*getListenerRuleActionAuthenticateCognitoPtrType)(v) +} + +func (*getListenerRuleActionAuthenticateCognitoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionAuthenticateCognito)(nil)).Elem() +} + +func (i *getListenerRuleActionAuthenticateCognitoPtrType) ToGetListenerRuleActionAuthenticateCognitoPtrOutput() GetListenerRuleActionAuthenticateCognitoPtrOutput { + return i.ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleActionAuthenticateCognitoPtrType) ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateCognitoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionAuthenticateCognitoPtrOutput) +} + +type GetListenerRuleActionAuthenticateCognitoOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionAuthenticateCognitoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionAuthenticateCognito)(nil)).Elem() +} + +func (o GetListenerRuleActionAuthenticateCognitoOutput) ToGetListenerRuleActionAuthenticateCognitoOutput() GetListenerRuleActionAuthenticateCognitoOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateCognitoOutput) ToGetListenerRuleActionAuthenticateCognitoOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateCognitoOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateCognitoOutput) ToGetListenerRuleActionAuthenticateCognitoPtrOutput() GetListenerRuleActionAuthenticateCognitoPtrOutput { + return o.ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleActionAuthenticateCognitoOutput) ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateCognitoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleActionAuthenticateCognito) *GetListenerRuleActionAuthenticateCognito { + return &v + }).(GetListenerRuleActionAuthenticateCognitoPtrOutput) +} + +// Set of additional parameters for the request. +// Detailed below. +func (o GetListenerRuleActionAuthenticateCognitoOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) map[string]string { + return v.AuthenticationRequestExtraParams + }).(pulumi.StringMapOutput) +} + +// Behavior when the client is not authenticated. +func (o GetListenerRuleActionAuthenticateCognitoOutput) OnUnauthenticatedRequest() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) string { return v.OnUnauthenticatedRequest }).(pulumi.StringOutput) +} + +// Set of user claims requested. +func (o GetListenerRuleActionAuthenticateCognitoOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) string { return v.Scope }).(pulumi.StringOutput) +} + +// Name of the cookie used to maintain session information. +func (o GetListenerRuleActionAuthenticateCognitoOutput) SessionCookieName() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) string { return v.SessionCookieName }).(pulumi.StringOutput) +} + +// Maximum duration of the authentication session in seconds. +func (o GetListenerRuleActionAuthenticateCognitoOutput) SessionTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) int { return v.SessionTimeout }).(pulumi.IntOutput) +} + +// ARN of the Cognito user pool. +func (o GetListenerRuleActionAuthenticateCognitoOutput) UserPoolArn() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) string { return v.UserPoolArn }).(pulumi.StringOutput) +} + +// ID of the Cognito user pool client. +func (o GetListenerRuleActionAuthenticateCognitoOutput) UserPoolClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) string { return v.UserPoolClientId }).(pulumi.StringOutput) +} + +// Domain prefix or fully-qualified domain name of the Cognito user pool. +func (o GetListenerRuleActionAuthenticateCognitoOutput) UserPoolDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateCognito) string { return v.UserPoolDomain }).(pulumi.StringOutput) +} + +type GetListenerRuleActionAuthenticateCognitoPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionAuthenticateCognitoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionAuthenticateCognito)(nil)).Elem() +} + +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) ToGetListenerRuleActionAuthenticateCognitoPtrOutput() GetListenerRuleActionAuthenticateCognitoPtrOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) ToGetListenerRuleActionAuthenticateCognitoPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateCognitoPtrOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) Elem() GetListenerRuleActionAuthenticateCognitoOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) GetListenerRuleActionAuthenticateCognito { + if v != nil { + return *v + } + var ret GetListenerRuleActionAuthenticateCognito + return ret + }).(GetListenerRuleActionAuthenticateCognitoOutput) +} + +// Set of additional parameters for the request. +// Detailed below. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) map[string]string { + if v == nil { + return nil + } + return v.AuthenticationRequestExtraParams + }).(pulumi.StringMapOutput) +} + +// Behavior when the client is not authenticated. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) OnUnauthenticatedRequest() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *string { + if v == nil { + return nil + } + return &v.OnUnauthenticatedRequest + }).(pulumi.StringPtrOutput) +} + +// Set of user claims requested. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *string { + if v == nil { + return nil + } + return &v.Scope + }).(pulumi.StringPtrOutput) +} + +// Name of the cookie used to maintain session information. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) SessionCookieName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *string { + if v == nil { + return nil + } + return &v.SessionCookieName + }).(pulumi.StringPtrOutput) +} + +// Maximum duration of the authentication session in seconds. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) SessionTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *int { + if v == nil { + return nil + } + return &v.SessionTimeout + }).(pulumi.IntPtrOutput) +} + +// ARN of the Cognito user pool. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) UserPoolArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *string { + if v == nil { + return nil + } + return &v.UserPoolArn + }).(pulumi.StringPtrOutput) +} + +// ID of the Cognito user pool client. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) UserPoolClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *string { + if v == nil { + return nil + } + return &v.UserPoolClientId + }).(pulumi.StringPtrOutput) +} + +// Domain prefix or fully-qualified domain name of the Cognito user pool. +func (o GetListenerRuleActionAuthenticateCognitoPtrOutput) UserPoolDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateCognito) *string { + if v == nil { + return nil + } + return &v.UserPoolDomain + }).(pulumi.StringPtrOutput) +} + +type GetListenerRuleActionAuthenticateOidc struct { + // Set of additional parameters for the request. + // Detailed below. + AuthenticationRequestExtraParams map[string]string `pulumi:"authenticationRequestExtraParams"` + // The authorization endpoint of the IdP. + AuthorizationEndpoint string `pulumi:"authorizationEndpoint"` + // OAuth 2.0 client identifier. + ClientId string `pulumi:"clientId"` + // OIDC issuer identifier of the IdP. + Issuer string `pulumi:"issuer"` + // Behavior when the client is not authenticated. + OnUnauthenticatedRequest string `pulumi:"onUnauthenticatedRequest"` + // Set of user claims requested. + Scope string `pulumi:"scope"` + // Name of the cookie used to maintain session information. + SessionCookieName string `pulumi:"sessionCookieName"` + // Maximum duration of the authentication session in seconds. + SessionTimeout int `pulumi:"sessionTimeout"` + // The token endpoint of the IdP. + TokenEndpoint string `pulumi:"tokenEndpoint"` + // The user info endpoint of the IdP. + UserInfoEndpoint string `pulumi:"userInfoEndpoint"` +} + +// GetListenerRuleActionAuthenticateOidcInput is an input type that accepts GetListenerRuleActionAuthenticateOidcArgs and GetListenerRuleActionAuthenticateOidcOutput values. +// You can construct a concrete instance of `GetListenerRuleActionAuthenticateOidcInput` via: +// +// GetListenerRuleActionAuthenticateOidcArgs{...} +type GetListenerRuleActionAuthenticateOidcInput interface { + pulumi.Input + + ToGetListenerRuleActionAuthenticateOidcOutput() GetListenerRuleActionAuthenticateOidcOutput + ToGetListenerRuleActionAuthenticateOidcOutputWithContext(context.Context) GetListenerRuleActionAuthenticateOidcOutput +} + +type GetListenerRuleActionAuthenticateOidcArgs struct { + // Set of additional parameters for the request. + // Detailed below. + AuthenticationRequestExtraParams pulumi.StringMapInput `pulumi:"authenticationRequestExtraParams"` + // The authorization endpoint of the IdP. + AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"` + // OAuth 2.0 client identifier. + ClientId pulumi.StringInput `pulumi:"clientId"` + // OIDC issuer identifier of the IdP. + Issuer pulumi.StringInput `pulumi:"issuer"` + // Behavior when the client is not authenticated. + OnUnauthenticatedRequest pulumi.StringInput `pulumi:"onUnauthenticatedRequest"` + // Set of user claims requested. + Scope pulumi.StringInput `pulumi:"scope"` + // Name of the cookie used to maintain session information. + SessionCookieName pulumi.StringInput `pulumi:"sessionCookieName"` + // Maximum duration of the authentication session in seconds. + SessionTimeout pulumi.IntInput `pulumi:"sessionTimeout"` + // The token endpoint of the IdP. + TokenEndpoint pulumi.StringInput `pulumi:"tokenEndpoint"` + // The user info endpoint of the IdP. + UserInfoEndpoint pulumi.StringInput `pulumi:"userInfoEndpoint"` +} + +func (GetListenerRuleActionAuthenticateOidcArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionAuthenticateOidc)(nil)).Elem() +} + +func (i GetListenerRuleActionAuthenticateOidcArgs) ToGetListenerRuleActionAuthenticateOidcOutput() GetListenerRuleActionAuthenticateOidcOutput { + return i.ToGetListenerRuleActionAuthenticateOidcOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionAuthenticateOidcArgs) ToGetListenerRuleActionAuthenticateOidcOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateOidcOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionAuthenticateOidcOutput) +} + +func (i GetListenerRuleActionAuthenticateOidcArgs) ToGetListenerRuleActionAuthenticateOidcPtrOutput() GetListenerRuleActionAuthenticateOidcPtrOutput { + return i.ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionAuthenticateOidcArgs) ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateOidcPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionAuthenticateOidcOutput).ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx) +} + +// GetListenerRuleActionAuthenticateOidcPtrInput is an input type that accepts GetListenerRuleActionAuthenticateOidcArgs, GetListenerRuleActionAuthenticateOidcPtr and GetListenerRuleActionAuthenticateOidcPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleActionAuthenticateOidcPtrInput` via: +// +// GetListenerRuleActionAuthenticateOidcArgs{...} +// +// or: +// +// nil +type GetListenerRuleActionAuthenticateOidcPtrInput interface { + pulumi.Input + + ToGetListenerRuleActionAuthenticateOidcPtrOutput() GetListenerRuleActionAuthenticateOidcPtrOutput + ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(context.Context) GetListenerRuleActionAuthenticateOidcPtrOutput +} + +type getListenerRuleActionAuthenticateOidcPtrType GetListenerRuleActionAuthenticateOidcArgs + +func GetListenerRuleActionAuthenticateOidcPtr(v *GetListenerRuleActionAuthenticateOidcArgs) GetListenerRuleActionAuthenticateOidcPtrInput { + return (*getListenerRuleActionAuthenticateOidcPtrType)(v) +} + +func (*getListenerRuleActionAuthenticateOidcPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionAuthenticateOidc)(nil)).Elem() +} + +func (i *getListenerRuleActionAuthenticateOidcPtrType) ToGetListenerRuleActionAuthenticateOidcPtrOutput() GetListenerRuleActionAuthenticateOidcPtrOutput { + return i.ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleActionAuthenticateOidcPtrType) ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateOidcPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionAuthenticateOidcPtrOutput) +} + +type GetListenerRuleActionAuthenticateOidcOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionAuthenticateOidcOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionAuthenticateOidc)(nil)).Elem() +} + +func (o GetListenerRuleActionAuthenticateOidcOutput) ToGetListenerRuleActionAuthenticateOidcOutput() GetListenerRuleActionAuthenticateOidcOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateOidcOutput) ToGetListenerRuleActionAuthenticateOidcOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateOidcOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateOidcOutput) ToGetListenerRuleActionAuthenticateOidcPtrOutput() GetListenerRuleActionAuthenticateOidcPtrOutput { + return o.ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleActionAuthenticateOidcOutput) ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateOidcPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleActionAuthenticateOidc) *GetListenerRuleActionAuthenticateOidc { + return &v + }).(GetListenerRuleActionAuthenticateOidcPtrOutput) +} + +// Set of additional parameters for the request. +// Detailed below. +func (o GetListenerRuleActionAuthenticateOidcOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) map[string]string { + return v.AuthenticationRequestExtraParams + }).(pulumi.StringMapOutput) +} + +// The authorization endpoint of the IdP. +func (o GetListenerRuleActionAuthenticateOidcOutput) AuthorizationEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.AuthorizationEndpoint }).(pulumi.StringOutput) +} + +// OAuth 2.0 client identifier. +func (o GetListenerRuleActionAuthenticateOidcOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.ClientId }).(pulumi.StringOutput) +} + +// OIDC issuer identifier of the IdP. +func (o GetListenerRuleActionAuthenticateOidcOutput) Issuer() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.Issuer }).(pulumi.StringOutput) +} + +// Behavior when the client is not authenticated. +func (o GetListenerRuleActionAuthenticateOidcOutput) OnUnauthenticatedRequest() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.OnUnauthenticatedRequest }).(pulumi.StringOutput) +} + +// Set of user claims requested. +func (o GetListenerRuleActionAuthenticateOidcOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.Scope }).(pulumi.StringOutput) +} + +// Name of the cookie used to maintain session information. +func (o GetListenerRuleActionAuthenticateOidcOutput) SessionCookieName() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.SessionCookieName }).(pulumi.StringOutput) +} + +// Maximum duration of the authentication session in seconds. +func (o GetListenerRuleActionAuthenticateOidcOutput) SessionTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) int { return v.SessionTimeout }).(pulumi.IntOutput) +} + +// The token endpoint of the IdP. +func (o GetListenerRuleActionAuthenticateOidcOutput) TokenEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.TokenEndpoint }).(pulumi.StringOutput) +} + +// The user info endpoint of the IdP. +func (o GetListenerRuleActionAuthenticateOidcOutput) UserInfoEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionAuthenticateOidc) string { return v.UserInfoEndpoint }).(pulumi.StringOutput) +} + +type GetListenerRuleActionAuthenticateOidcPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionAuthenticateOidcPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionAuthenticateOidc)(nil)).Elem() +} + +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) ToGetListenerRuleActionAuthenticateOidcPtrOutput() GetListenerRuleActionAuthenticateOidcPtrOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) ToGetListenerRuleActionAuthenticateOidcPtrOutputWithContext(ctx context.Context) GetListenerRuleActionAuthenticateOidcPtrOutput { + return o +} + +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) Elem() GetListenerRuleActionAuthenticateOidcOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) GetListenerRuleActionAuthenticateOidc { + if v != nil { + return *v + } + var ret GetListenerRuleActionAuthenticateOidc + return ret + }).(GetListenerRuleActionAuthenticateOidcOutput) +} + +// Set of additional parameters for the request. +// Detailed below. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) AuthenticationRequestExtraParams() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) map[string]string { + if v == nil { + return nil + } + return v.AuthenticationRequestExtraParams + }).(pulumi.StringMapOutput) +} + +// The authorization endpoint of the IdP. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) AuthorizationEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.AuthorizationEndpoint + }).(pulumi.StringPtrOutput) +} + +// OAuth 2.0 client identifier. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.ClientId + }).(pulumi.StringPtrOutput) +} + +// OIDC issuer identifier of the IdP. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) Issuer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.Issuer + }).(pulumi.StringPtrOutput) +} + +// Behavior when the client is not authenticated. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) OnUnauthenticatedRequest() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.OnUnauthenticatedRequest + }).(pulumi.StringPtrOutput) +} + +// Set of user claims requested. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.Scope + }).(pulumi.StringPtrOutput) +} + +// Name of the cookie used to maintain session information. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) SessionCookieName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.SessionCookieName + }).(pulumi.StringPtrOutput) +} + +// Maximum duration of the authentication session in seconds. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) SessionTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *int { + if v == nil { + return nil + } + return &v.SessionTimeout + }).(pulumi.IntPtrOutput) +} + +// The token endpoint of the IdP. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) TokenEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.TokenEndpoint + }).(pulumi.StringPtrOutput) +} + +// The user info endpoint of the IdP. +func (o GetListenerRuleActionAuthenticateOidcPtrOutput) UserInfoEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionAuthenticateOidc) *string { + if v == nil { + return nil + } + return &v.UserInfoEndpoint + }).(pulumi.StringPtrOutput) +} + +type GetListenerRuleActionFixedResponse struct { + // Content type of the response. + ContentType string `pulumi:"contentType"` + // Message body of the response. + MessageBody string `pulumi:"messageBody"` + // The HTTP redirect code. + StatusCode string `pulumi:"statusCode"` +} + +// GetListenerRuleActionFixedResponseInput is an input type that accepts GetListenerRuleActionFixedResponseArgs and GetListenerRuleActionFixedResponseOutput values. +// You can construct a concrete instance of `GetListenerRuleActionFixedResponseInput` via: +// +// GetListenerRuleActionFixedResponseArgs{...} +type GetListenerRuleActionFixedResponseInput interface { + pulumi.Input + + ToGetListenerRuleActionFixedResponseOutput() GetListenerRuleActionFixedResponseOutput + ToGetListenerRuleActionFixedResponseOutputWithContext(context.Context) GetListenerRuleActionFixedResponseOutput +} + +type GetListenerRuleActionFixedResponseArgs struct { + // Content type of the response. + ContentType pulumi.StringInput `pulumi:"contentType"` + // Message body of the response. + MessageBody pulumi.StringInput `pulumi:"messageBody"` + // The HTTP redirect code. + StatusCode pulumi.StringInput `pulumi:"statusCode"` +} + +func (GetListenerRuleActionFixedResponseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionFixedResponse)(nil)).Elem() +} + +func (i GetListenerRuleActionFixedResponseArgs) ToGetListenerRuleActionFixedResponseOutput() GetListenerRuleActionFixedResponseOutput { + return i.ToGetListenerRuleActionFixedResponseOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionFixedResponseArgs) ToGetListenerRuleActionFixedResponseOutputWithContext(ctx context.Context) GetListenerRuleActionFixedResponseOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionFixedResponseOutput) +} + +func (i GetListenerRuleActionFixedResponseArgs) ToGetListenerRuleActionFixedResponsePtrOutput() GetListenerRuleActionFixedResponsePtrOutput { + return i.ToGetListenerRuleActionFixedResponsePtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionFixedResponseArgs) ToGetListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) GetListenerRuleActionFixedResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionFixedResponseOutput).ToGetListenerRuleActionFixedResponsePtrOutputWithContext(ctx) +} + +// GetListenerRuleActionFixedResponsePtrInput is an input type that accepts GetListenerRuleActionFixedResponseArgs, GetListenerRuleActionFixedResponsePtr and GetListenerRuleActionFixedResponsePtrOutput values. +// You can construct a concrete instance of `GetListenerRuleActionFixedResponsePtrInput` via: +// +// GetListenerRuleActionFixedResponseArgs{...} +// +// or: +// +// nil +type GetListenerRuleActionFixedResponsePtrInput interface { + pulumi.Input + + ToGetListenerRuleActionFixedResponsePtrOutput() GetListenerRuleActionFixedResponsePtrOutput + ToGetListenerRuleActionFixedResponsePtrOutputWithContext(context.Context) GetListenerRuleActionFixedResponsePtrOutput +} + +type getListenerRuleActionFixedResponsePtrType GetListenerRuleActionFixedResponseArgs + +func GetListenerRuleActionFixedResponsePtr(v *GetListenerRuleActionFixedResponseArgs) GetListenerRuleActionFixedResponsePtrInput { + return (*getListenerRuleActionFixedResponsePtrType)(v) +} + +func (*getListenerRuleActionFixedResponsePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionFixedResponse)(nil)).Elem() +} + +func (i *getListenerRuleActionFixedResponsePtrType) ToGetListenerRuleActionFixedResponsePtrOutput() GetListenerRuleActionFixedResponsePtrOutput { + return i.ToGetListenerRuleActionFixedResponsePtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleActionFixedResponsePtrType) ToGetListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) GetListenerRuleActionFixedResponsePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionFixedResponsePtrOutput) +} + +type GetListenerRuleActionFixedResponseOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionFixedResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionFixedResponse)(nil)).Elem() +} + +func (o GetListenerRuleActionFixedResponseOutput) ToGetListenerRuleActionFixedResponseOutput() GetListenerRuleActionFixedResponseOutput { + return o +} + +func (o GetListenerRuleActionFixedResponseOutput) ToGetListenerRuleActionFixedResponseOutputWithContext(ctx context.Context) GetListenerRuleActionFixedResponseOutput { + return o +} + +func (o GetListenerRuleActionFixedResponseOutput) ToGetListenerRuleActionFixedResponsePtrOutput() GetListenerRuleActionFixedResponsePtrOutput { + return o.ToGetListenerRuleActionFixedResponsePtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleActionFixedResponseOutput) ToGetListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) GetListenerRuleActionFixedResponsePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleActionFixedResponse) *GetListenerRuleActionFixedResponse { + return &v + }).(GetListenerRuleActionFixedResponsePtrOutput) +} + +// Content type of the response. +func (o GetListenerRuleActionFixedResponseOutput) ContentType() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionFixedResponse) string { return v.ContentType }).(pulumi.StringOutput) +} + +// Message body of the response. +func (o GetListenerRuleActionFixedResponseOutput) MessageBody() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionFixedResponse) string { return v.MessageBody }).(pulumi.StringOutput) +} + +// The HTTP redirect code. +func (o GetListenerRuleActionFixedResponseOutput) StatusCode() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionFixedResponse) string { return v.StatusCode }).(pulumi.StringOutput) +} + +type GetListenerRuleActionFixedResponsePtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionFixedResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionFixedResponse)(nil)).Elem() +} + +func (o GetListenerRuleActionFixedResponsePtrOutput) ToGetListenerRuleActionFixedResponsePtrOutput() GetListenerRuleActionFixedResponsePtrOutput { + return o +} + +func (o GetListenerRuleActionFixedResponsePtrOutput) ToGetListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) GetListenerRuleActionFixedResponsePtrOutput { + return o +} + +func (o GetListenerRuleActionFixedResponsePtrOutput) Elem() GetListenerRuleActionFixedResponseOutput { + return o.ApplyT(func(v *GetListenerRuleActionFixedResponse) GetListenerRuleActionFixedResponse { + if v != nil { + return *v + } + var ret GetListenerRuleActionFixedResponse + return ret + }).(GetListenerRuleActionFixedResponseOutput) +} + +// Content type of the response. +func (o GetListenerRuleActionFixedResponsePtrOutput) ContentType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionFixedResponse) *string { + if v == nil { + return nil + } + return &v.ContentType + }).(pulumi.StringPtrOutput) +} + +// Message body of the response. +func (o GetListenerRuleActionFixedResponsePtrOutput) MessageBody() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionFixedResponse) *string { + if v == nil { + return nil + } + return &v.MessageBody + }).(pulumi.StringPtrOutput) +} + +// The HTTP redirect code. +func (o GetListenerRuleActionFixedResponsePtrOutput) StatusCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionFixedResponse) *string { + if v == nil { + return nil + } + return &v.StatusCode + }).(pulumi.StringPtrOutput) +} + +type GetListenerRuleActionForward struct { + // Target group stickiness for the rule. + // Detailed below. + Stickiness *GetListenerRuleActionForwardStickiness `pulumi:"stickiness"` + // Set of target groups for the action. + // Detailed below. + TargetGroups []GetListenerRuleActionForwardTargetGroup `pulumi:"targetGroups"` +} + +// GetListenerRuleActionForwardInput is an input type that accepts GetListenerRuleActionForwardArgs and GetListenerRuleActionForwardOutput values. +// You can construct a concrete instance of `GetListenerRuleActionForwardInput` via: +// +// GetListenerRuleActionForwardArgs{...} +type GetListenerRuleActionForwardInput interface { + pulumi.Input + + ToGetListenerRuleActionForwardOutput() GetListenerRuleActionForwardOutput + ToGetListenerRuleActionForwardOutputWithContext(context.Context) GetListenerRuleActionForwardOutput +} + +type GetListenerRuleActionForwardArgs struct { + // Target group stickiness for the rule. + // Detailed below. + Stickiness GetListenerRuleActionForwardStickinessPtrInput `pulumi:"stickiness"` + // Set of target groups for the action. + // Detailed below. + TargetGroups GetListenerRuleActionForwardTargetGroupArrayInput `pulumi:"targetGroups"` +} + +func (GetListenerRuleActionForwardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionForward)(nil)).Elem() +} + +func (i GetListenerRuleActionForwardArgs) ToGetListenerRuleActionForwardOutput() GetListenerRuleActionForwardOutput { + return i.ToGetListenerRuleActionForwardOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionForwardArgs) ToGetListenerRuleActionForwardOutputWithContext(ctx context.Context) GetListenerRuleActionForwardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardOutput) +} + +func (i GetListenerRuleActionForwardArgs) ToGetListenerRuleActionForwardPtrOutput() GetListenerRuleActionForwardPtrOutput { + return i.ToGetListenerRuleActionForwardPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionForwardArgs) ToGetListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardOutput).ToGetListenerRuleActionForwardPtrOutputWithContext(ctx) +} + +// GetListenerRuleActionForwardPtrInput is an input type that accepts GetListenerRuleActionForwardArgs, GetListenerRuleActionForwardPtr and GetListenerRuleActionForwardPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleActionForwardPtrInput` via: +// +// GetListenerRuleActionForwardArgs{...} +// +// or: +// +// nil +type GetListenerRuleActionForwardPtrInput interface { + pulumi.Input + + ToGetListenerRuleActionForwardPtrOutput() GetListenerRuleActionForwardPtrOutput + ToGetListenerRuleActionForwardPtrOutputWithContext(context.Context) GetListenerRuleActionForwardPtrOutput +} + +type getListenerRuleActionForwardPtrType GetListenerRuleActionForwardArgs + +func GetListenerRuleActionForwardPtr(v *GetListenerRuleActionForwardArgs) GetListenerRuleActionForwardPtrInput { + return (*getListenerRuleActionForwardPtrType)(v) +} + +func (*getListenerRuleActionForwardPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionForward)(nil)).Elem() +} + +func (i *getListenerRuleActionForwardPtrType) ToGetListenerRuleActionForwardPtrOutput() GetListenerRuleActionForwardPtrOutput { + return i.ToGetListenerRuleActionForwardPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleActionForwardPtrType) ToGetListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardPtrOutput) +} + +type GetListenerRuleActionForwardOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionForwardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionForward)(nil)).Elem() +} + +func (o GetListenerRuleActionForwardOutput) ToGetListenerRuleActionForwardOutput() GetListenerRuleActionForwardOutput { + return o +} + +func (o GetListenerRuleActionForwardOutput) ToGetListenerRuleActionForwardOutputWithContext(ctx context.Context) GetListenerRuleActionForwardOutput { + return o +} + +func (o GetListenerRuleActionForwardOutput) ToGetListenerRuleActionForwardPtrOutput() GetListenerRuleActionForwardPtrOutput { + return o.ToGetListenerRuleActionForwardPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleActionForwardOutput) ToGetListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleActionForward) *GetListenerRuleActionForward { + return &v + }).(GetListenerRuleActionForwardPtrOutput) +} + +// Target group stickiness for the rule. +// Detailed below. +func (o GetListenerRuleActionForwardOutput) Stickiness() GetListenerRuleActionForwardStickinessPtrOutput { + return o.ApplyT(func(v GetListenerRuleActionForward) *GetListenerRuleActionForwardStickiness { return v.Stickiness }).(GetListenerRuleActionForwardStickinessPtrOutput) +} + +// Set of target groups for the action. +// Detailed below. +func (o GetListenerRuleActionForwardOutput) TargetGroups() GetListenerRuleActionForwardTargetGroupArrayOutput { + return o.ApplyT(func(v GetListenerRuleActionForward) []GetListenerRuleActionForwardTargetGroup { return v.TargetGroups }).(GetListenerRuleActionForwardTargetGroupArrayOutput) +} + +type GetListenerRuleActionForwardPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionForwardPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionForward)(nil)).Elem() +} + +func (o GetListenerRuleActionForwardPtrOutput) ToGetListenerRuleActionForwardPtrOutput() GetListenerRuleActionForwardPtrOutput { + return o +} + +func (o GetListenerRuleActionForwardPtrOutput) ToGetListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardPtrOutput { + return o +} + +func (o GetListenerRuleActionForwardPtrOutput) Elem() GetListenerRuleActionForwardOutput { + return o.ApplyT(func(v *GetListenerRuleActionForward) GetListenerRuleActionForward { + if v != nil { + return *v + } + var ret GetListenerRuleActionForward + return ret + }).(GetListenerRuleActionForwardOutput) +} + +// Target group stickiness for the rule. +// Detailed below. +func (o GetListenerRuleActionForwardPtrOutput) Stickiness() GetListenerRuleActionForwardStickinessPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionForward) *GetListenerRuleActionForwardStickiness { + if v == nil { + return nil + } + return v.Stickiness + }).(GetListenerRuleActionForwardStickinessPtrOutput) +} + +// Set of target groups for the action. +// Detailed below. +func (o GetListenerRuleActionForwardPtrOutput) TargetGroups() GetListenerRuleActionForwardTargetGroupArrayOutput { + return o.ApplyT(func(v *GetListenerRuleActionForward) []GetListenerRuleActionForwardTargetGroup { + if v == nil { + return nil + } + return v.TargetGroups + }).(GetListenerRuleActionForwardTargetGroupArrayOutput) +} + +type GetListenerRuleActionForwardStickiness struct { + // The time period, in seconds, during which requests from a client should be routed to the same target group. + Duration float64 `pulumi:"duration"` + // Indicates whether target group stickiness is enabled. + Enabled bool `pulumi:"enabled"` +} + +// GetListenerRuleActionForwardStickinessInput is an input type that accepts GetListenerRuleActionForwardStickinessArgs and GetListenerRuleActionForwardStickinessOutput values. +// You can construct a concrete instance of `GetListenerRuleActionForwardStickinessInput` via: +// +// GetListenerRuleActionForwardStickinessArgs{...} +type GetListenerRuleActionForwardStickinessInput interface { + pulumi.Input + + ToGetListenerRuleActionForwardStickinessOutput() GetListenerRuleActionForwardStickinessOutput + ToGetListenerRuleActionForwardStickinessOutputWithContext(context.Context) GetListenerRuleActionForwardStickinessOutput +} + +type GetListenerRuleActionForwardStickinessArgs struct { + // The time period, in seconds, during which requests from a client should be routed to the same target group. + Duration pulumi.Float64Input `pulumi:"duration"` + // Indicates whether target group stickiness is enabled. + Enabled pulumi.BoolInput `pulumi:"enabled"` +} + +func (GetListenerRuleActionForwardStickinessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionForwardStickiness)(nil)).Elem() +} + +func (i GetListenerRuleActionForwardStickinessArgs) ToGetListenerRuleActionForwardStickinessOutput() GetListenerRuleActionForwardStickinessOutput { + return i.ToGetListenerRuleActionForwardStickinessOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionForwardStickinessArgs) ToGetListenerRuleActionForwardStickinessOutputWithContext(ctx context.Context) GetListenerRuleActionForwardStickinessOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardStickinessOutput) +} + +func (i GetListenerRuleActionForwardStickinessArgs) ToGetListenerRuleActionForwardStickinessPtrOutput() GetListenerRuleActionForwardStickinessPtrOutput { + return i.ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionForwardStickinessArgs) ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardStickinessPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardStickinessOutput).ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(ctx) +} + +// GetListenerRuleActionForwardStickinessPtrInput is an input type that accepts GetListenerRuleActionForwardStickinessArgs, GetListenerRuleActionForwardStickinessPtr and GetListenerRuleActionForwardStickinessPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleActionForwardStickinessPtrInput` via: +// +// GetListenerRuleActionForwardStickinessArgs{...} +// +// or: +// +// nil +type GetListenerRuleActionForwardStickinessPtrInput interface { + pulumi.Input + + ToGetListenerRuleActionForwardStickinessPtrOutput() GetListenerRuleActionForwardStickinessPtrOutput + ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(context.Context) GetListenerRuleActionForwardStickinessPtrOutput +} + +type getListenerRuleActionForwardStickinessPtrType GetListenerRuleActionForwardStickinessArgs + +func GetListenerRuleActionForwardStickinessPtr(v *GetListenerRuleActionForwardStickinessArgs) GetListenerRuleActionForwardStickinessPtrInput { + return (*getListenerRuleActionForwardStickinessPtrType)(v) +} + +func (*getListenerRuleActionForwardStickinessPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionForwardStickiness)(nil)).Elem() +} + +func (i *getListenerRuleActionForwardStickinessPtrType) ToGetListenerRuleActionForwardStickinessPtrOutput() GetListenerRuleActionForwardStickinessPtrOutput { + return i.ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleActionForwardStickinessPtrType) ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardStickinessPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardStickinessPtrOutput) +} + +type GetListenerRuleActionForwardStickinessOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionForwardStickinessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionForwardStickiness)(nil)).Elem() +} + +func (o GetListenerRuleActionForwardStickinessOutput) ToGetListenerRuleActionForwardStickinessOutput() GetListenerRuleActionForwardStickinessOutput { + return o +} + +func (o GetListenerRuleActionForwardStickinessOutput) ToGetListenerRuleActionForwardStickinessOutputWithContext(ctx context.Context) GetListenerRuleActionForwardStickinessOutput { + return o +} + +func (o GetListenerRuleActionForwardStickinessOutput) ToGetListenerRuleActionForwardStickinessPtrOutput() GetListenerRuleActionForwardStickinessPtrOutput { + return o.ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleActionForwardStickinessOutput) ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardStickinessPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleActionForwardStickiness) *GetListenerRuleActionForwardStickiness { + return &v + }).(GetListenerRuleActionForwardStickinessPtrOutput) +} + +// The time period, in seconds, during which requests from a client should be routed to the same target group. +func (o GetListenerRuleActionForwardStickinessOutput) Duration() pulumi.Float64Output { + return o.ApplyT(func(v GetListenerRuleActionForwardStickiness) float64 { return v.Duration }).(pulumi.Float64Output) +} + +// Indicates whether target group stickiness is enabled. +func (o GetListenerRuleActionForwardStickinessOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetListenerRuleActionForwardStickiness) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +type GetListenerRuleActionForwardStickinessPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionForwardStickinessPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionForwardStickiness)(nil)).Elem() +} + +func (o GetListenerRuleActionForwardStickinessPtrOutput) ToGetListenerRuleActionForwardStickinessPtrOutput() GetListenerRuleActionForwardStickinessPtrOutput { + return o +} + +func (o GetListenerRuleActionForwardStickinessPtrOutput) ToGetListenerRuleActionForwardStickinessPtrOutputWithContext(ctx context.Context) GetListenerRuleActionForwardStickinessPtrOutput { + return o +} + +func (o GetListenerRuleActionForwardStickinessPtrOutput) Elem() GetListenerRuleActionForwardStickinessOutput { + return o.ApplyT(func(v *GetListenerRuleActionForwardStickiness) GetListenerRuleActionForwardStickiness { + if v != nil { + return *v + } + var ret GetListenerRuleActionForwardStickiness + return ret + }).(GetListenerRuleActionForwardStickinessOutput) +} + +// The time period, in seconds, during which requests from a client should be routed to the same target group. +func (o GetListenerRuleActionForwardStickinessPtrOutput) Duration() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionForwardStickiness) *float64 { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.Float64PtrOutput) +} + +// Indicates whether target group stickiness is enabled. +func (o GetListenerRuleActionForwardStickinessPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionForwardStickiness) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) +} + +type GetListenerRuleActionForwardTargetGroup struct { + // ARN of the Listener Rule. + // Either `arn` or `listenerArn` must be set. + Arn string `pulumi:"arn"` + // Weight of the target group. + Weight float64 `pulumi:"weight"` +} + +// GetListenerRuleActionForwardTargetGroupInput is an input type that accepts GetListenerRuleActionForwardTargetGroupArgs and GetListenerRuleActionForwardTargetGroupOutput values. +// You can construct a concrete instance of `GetListenerRuleActionForwardTargetGroupInput` via: +// +// GetListenerRuleActionForwardTargetGroupArgs{...} +type GetListenerRuleActionForwardTargetGroupInput interface { + pulumi.Input + + ToGetListenerRuleActionForwardTargetGroupOutput() GetListenerRuleActionForwardTargetGroupOutput + ToGetListenerRuleActionForwardTargetGroupOutputWithContext(context.Context) GetListenerRuleActionForwardTargetGroupOutput +} + +type GetListenerRuleActionForwardTargetGroupArgs struct { + // ARN of the Listener Rule. + // Either `arn` or `listenerArn` must be set. + Arn pulumi.StringInput `pulumi:"arn"` + // Weight of the target group. + Weight pulumi.Float64Input `pulumi:"weight"` +} + +func (GetListenerRuleActionForwardTargetGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionForwardTargetGroup)(nil)).Elem() +} + +func (i GetListenerRuleActionForwardTargetGroupArgs) ToGetListenerRuleActionForwardTargetGroupOutput() GetListenerRuleActionForwardTargetGroupOutput { + return i.ToGetListenerRuleActionForwardTargetGroupOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionForwardTargetGroupArgs) ToGetListenerRuleActionForwardTargetGroupOutputWithContext(ctx context.Context) GetListenerRuleActionForwardTargetGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardTargetGroupOutput) +} + +// GetListenerRuleActionForwardTargetGroupArrayInput is an input type that accepts GetListenerRuleActionForwardTargetGroupArray and GetListenerRuleActionForwardTargetGroupArrayOutput values. +// You can construct a concrete instance of `GetListenerRuleActionForwardTargetGroupArrayInput` via: +// +// GetListenerRuleActionForwardTargetGroupArray{ GetListenerRuleActionForwardTargetGroupArgs{...} } +type GetListenerRuleActionForwardTargetGroupArrayInput interface { + pulumi.Input + + ToGetListenerRuleActionForwardTargetGroupArrayOutput() GetListenerRuleActionForwardTargetGroupArrayOutput + ToGetListenerRuleActionForwardTargetGroupArrayOutputWithContext(context.Context) GetListenerRuleActionForwardTargetGroupArrayOutput +} + +type GetListenerRuleActionForwardTargetGroupArray []GetListenerRuleActionForwardTargetGroupInput + +func (GetListenerRuleActionForwardTargetGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleActionForwardTargetGroup)(nil)).Elem() +} + +func (i GetListenerRuleActionForwardTargetGroupArray) ToGetListenerRuleActionForwardTargetGroupArrayOutput() GetListenerRuleActionForwardTargetGroupArrayOutput { + return i.ToGetListenerRuleActionForwardTargetGroupArrayOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionForwardTargetGroupArray) ToGetListenerRuleActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) GetListenerRuleActionForwardTargetGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionForwardTargetGroupArrayOutput) +} + +type GetListenerRuleActionForwardTargetGroupOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionForwardTargetGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionForwardTargetGroup)(nil)).Elem() +} + +func (o GetListenerRuleActionForwardTargetGroupOutput) ToGetListenerRuleActionForwardTargetGroupOutput() GetListenerRuleActionForwardTargetGroupOutput { + return o +} + +func (o GetListenerRuleActionForwardTargetGroupOutput) ToGetListenerRuleActionForwardTargetGroupOutputWithContext(ctx context.Context) GetListenerRuleActionForwardTargetGroupOutput { + return o +} + +// ARN of the Listener Rule. +// Either `arn` or `listenerArn` must be set. +func (o GetListenerRuleActionForwardTargetGroupOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionForwardTargetGroup) string { return v.Arn }).(pulumi.StringOutput) +} + +// Weight of the target group. +func (o GetListenerRuleActionForwardTargetGroupOutput) Weight() pulumi.Float64Output { + return o.ApplyT(func(v GetListenerRuleActionForwardTargetGroup) float64 { return v.Weight }).(pulumi.Float64Output) +} + +type GetListenerRuleActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionForwardTargetGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleActionForwardTargetGroup)(nil)).Elem() +} + +func (o GetListenerRuleActionForwardTargetGroupArrayOutput) ToGetListenerRuleActionForwardTargetGroupArrayOutput() GetListenerRuleActionForwardTargetGroupArrayOutput { + return o +} + +func (o GetListenerRuleActionForwardTargetGroupArrayOutput) ToGetListenerRuleActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) GetListenerRuleActionForwardTargetGroupArrayOutput { + return o +} + +func (o GetListenerRuleActionForwardTargetGroupArrayOutput) Index(i pulumi.IntInput) GetListenerRuleActionForwardTargetGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListenerRuleActionForwardTargetGroup { + return vs[0].([]GetListenerRuleActionForwardTargetGroup)[vs[1].(int)] + }).(GetListenerRuleActionForwardTargetGroupOutput) +} + +type GetListenerRuleActionRedirect struct { + // The hostname. + Host string `pulumi:"host"` + // The absolute path, starting with `/`. + Path string `pulumi:"path"` + // The port. + Port string `pulumi:"port"` + // The protocol. + Protocol string `pulumi:"protocol"` + // The query parameters. + Query string `pulumi:"query"` + // The HTTP redirect code. + StatusCode string `pulumi:"statusCode"` +} + +// GetListenerRuleActionRedirectInput is an input type that accepts GetListenerRuleActionRedirectArgs and GetListenerRuleActionRedirectOutput values. +// You can construct a concrete instance of `GetListenerRuleActionRedirectInput` via: +// +// GetListenerRuleActionRedirectArgs{...} +type GetListenerRuleActionRedirectInput interface { + pulumi.Input + + ToGetListenerRuleActionRedirectOutput() GetListenerRuleActionRedirectOutput + ToGetListenerRuleActionRedirectOutputWithContext(context.Context) GetListenerRuleActionRedirectOutput +} + +type GetListenerRuleActionRedirectArgs struct { + // The hostname. + Host pulumi.StringInput `pulumi:"host"` + // The absolute path, starting with `/`. + Path pulumi.StringInput `pulumi:"path"` + // The port. + Port pulumi.StringInput `pulumi:"port"` + // The protocol. + Protocol pulumi.StringInput `pulumi:"protocol"` + // The query parameters. + Query pulumi.StringInput `pulumi:"query"` + // The HTTP redirect code. + StatusCode pulumi.StringInput `pulumi:"statusCode"` +} + +func (GetListenerRuleActionRedirectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionRedirect)(nil)).Elem() +} + +func (i GetListenerRuleActionRedirectArgs) ToGetListenerRuleActionRedirectOutput() GetListenerRuleActionRedirectOutput { + return i.ToGetListenerRuleActionRedirectOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionRedirectArgs) ToGetListenerRuleActionRedirectOutputWithContext(ctx context.Context) GetListenerRuleActionRedirectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionRedirectOutput) +} + +func (i GetListenerRuleActionRedirectArgs) ToGetListenerRuleActionRedirectPtrOutput() GetListenerRuleActionRedirectPtrOutput { + return i.ToGetListenerRuleActionRedirectPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleActionRedirectArgs) ToGetListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) GetListenerRuleActionRedirectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionRedirectOutput).ToGetListenerRuleActionRedirectPtrOutputWithContext(ctx) +} + +// GetListenerRuleActionRedirectPtrInput is an input type that accepts GetListenerRuleActionRedirectArgs, GetListenerRuleActionRedirectPtr and GetListenerRuleActionRedirectPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleActionRedirectPtrInput` via: +// +// GetListenerRuleActionRedirectArgs{...} +// +// or: +// +// nil +type GetListenerRuleActionRedirectPtrInput interface { + pulumi.Input + + ToGetListenerRuleActionRedirectPtrOutput() GetListenerRuleActionRedirectPtrOutput + ToGetListenerRuleActionRedirectPtrOutputWithContext(context.Context) GetListenerRuleActionRedirectPtrOutput +} + +type getListenerRuleActionRedirectPtrType GetListenerRuleActionRedirectArgs + +func GetListenerRuleActionRedirectPtr(v *GetListenerRuleActionRedirectArgs) GetListenerRuleActionRedirectPtrInput { + return (*getListenerRuleActionRedirectPtrType)(v) +} + +func (*getListenerRuleActionRedirectPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionRedirect)(nil)).Elem() +} + +func (i *getListenerRuleActionRedirectPtrType) ToGetListenerRuleActionRedirectPtrOutput() GetListenerRuleActionRedirectPtrOutput { + return i.ToGetListenerRuleActionRedirectPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleActionRedirectPtrType) ToGetListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) GetListenerRuleActionRedirectPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleActionRedirectPtrOutput) +} + +type GetListenerRuleActionRedirectOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionRedirectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleActionRedirect)(nil)).Elem() +} + +func (o GetListenerRuleActionRedirectOutput) ToGetListenerRuleActionRedirectOutput() GetListenerRuleActionRedirectOutput { + return o +} + +func (o GetListenerRuleActionRedirectOutput) ToGetListenerRuleActionRedirectOutputWithContext(ctx context.Context) GetListenerRuleActionRedirectOutput { + return o +} + +func (o GetListenerRuleActionRedirectOutput) ToGetListenerRuleActionRedirectPtrOutput() GetListenerRuleActionRedirectPtrOutput { + return o.ToGetListenerRuleActionRedirectPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleActionRedirectOutput) ToGetListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) GetListenerRuleActionRedirectPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleActionRedirect) *GetListenerRuleActionRedirect { + return &v + }).(GetListenerRuleActionRedirectPtrOutput) +} + +// The hostname. +func (o GetListenerRuleActionRedirectOutput) Host() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionRedirect) string { return v.Host }).(pulumi.StringOutput) +} + +// The absolute path, starting with `/`. +func (o GetListenerRuleActionRedirectOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionRedirect) string { return v.Path }).(pulumi.StringOutput) +} + +// The port. +func (o GetListenerRuleActionRedirectOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionRedirect) string { return v.Port }).(pulumi.StringOutput) +} + +// The protocol. +func (o GetListenerRuleActionRedirectOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionRedirect) string { return v.Protocol }).(pulumi.StringOutput) +} + +// The query parameters. +func (o GetListenerRuleActionRedirectOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionRedirect) string { return v.Query }).(pulumi.StringOutput) +} + +// The HTTP redirect code. +func (o GetListenerRuleActionRedirectOutput) StatusCode() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleActionRedirect) string { return v.StatusCode }).(pulumi.StringOutput) +} + +type GetListenerRuleActionRedirectPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleActionRedirectPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleActionRedirect)(nil)).Elem() +} + +func (o GetListenerRuleActionRedirectPtrOutput) ToGetListenerRuleActionRedirectPtrOutput() GetListenerRuleActionRedirectPtrOutput { + return o +} + +func (o GetListenerRuleActionRedirectPtrOutput) ToGetListenerRuleActionRedirectPtrOutputWithContext(ctx context.Context) GetListenerRuleActionRedirectPtrOutput { + return o +} + +func (o GetListenerRuleActionRedirectPtrOutput) Elem() GetListenerRuleActionRedirectOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) GetListenerRuleActionRedirect { + if v != nil { + return *v + } + var ret GetListenerRuleActionRedirect + return ret + }).(GetListenerRuleActionRedirectOutput) +} + +// The hostname. +func (o GetListenerRuleActionRedirectPtrOutput) Host() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) *string { + if v == nil { + return nil + } + return &v.Host + }).(pulumi.StringPtrOutput) +} + +// The absolute path, starting with `/`. +func (o GetListenerRuleActionRedirectPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) *string { + if v == nil { + return nil + } + return &v.Path + }).(pulumi.StringPtrOutput) +} + +// The port. +func (o GetListenerRuleActionRedirectPtrOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) *string { + if v == nil { + return nil + } + return &v.Port + }).(pulumi.StringPtrOutput) +} + +// The protocol. +func (o GetListenerRuleActionRedirectPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) *string { + if v == nil { + return nil + } + return &v.Protocol + }).(pulumi.StringPtrOutput) +} + +// The query parameters. +func (o GetListenerRuleActionRedirectPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) +} + +// The HTTP redirect code. +func (o GetListenerRuleActionRedirectPtrOutput) StatusCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleActionRedirect) *string { + if v == nil { + return nil + } + return &v.StatusCode + }).(pulumi.StringPtrOutput) +} + +type GetListenerRuleCondition struct { + // Contains a single attribute `values`, which contains a set of host names. + HostHeader *GetListenerRuleConditionHostHeader `pulumi:"hostHeader"` + // HTTP header and values to match. + // Detailed below. + HttpHeader *GetListenerRuleConditionHttpHeader `pulumi:"httpHeader"` + // Contains a single attribute `values`, which contains a set of HTTP request methods. + HttpRequestMethod *GetListenerRuleConditionHttpRequestMethod `pulumi:"httpRequestMethod"` + // Contains a single attribute `values`, which contains a set of path patterns to compare against the request URL. + PathPattern *GetListenerRuleConditionPathPattern `pulumi:"pathPattern"` + // Query string parameters to match. + // Detailed below. + QueryString *GetListenerRuleConditionQueryString `pulumi:"queryString"` + // Contains a single attribute `values`, which contains a set of source IPs in CIDR notation. + SourceIp *GetListenerRuleConditionSourceIp `pulumi:"sourceIp"` +} + +// GetListenerRuleConditionInput is an input type that accepts GetListenerRuleConditionArgs and GetListenerRuleConditionOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionInput` via: +// +// GetListenerRuleConditionArgs{...} +type GetListenerRuleConditionInput interface { + pulumi.Input + + ToGetListenerRuleConditionOutput() GetListenerRuleConditionOutput + ToGetListenerRuleConditionOutputWithContext(context.Context) GetListenerRuleConditionOutput +} + +type GetListenerRuleConditionArgs struct { + // Contains a single attribute `values`, which contains a set of host names. + HostHeader GetListenerRuleConditionHostHeaderPtrInput `pulumi:"hostHeader"` + // HTTP header and values to match. + // Detailed below. + HttpHeader GetListenerRuleConditionHttpHeaderPtrInput `pulumi:"httpHeader"` + // Contains a single attribute `values`, which contains a set of HTTP request methods. + HttpRequestMethod GetListenerRuleConditionHttpRequestMethodPtrInput `pulumi:"httpRequestMethod"` + // Contains a single attribute `values`, which contains a set of path patterns to compare against the request URL. + PathPattern GetListenerRuleConditionPathPatternPtrInput `pulumi:"pathPattern"` + // Query string parameters to match. + // Detailed below. + QueryString GetListenerRuleConditionQueryStringPtrInput `pulumi:"queryString"` + // Contains a single attribute `values`, which contains a set of source IPs in CIDR notation. + SourceIp GetListenerRuleConditionSourceIpPtrInput `pulumi:"sourceIp"` +} + +func (GetListenerRuleConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleCondition)(nil)).Elem() +} + +func (i GetListenerRuleConditionArgs) ToGetListenerRuleConditionOutput() GetListenerRuleConditionOutput { + return i.ToGetListenerRuleConditionOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionArgs) ToGetListenerRuleConditionOutputWithContext(ctx context.Context) GetListenerRuleConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionOutput) +} + +// GetListenerRuleConditionArrayInput is an input type that accepts GetListenerRuleConditionArray and GetListenerRuleConditionArrayOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionArrayInput` via: +// +// GetListenerRuleConditionArray{ GetListenerRuleConditionArgs{...} } +type GetListenerRuleConditionArrayInput interface { + pulumi.Input + + ToGetListenerRuleConditionArrayOutput() GetListenerRuleConditionArrayOutput + ToGetListenerRuleConditionArrayOutputWithContext(context.Context) GetListenerRuleConditionArrayOutput +} + +type GetListenerRuleConditionArray []GetListenerRuleConditionInput + +func (GetListenerRuleConditionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleCondition)(nil)).Elem() +} + +func (i GetListenerRuleConditionArray) ToGetListenerRuleConditionArrayOutput() GetListenerRuleConditionArrayOutput { + return i.ToGetListenerRuleConditionArrayOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionArray) ToGetListenerRuleConditionArrayOutputWithContext(ctx context.Context) GetListenerRuleConditionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionArrayOutput) +} + +type GetListenerRuleConditionOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleCondition)(nil)).Elem() +} + +func (o GetListenerRuleConditionOutput) ToGetListenerRuleConditionOutput() GetListenerRuleConditionOutput { + return o +} + +func (o GetListenerRuleConditionOutput) ToGetListenerRuleConditionOutputWithContext(ctx context.Context) GetListenerRuleConditionOutput { + return o +} + +// Contains a single attribute `values`, which contains a set of host names. +func (o GetListenerRuleConditionOutput) HostHeader() GetListenerRuleConditionHostHeaderPtrOutput { + return o.ApplyT(func(v GetListenerRuleCondition) *GetListenerRuleConditionHostHeader { return v.HostHeader }).(GetListenerRuleConditionHostHeaderPtrOutput) +} + +// HTTP header and values to match. +// Detailed below. +func (o GetListenerRuleConditionOutput) HttpHeader() GetListenerRuleConditionHttpHeaderPtrOutput { + return o.ApplyT(func(v GetListenerRuleCondition) *GetListenerRuleConditionHttpHeader { return v.HttpHeader }).(GetListenerRuleConditionHttpHeaderPtrOutput) +} + +// Contains a single attribute `values`, which contains a set of HTTP request methods. +func (o GetListenerRuleConditionOutput) HttpRequestMethod() GetListenerRuleConditionHttpRequestMethodPtrOutput { + return o.ApplyT(func(v GetListenerRuleCondition) *GetListenerRuleConditionHttpRequestMethod { + return v.HttpRequestMethod + }).(GetListenerRuleConditionHttpRequestMethodPtrOutput) +} + +// Contains a single attribute `values`, which contains a set of path patterns to compare against the request URL. +func (o GetListenerRuleConditionOutput) PathPattern() GetListenerRuleConditionPathPatternPtrOutput { + return o.ApplyT(func(v GetListenerRuleCondition) *GetListenerRuleConditionPathPattern { return v.PathPattern }).(GetListenerRuleConditionPathPatternPtrOutput) +} + +// Query string parameters to match. +// Detailed below. +func (o GetListenerRuleConditionOutput) QueryString() GetListenerRuleConditionQueryStringPtrOutput { + return o.ApplyT(func(v GetListenerRuleCondition) *GetListenerRuleConditionQueryString { return v.QueryString }).(GetListenerRuleConditionQueryStringPtrOutput) +} + +// Contains a single attribute `values`, which contains a set of source IPs in CIDR notation. +func (o GetListenerRuleConditionOutput) SourceIp() GetListenerRuleConditionSourceIpPtrOutput { + return o.ApplyT(func(v GetListenerRuleCondition) *GetListenerRuleConditionSourceIp { return v.SourceIp }).(GetListenerRuleConditionSourceIpPtrOutput) +} + +type GetListenerRuleConditionArrayOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleCondition)(nil)).Elem() +} + +func (o GetListenerRuleConditionArrayOutput) ToGetListenerRuleConditionArrayOutput() GetListenerRuleConditionArrayOutput { + return o +} + +func (o GetListenerRuleConditionArrayOutput) ToGetListenerRuleConditionArrayOutputWithContext(ctx context.Context) GetListenerRuleConditionArrayOutput { + return o +} + +func (o GetListenerRuleConditionArrayOutput) Index(i pulumi.IntInput) GetListenerRuleConditionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListenerRuleCondition { + return vs[0].([]GetListenerRuleCondition)[vs[1].(int)] + }).(GetListenerRuleConditionOutput) +} + +type GetListenerRuleConditionHostHeader struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values []string `pulumi:"values"` +} + +// GetListenerRuleConditionHostHeaderInput is an input type that accepts GetListenerRuleConditionHostHeaderArgs and GetListenerRuleConditionHostHeaderOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionHostHeaderInput` via: +// +// GetListenerRuleConditionHostHeaderArgs{...} +type GetListenerRuleConditionHostHeaderInput interface { + pulumi.Input + + ToGetListenerRuleConditionHostHeaderOutput() GetListenerRuleConditionHostHeaderOutput + ToGetListenerRuleConditionHostHeaderOutputWithContext(context.Context) GetListenerRuleConditionHostHeaderOutput +} + +type GetListenerRuleConditionHostHeaderArgs struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetListenerRuleConditionHostHeaderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionHostHeader)(nil)).Elem() +} + +func (i GetListenerRuleConditionHostHeaderArgs) ToGetListenerRuleConditionHostHeaderOutput() GetListenerRuleConditionHostHeaderOutput { + return i.ToGetListenerRuleConditionHostHeaderOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionHostHeaderArgs) ToGetListenerRuleConditionHostHeaderOutputWithContext(ctx context.Context) GetListenerRuleConditionHostHeaderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHostHeaderOutput) +} + +func (i GetListenerRuleConditionHostHeaderArgs) ToGetListenerRuleConditionHostHeaderPtrOutput() GetListenerRuleConditionHostHeaderPtrOutput { + return i.ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionHostHeaderArgs) ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHostHeaderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHostHeaderOutput).ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(ctx) +} + +// GetListenerRuleConditionHostHeaderPtrInput is an input type that accepts GetListenerRuleConditionHostHeaderArgs, GetListenerRuleConditionHostHeaderPtr and GetListenerRuleConditionHostHeaderPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionHostHeaderPtrInput` via: +// +// GetListenerRuleConditionHostHeaderArgs{...} +// +// or: +// +// nil +type GetListenerRuleConditionHostHeaderPtrInput interface { + pulumi.Input + + ToGetListenerRuleConditionHostHeaderPtrOutput() GetListenerRuleConditionHostHeaderPtrOutput + ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(context.Context) GetListenerRuleConditionHostHeaderPtrOutput +} + +type getListenerRuleConditionHostHeaderPtrType GetListenerRuleConditionHostHeaderArgs + +func GetListenerRuleConditionHostHeaderPtr(v *GetListenerRuleConditionHostHeaderArgs) GetListenerRuleConditionHostHeaderPtrInput { + return (*getListenerRuleConditionHostHeaderPtrType)(v) +} + +func (*getListenerRuleConditionHostHeaderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionHostHeader)(nil)).Elem() +} + +func (i *getListenerRuleConditionHostHeaderPtrType) ToGetListenerRuleConditionHostHeaderPtrOutput() GetListenerRuleConditionHostHeaderPtrOutput { + return i.ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleConditionHostHeaderPtrType) ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHostHeaderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHostHeaderPtrOutput) +} + +type GetListenerRuleConditionHostHeaderOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionHostHeaderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionHostHeader)(nil)).Elem() +} + +func (o GetListenerRuleConditionHostHeaderOutput) ToGetListenerRuleConditionHostHeaderOutput() GetListenerRuleConditionHostHeaderOutput { + return o +} + +func (o GetListenerRuleConditionHostHeaderOutput) ToGetListenerRuleConditionHostHeaderOutputWithContext(ctx context.Context) GetListenerRuleConditionHostHeaderOutput { + return o +} + +func (o GetListenerRuleConditionHostHeaderOutput) ToGetListenerRuleConditionHostHeaderPtrOutput() GetListenerRuleConditionHostHeaderPtrOutput { + return o.ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleConditionHostHeaderOutput) ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHostHeaderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleConditionHostHeader) *GetListenerRuleConditionHostHeader { + return &v + }).(GetListenerRuleConditionHostHeaderPtrOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionHostHeaderOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetListenerRuleConditionHostHeader) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionHostHeaderPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionHostHeaderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionHostHeader)(nil)).Elem() +} + +func (o GetListenerRuleConditionHostHeaderPtrOutput) ToGetListenerRuleConditionHostHeaderPtrOutput() GetListenerRuleConditionHostHeaderPtrOutput { + return o +} + +func (o GetListenerRuleConditionHostHeaderPtrOutput) ToGetListenerRuleConditionHostHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHostHeaderPtrOutput { + return o +} + +func (o GetListenerRuleConditionHostHeaderPtrOutput) Elem() GetListenerRuleConditionHostHeaderOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHostHeader) GetListenerRuleConditionHostHeader { + if v != nil { + return *v + } + var ret GetListenerRuleConditionHostHeader + return ret + }).(GetListenerRuleConditionHostHeaderOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionHostHeaderPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHostHeader) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionHttpHeader struct { + // Name of the HTTP header to match. + HttpHeaderName string `pulumi:"httpHeaderName"` + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values []string `pulumi:"values"` +} + +// GetListenerRuleConditionHttpHeaderInput is an input type that accepts GetListenerRuleConditionHttpHeaderArgs and GetListenerRuleConditionHttpHeaderOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionHttpHeaderInput` via: +// +// GetListenerRuleConditionHttpHeaderArgs{...} +type GetListenerRuleConditionHttpHeaderInput interface { + pulumi.Input + + ToGetListenerRuleConditionHttpHeaderOutput() GetListenerRuleConditionHttpHeaderOutput + ToGetListenerRuleConditionHttpHeaderOutputWithContext(context.Context) GetListenerRuleConditionHttpHeaderOutput +} + +type GetListenerRuleConditionHttpHeaderArgs struct { + // Name of the HTTP header to match. + HttpHeaderName pulumi.StringInput `pulumi:"httpHeaderName"` + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetListenerRuleConditionHttpHeaderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionHttpHeader)(nil)).Elem() +} + +func (i GetListenerRuleConditionHttpHeaderArgs) ToGetListenerRuleConditionHttpHeaderOutput() GetListenerRuleConditionHttpHeaderOutput { + return i.ToGetListenerRuleConditionHttpHeaderOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionHttpHeaderArgs) ToGetListenerRuleConditionHttpHeaderOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpHeaderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHttpHeaderOutput) +} + +func (i GetListenerRuleConditionHttpHeaderArgs) ToGetListenerRuleConditionHttpHeaderPtrOutput() GetListenerRuleConditionHttpHeaderPtrOutput { + return i.ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionHttpHeaderArgs) ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpHeaderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHttpHeaderOutput).ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx) +} + +// GetListenerRuleConditionHttpHeaderPtrInput is an input type that accepts GetListenerRuleConditionHttpHeaderArgs, GetListenerRuleConditionHttpHeaderPtr and GetListenerRuleConditionHttpHeaderPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionHttpHeaderPtrInput` via: +// +// GetListenerRuleConditionHttpHeaderArgs{...} +// +// or: +// +// nil +type GetListenerRuleConditionHttpHeaderPtrInput interface { + pulumi.Input + + ToGetListenerRuleConditionHttpHeaderPtrOutput() GetListenerRuleConditionHttpHeaderPtrOutput + ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(context.Context) GetListenerRuleConditionHttpHeaderPtrOutput +} + +type getListenerRuleConditionHttpHeaderPtrType GetListenerRuleConditionHttpHeaderArgs + +func GetListenerRuleConditionHttpHeaderPtr(v *GetListenerRuleConditionHttpHeaderArgs) GetListenerRuleConditionHttpHeaderPtrInput { + return (*getListenerRuleConditionHttpHeaderPtrType)(v) +} + +func (*getListenerRuleConditionHttpHeaderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionHttpHeader)(nil)).Elem() +} + +func (i *getListenerRuleConditionHttpHeaderPtrType) ToGetListenerRuleConditionHttpHeaderPtrOutput() GetListenerRuleConditionHttpHeaderPtrOutput { + return i.ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleConditionHttpHeaderPtrType) ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpHeaderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHttpHeaderPtrOutput) +} + +type GetListenerRuleConditionHttpHeaderOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionHttpHeaderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionHttpHeader)(nil)).Elem() +} + +func (o GetListenerRuleConditionHttpHeaderOutput) ToGetListenerRuleConditionHttpHeaderOutput() GetListenerRuleConditionHttpHeaderOutput { + return o +} + +func (o GetListenerRuleConditionHttpHeaderOutput) ToGetListenerRuleConditionHttpHeaderOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpHeaderOutput { + return o +} + +func (o GetListenerRuleConditionHttpHeaderOutput) ToGetListenerRuleConditionHttpHeaderPtrOutput() GetListenerRuleConditionHttpHeaderPtrOutput { + return o.ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleConditionHttpHeaderOutput) ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpHeaderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleConditionHttpHeader) *GetListenerRuleConditionHttpHeader { + return &v + }).(GetListenerRuleConditionHttpHeaderPtrOutput) +} + +// Name of the HTTP header to match. +func (o GetListenerRuleConditionHttpHeaderOutput) HttpHeaderName() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleConditionHttpHeader) string { return v.HttpHeaderName }).(pulumi.StringOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionHttpHeaderOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetListenerRuleConditionHttpHeader) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionHttpHeaderPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionHttpHeaderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionHttpHeader)(nil)).Elem() +} + +func (o GetListenerRuleConditionHttpHeaderPtrOutput) ToGetListenerRuleConditionHttpHeaderPtrOutput() GetListenerRuleConditionHttpHeaderPtrOutput { + return o +} + +func (o GetListenerRuleConditionHttpHeaderPtrOutput) ToGetListenerRuleConditionHttpHeaderPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpHeaderPtrOutput { + return o +} + +func (o GetListenerRuleConditionHttpHeaderPtrOutput) Elem() GetListenerRuleConditionHttpHeaderOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHttpHeader) GetListenerRuleConditionHttpHeader { + if v != nil { + return *v + } + var ret GetListenerRuleConditionHttpHeader + return ret + }).(GetListenerRuleConditionHttpHeaderOutput) +} + +// Name of the HTTP header to match. +func (o GetListenerRuleConditionHttpHeaderPtrOutput) HttpHeaderName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHttpHeader) *string { + if v == nil { + return nil + } + return &v.HttpHeaderName + }).(pulumi.StringPtrOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionHttpHeaderPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHttpHeader) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionHttpRequestMethod struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values []string `pulumi:"values"` +} + +// GetListenerRuleConditionHttpRequestMethodInput is an input type that accepts GetListenerRuleConditionHttpRequestMethodArgs and GetListenerRuleConditionHttpRequestMethodOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionHttpRequestMethodInput` via: +// +// GetListenerRuleConditionHttpRequestMethodArgs{...} +type GetListenerRuleConditionHttpRequestMethodInput interface { + pulumi.Input + + ToGetListenerRuleConditionHttpRequestMethodOutput() GetListenerRuleConditionHttpRequestMethodOutput + ToGetListenerRuleConditionHttpRequestMethodOutputWithContext(context.Context) GetListenerRuleConditionHttpRequestMethodOutput +} + +type GetListenerRuleConditionHttpRequestMethodArgs struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetListenerRuleConditionHttpRequestMethodArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionHttpRequestMethod)(nil)).Elem() +} + +func (i GetListenerRuleConditionHttpRequestMethodArgs) ToGetListenerRuleConditionHttpRequestMethodOutput() GetListenerRuleConditionHttpRequestMethodOutput { + return i.ToGetListenerRuleConditionHttpRequestMethodOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionHttpRequestMethodArgs) ToGetListenerRuleConditionHttpRequestMethodOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpRequestMethodOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHttpRequestMethodOutput) +} + +func (i GetListenerRuleConditionHttpRequestMethodArgs) ToGetListenerRuleConditionHttpRequestMethodPtrOutput() GetListenerRuleConditionHttpRequestMethodPtrOutput { + return i.ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionHttpRequestMethodArgs) ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpRequestMethodPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHttpRequestMethodOutput).ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx) +} + +// GetListenerRuleConditionHttpRequestMethodPtrInput is an input type that accepts GetListenerRuleConditionHttpRequestMethodArgs, GetListenerRuleConditionHttpRequestMethodPtr and GetListenerRuleConditionHttpRequestMethodPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionHttpRequestMethodPtrInput` via: +// +// GetListenerRuleConditionHttpRequestMethodArgs{...} +// +// or: +// +// nil +type GetListenerRuleConditionHttpRequestMethodPtrInput interface { + pulumi.Input + + ToGetListenerRuleConditionHttpRequestMethodPtrOutput() GetListenerRuleConditionHttpRequestMethodPtrOutput + ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(context.Context) GetListenerRuleConditionHttpRequestMethodPtrOutput +} + +type getListenerRuleConditionHttpRequestMethodPtrType GetListenerRuleConditionHttpRequestMethodArgs + +func GetListenerRuleConditionHttpRequestMethodPtr(v *GetListenerRuleConditionHttpRequestMethodArgs) GetListenerRuleConditionHttpRequestMethodPtrInput { + return (*getListenerRuleConditionHttpRequestMethodPtrType)(v) +} + +func (*getListenerRuleConditionHttpRequestMethodPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionHttpRequestMethod)(nil)).Elem() +} + +func (i *getListenerRuleConditionHttpRequestMethodPtrType) ToGetListenerRuleConditionHttpRequestMethodPtrOutput() GetListenerRuleConditionHttpRequestMethodPtrOutput { + return i.ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleConditionHttpRequestMethodPtrType) ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpRequestMethodPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionHttpRequestMethodPtrOutput) +} + +type GetListenerRuleConditionHttpRequestMethodOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionHttpRequestMethodOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionHttpRequestMethod)(nil)).Elem() +} + +func (o GetListenerRuleConditionHttpRequestMethodOutput) ToGetListenerRuleConditionHttpRequestMethodOutput() GetListenerRuleConditionHttpRequestMethodOutput { + return o +} + +func (o GetListenerRuleConditionHttpRequestMethodOutput) ToGetListenerRuleConditionHttpRequestMethodOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpRequestMethodOutput { + return o +} + +func (o GetListenerRuleConditionHttpRequestMethodOutput) ToGetListenerRuleConditionHttpRequestMethodPtrOutput() GetListenerRuleConditionHttpRequestMethodPtrOutput { + return o.ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleConditionHttpRequestMethodOutput) ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpRequestMethodPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleConditionHttpRequestMethod) *GetListenerRuleConditionHttpRequestMethod { + return &v + }).(GetListenerRuleConditionHttpRequestMethodPtrOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionHttpRequestMethodOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetListenerRuleConditionHttpRequestMethod) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionHttpRequestMethodPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionHttpRequestMethodPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionHttpRequestMethod)(nil)).Elem() +} + +func (o GetListenerRuleConditionHttpRequestMethodPtrOutput) ToGetListenerRuleConditionHttpRequestMethodPtrOutput() GetListenerRuleConditionHttpRequestMethodPtrOutput { + return o +} + +func (o GetListenerRuleConditionHttpRequestMethodPtrOutput) ToGetListenerRuleConditionHttpRequestMethodPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionHttpRequestMethodPtrOutput { + return o +} + +func (o GetListenerRuleConditionHttpRequestMethodPtrOutput) Elem() GetListenerRuleConditionHttpRequestMethodOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHttpRequestMethod) GetListenerRuleConditionHttpRequestMethod { + if v != nil { + return *v + } + var ret GetListenerRuleConditionHttpRequestMethod + return ret + }).(GetListenerRuleConditionHttpRequestMethodOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionHttpRequestMethodPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetListenerRuleConditionHttpRequestMethod) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionPathPattern struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values []string `pulumi:"values"` +} + +// GetListenerRuleConditionPathPatternInput is an input type that accepts GetListenerRuleConditionPathPatternArgs and GetListenerRuleConditionPathPatternOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionPathPatternInput` via: +// +// GetListenerRuleConditionPathPatternArgs{...} +type GetListenerRuleConditionPathPatternInput interface { + pulumi.Input + + ToGetListenerRuleConditionPathPatternOutput() GetListenerRuleConditionPathPatternOutput + ToGetListenerRuleConditionPathPatternOutputWithContext(context.Context) GetListenerRuleConditionPathPatternOutput +} + +type GetListenerRuleConditionPathPatternArgs struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetListenerRuleConditionPathPatternArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionPathPattern)(nil)).Elem() +} + +func (i GetListenerRuleConditionPathPatternArgs) ToGetListenerRuleConditionPathPatternOutput() GetListenerRuleConditionPathPatternOutput { + return i.ToGetListenerRuleConditionPathPatternOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionPathPatternArgs) ToGetListenerRuleConditionPathPatternOutputWithContext(ctx context.Context) GetListenerRuleConditionPathPatternOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionPathPatternOutput) +} + +func (i GetListenerRuleConditionPathPatternArgs) ToGetListenerRuleConditionPathPatternPtrOutput() GetListenerRuleConditionPathPatternPtrOutput { + return i.ToGetListenerRuleConditionPathPatternPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionPathPatternArgs) ToGetListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionPathPatternPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionPathPatternOutput).ToGetListenerRuleConditionPathPatternPtrOutputWithContext(ctx) +} + +// GetListenerRuleConditionPathPatternPtrInput is an input type that accepts GetListenerRuleConditionPathPatternArgs, GetListenerRuleConditionPathPatternPtr and GetListenerRuleConditionPathPatternPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionPathPatternPtrInput` via: +// +// GetListenerRuleConditionPathPatternArgs{...} +// +// or: +// +// nil +type GetListenerRuleConditionPathPatternPtrInput interface { + pulumi.Input + + ToGetListenerRuleConditionPathPatternPtrOutput() GetListenerRuleConditionPathPatternPtrOutput + ToGetListenerRuleConditionPathPatternPtrOutputWithContext(context.Context) GetListenerRuleConditionPathPatternPtrOutput +} + +type getListenerRuleConditionPathPatternPtrType GetListenerRuleConditionPathPatternArgs + +func GetListenerRuleConditionPathPatternPtr(v *GetListenerRuleConditionPathPatternArgs) GetListenerRuleConditionPathPatternPtrInput { + return (*getListenerRuleConditionPathPatternPtrType)(v) +} + +func (*getListenerRuleConditionPathPatternPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionPathPattern)(nil)).Elem() +} + +func (i *getListenerRuleConditionPathPatternPtrType) ToGetListenerRuleConditionPathPatternPtrOutput() GetListenerRuleConditionPathPatternPtrOutput { + return i.ToGetListenerRuleConditionPathPatternPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleConditionPathPatternPtrType) ToGetListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionPathPatternPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionPathPatternPtrOutput) +} + +type GetListenerRuleConditionPathPatternOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionPathPatternOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionPathPattern)(nil)).Elem() +} + +func (o GetListenerRuleConditionPathPatternOutput) ToGetListenerRuleConditionPathPatternOutput() GetListenerRuleConditionPathPatternOutput { + return o +} + +func (o GetListenerRuleConditionPathPatternOutput) ToGetListenerRuleConditionPathPatternOutputWithContext(ctx context.Context) GetListenerRuleConditionPathPatternOutput { + return o +} + +func (o GetListenerRuleConditionPathPatternOutput) ToGetListenerRuleConditionPathPatternPtrOutput() GetListenerRuleConditionPathPatternPtrOutput { + return o.ToGetListenerRuleConditionPathPatternPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleConditionPathPatternOutput) ToGetListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionPathPatternPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleConditionPathPattern) *GetListenerRuleConditionPathPattern { + return &v + }).(GetListenerRuleConditionPathPatternPtrOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionPathPatternOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetListenerRuleConditionPathPattern) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionPathPatternPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionPathPatternPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionPathPattern)(nil)).Elem() +} + +func (o GetListenerRuleConditionPathPatternPtrOutput) ToGetListenerRuleConditionPathPatternPtrOutput() GetListenerRuleConditionPathPatternPtrOutput { + return o +} + +func (o GetListenerRuleConditionPathPatternPtrOutput) ToGetListenerRuleConditionPathPatternPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionPathPatternPtrOutput { + return o +} + +func (o GetListenerRuleConditionPathPatternPtrOutput) Elem() GetListenerRuleConditionPathPatternOutput { + return o.ApplyT(func(v *GetListenerRuleConditionPathPattern) GetListenerRuleConditionPathPattern { + if v != nil { + return *v + } + var ret GetListenerRuleConditionPathPattern + return ret + }).(GetListenerRuleConditionPathPatternOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionPathPatternPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetListenerRuleConditionPathPattern) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionQueryString struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values []GetListenerRuleConditionQueryStringValue `pulumi:"values"` +} + +// GetListenerRuleConditionQueryStringInput is an input type that accepts GetListenerRuleConditionQueryStringArgs and GetListenerRuleConditionQueryStringOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionQueryStringInput` via: +// +// GetListenerRuleConditionQueryStringArgs{...} +type GetListenerRuleConditionQueryStringInput interface { + pulumi.Input + + ToGetListenerRuleConditionQueryStringOutput() GetListenerRuleConditionQueryStringOutput + ToGetListenerRuleConditionQueryStringOutputWithContext(context.Context) GetListenerRuleConditionQueryStringOutput +} + +type GetListenerRuleConditionQueryStringArgs struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values GetListenerRuleConditionQueryStringValueArrayInput `pulumi:"values"` +} + +func (GetListenerRuleConditionQueryStringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionQueryString)(nil)).Elem() +} + +func (i GetListenerRuleConditionQueryStringArgs) ToGetListenerRuleConditionQueryStringOutput() GetListenerRuleConditionQueryStringOutput { + return i.ToGetListenerRuleConditionQueryStringOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionQueryStringArgs) ToGetListenerRuleConditionQueryStringOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionQueryStringOutput) +} + +func (i GetListenerRuleConditionQueryStringArgs) ToGetListenerRuleConditionQueryStringPtrOutput() GetListenerRuleConditionQueryStringPtrOutput { + return i.ToGetListenerRuleConditionQueryStringPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionQueryStringArgs) ToGetListenerRuleConditionQueryStringPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionQueryStringOutput).ToGetListenerRuleConditionQueryStringPtrOutputWithContext(ctx) +} + +// GetListenerRuleConditionQueryStringPtrInput is an input type that accepts GetListenerRuleConditionQueryStringArgs, GetListenerRuleConditionQueryStringPtr and GetListenerRuleConditionQueryStringPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionQueryStringPtrInput` via: +// +// GetListenerRuleConditionQueryStringArgs{...} +// +// or: +// +// nil +type GetListenerRuleConditionQueryStringPtrInput interface { + pulumi.Input + + ToGetListenerRuleConditionQueryStringPtrOutput() GetListenerRuleConditionQueryStringPtrOutput + ToGetListenerRuleConditionQueryStringPtrOutputWithContext(context.Context) GetListenerRuleConditionQueryStringPtrOutput +} + +type getListenerRuleConditionQueryStringPtrType GetListenerRuleConditionQueryStringArgs + +func GetListenerRuleConditionQueryStringPtr(v *GetListenerRuleConditionQueryStringArgs) GetListenerRuleConditionQueryStringPtrInput { + return (*getListenerRuleConditionQueryStringPtrType)(v) +} + +func (*getListenerRuleConditionQueryStringPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionQueryString)(nil)).Elem() +} + +func (i *getListenerRuleConditionQueryStringPtrType) ToGetListenerRuleConditionQueryStringPtrOutput() GetListenerRuleConditionQueryStringPtrOutput { + return i.ToGetListenerRuleConditionQueryStringPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleConditionQueryStringPtrType) ToGetListenerRuleConditionQueryStringPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionQueryStringPtrOutput) +} + +type GetListenerRuleConditionQueryStringOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionQueryStringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionQueryString)(nil)).Elem() +} + +func (o GetListenerRuleConditionQueryStringOutput) ToGetListenerRuleConditionQueryStringOutput() GetListenerRuleConditionQueryStringOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringOutput) ToGetListenerRuleConditionQueryStringOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringOutput) ToGetListenerRuleConditionQueryStringPtrOutput() GetListenerRuleConditionQueryStringPtrOutput { + return o.ToGetListenerRuleConditionQueryStringPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleConditionQueryStringOutput) ToGetListenerRuleConditionQueryStringPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleConditionQueryString) *GetListenerRuleConditionQueryString { + return &v + }).(GetListenerRuleConditionQueryStringPtrOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionQueryStringOutput) Values() GetListenerRuleConditionQueryStringValueArrayOutput { + return o.ApplyT(func(v GetListenerRuleConditionQueryString) []GetListenerRuleConditionQueryStringValue { + return v.Values + }).(GetListenerRuleConditionQueryStringValueArrayOutput) +} + +type GetListenerRuleConditionQueryStringPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionQueryStringPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionQueryString)(nil)).Elem() +} + +func (o GetListenerRuleConditionQueryStringPtrOutput) ToGetListenerRuleConditionQueryStringPtrOutput() GetListenerRuleConditionQueryStringPtrOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringPtrOutput) ToGetListenerRuleConditionQueryStringPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringPtrOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringPtrOutput) Elem() GetListenerRuleConditionQueryStringOutput { + return o.ApplyT(func(v *GetListenerRuleConditionQueryString) GetListenerRuleConditionQueryString { + if v != nil { + return *v + } + var ret GetListenerRuleConditionQueryString + return ret + }).(GetListenerRuleConditionQueryStringOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionQueryStringPtrOutput) Values() GetListenerRuleConditionQueryStringValueArrayOutput { + return o.ApplyT(func(v *GetListenerRuleConditionQueryString) []GetListenerRuleConditionQueryStringValue { + if v == nil { + return nil + } + return v.Values + }).(GetListenerRuleConditionQueryStringValueArrayOutput) +} + +type GetListenerRuleConditionQueryStringValue struct { + // Key of query parameter + Key string `pulumi:"key"` + // Value of query parameter + Value string `pulumi:"value"` +} + +// GetListenerRuleConditionQueryStringValueInput is an input type that accepts GetListenerRuleConditionQueryStringValueArgs and GetListenerRuleConditionQueryStringValueOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionQueryStringValueInput` via: +// +// GetListenerRuleConditionQueryStringValueArgs{...} +type GetListenerRuleConditionQueryStringValueInput interface { + pulumi.Input + + ToGetListenerRuleConditionQueryStringValueOutput() GetListenerRuleConditionQueryStringValueOutput + ToGetListenerRuleConditionQueryStringValueOutputWithContext(context.Context) GetListenerRuleConditionQueryStringValueOutput +} + +type GetListenerRuleConditionQueryStringValueArgs struct { + // Key of query parameter + Key pulumi.StringInput `pulumi:"key"` + // Value of query parameter + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetListenerRuleConditionQueryStringValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionQueryStringValue)(nil)).Elem() +} + +func (i GetListenerRuleConditionQueryStringValueArgs) ToGetListenerRuleConditionQueryStringValueOutput() GetListenerRuleConditionQueryStringValueOutput { + return i.ToGetListenerRuleConditionQueryStringValueOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionQueryStringValueArgs) ToGetListenerRuleConditionQueryStringValueOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionQueryStringValueOutput) +} + +// GetListenerRuleConditionQueryStringValueArrayInput is an input type that accepts GetListenerRuleConditionQueryStringValueArray and GetListenerRuleConditionQueryStringValueArrayOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionQueryStringValueArrayInput` via: +// +// GetListenerRuleConditionQueryStringValueArray{ GetListenerRuleConditionQueryStringValueArgs{...} } +type GetListenerRuleConditionQueryStringValueArrayInput interface { + pulumi.Input + + ToGetListenerRuleConditionQueryStringValueArrayOutput() GetListenerRuleConditionQueryStringValueArrayOutput + ToGetListenerRuleConditionQueryStringValueArrayOutputWithContext(context.Context) GetListenerRuleConditionQueryStringValueArrayOutput +} + +type GetListenerRuleConditionQueryStringValueArray []GetListenerRuleConditionQueryStringValueInput + +func (GetListenerRuleConditionQueryStringValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleConditionQueryStringValue)(nil)).Elem() +} + +func (i GetListenerRuleConditionQueryStringValueArray) ToGetListenerRuleConditionQueryStringValueArrayOutput() GetListenerRuleConditionQueryStringValueArrayOutput { + return i.ToGetListenerRuleConditionQueryStringValueArrayOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionQueryStringValueArray) ToGetListenerRuleConditionQueryStringValueArrayOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionQueryStringValueArrayOutput) +} + +type GetListenerRuleConditionQueryStringValueOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionQueryStringValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionQueryStringValue)(nil)).Elem() +} + +func (o GetListenerRuleConditionQueryStringValueOutput) ToGetListenerRuleConditionQueryStringValueOutput() GetListenerRuleConditionQueryStringValueOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringValueOutput) ToGetListenerRuleConditionQueryStringValueOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringValueOutput { + return o +} + +// Key of query parameter +func (o GetListenerRuleConditionQueryStringValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleConditionQueryStringValue) string { return v.Key }).(pulumi.StringOutput) +} + +// Value of query parameter +func (o GetListenerRuleConditionQueryStringValueOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetListenerRuleConditionQueryStringValue) string { return v.Value }).(pulumi.StringOutput) +} + +type GetListenerRuleConditionQueryStringValueArrayOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionQueryStringValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetListenerRuleConditionQueryStringValue)(nil)).Elem() +} + +func (o GetListenerRuleConditionQueryStringValueArrayOutput) ToGetListenerRuleConditionQueryStringValueArrayOutput() GetListenerRuleConditionQueryStringValueArrayOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringValueArrayOutput) ToGetListenerRuleConditionQueryStringValueArrayOutputWithContext(ctx context.Context) GetListenerRuleConditionQueryStringValueArrayOutput { + return o +} + +func (o GetListenerRuleConditionQueryStringValueArrayOutput) Index(i pulumi.IntInput) GetListenerRuleConditionQueryStringValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetListenerRuleConditionQueryStringValue { + return vs[0].([]GetListenerRuleConditionQueryStringValue)[vs[1].(int)] + }).(GetListenerRuleConditionQueryStringValueOutput) +} + +type GetListenerRuleConditionSourceIp struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values []string `pulumi:"values"` +} + +// GetListenerRuleConditionSourceIpInput is an input type that accepts GetListenerRuleConditionSourceIpArgs and GetListenerRuleConditionSourceIpOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionSourceIpInput` via: +// +// GetListenerRuleConditionSourceIpArgs{...} +type GetListenerRuleConditionSourceIpInput interface { + pulumi.Input + + ToGetListenerRuleConditionSourceIpOutput() GetListenerRuleConditionSourceIpOutput + ToGetListenerRuleConditionSourceIpOutputWithContext(context.Context) GetListenerRuleConditionSourceIpOutput +} + +type GetListenerRuleConditionSourceIpArgs struct { + // Set of `key`-`value` pairs indicating the query string parameters to match. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetListenerRuleConditionSourceIpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionSourceIp)(nil)).Elem() +} + +func (i GetListenerRuleConditionSourceIpArgs) ToGetListenerRuleConditionSourceIpOutput() GetListenerRuleConditionSourceIpOutput { + return i.ToGetListenerRuleConditionSourceIpOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionSourceIpArgs) ToGetListenerRuleConditionSourceIpOutputWithContext(ctx context.Context) GetListenerRuleConditionSourceIpOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionSourceIpOutput) +} + +func (i GetListenerRuleConditionSourceIpArgs) ToGetListenerRuleConditionSourceIpPtrOutput() GetListenerRuleConditionSourceIpPtrOutput { + return i.ToGetListenerRuleConditionSourceIpPtrOutputWithContext(context.Background()) +} + +func (i GetListenerRuleConditionSourceIpArgs) ToGetListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionSourceIpPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionSourceIpOutput).ToGetListenerRuleConditionSourceIpPtrOutputWithContext(ctx) +} + +// GetListenerRuleConditionSourceIpPtrInput is an input type that accepts GetListenerRuleConditionSourceIpArgs, GetListenerRuleConditionSourceIpPtr and GetListenerRuleConditionSourceIpPtrOutput values. +// You can construct a concrete instance of `GetListenerRuleConditionSourceIpPtrInput` via: +// +// GetListenerRuleConditionSourceIpArgs{...} +// +// or: +// +// nil +type GetListenerRuleConditionSourceIpPtrInput interface { + pulumi.Input + + ToGetListenerRuleConditionSourceIpPtrOutput() GetListenerRuleConditionSourceIpPtrOutput + ToGetListenerRuleConditionSourceIpPtrOutputWithContext(context.Context) GetListenerRuleConditionSourceIpPtrOutput +} + +type getListenerRuleConditionSourceIpPtrType GetListenerRuleConditionSourceIpArgs + +func GetListenerRuleConditionSourceIpPtr(v *GetListenerRuleConditionSourceIpArgs) GetListenerRuleConditionSourceIpPtrInput { + return (*getListenerRuleConditionSourceIpPtrType)(v) +} + +func (*getListenerRuleConditionSourceIpPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionSourceIp)(nil)).Elem() +} + +func (i *getListenerRuleConditionSourceIpPtrType) ToGetListenerRuleConditionSourceIpPtrOutput() GetListenerRuleConditionSourceIpPtrOutput { + return i.ToGetListenerRuleConditionSourceIpPtrOutputWithContext(context.Background()) +} + +func (i *getListenerRuleConditionSourceIpPtrType) ToGetListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionSourceIpPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetListenerRuleConditionSourceIpPtrOutput) +} + +type GetListenerRuleConditionSourceIpOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionSourceIpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetListenerRuleConditionSourceIp)(nil)).Elem() +} + +func (o GetListenerRuleConditionSourceIpOutput) ToGetListenerRuleConditionSourceIpOutput() GetListenerRuleConditionSourceIpOutput { + return o +} + +func (o GetListenerRuleConditionSourceIpOutput) ToGetListenerRuleConditionSourceIpOutputWithContext(ctx context.Context) GetListenerRuleConditionSourceIpOutput { + return o +} + +func (o GetListenerRuleConditionSourceIpOutput) ToGetListenerRuleConditionSourceIpPtrOutput() GetListenerRuleConditionSourceIpPtrOutput { + return o.ToGetListenerRuleConditionSourceIpPtrOutputWithContext(context.Background()) +} + +func (o GetListenerRuleConditionSourceIpOutput) ToGetListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionSourceIpPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetListenerRuleConditionSourceIp) *GetListenerRuleConditionSourceIp { + return &v + }).(GetListenerRuleConditionSourceIpPtrOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionSourceIpOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetListenerRuleConditionSourceIp) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetListenerRuleConditionSourceIpPtrOutput struct{ *pulumi.OutputState } + +func (GetListenerRuleConditionSourceIpPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetListenerRuleConditionSourceIp)(nil)).Elem() +} + +func (o GetListenerRuleConditionSourceIpPtrOutput) ToGetListenerRuleConditionSourceIpPtrOutput() GetListenerRuleConditionSourceIpPtrOutput { + return o +} + +func (o GetListenerRuleConditionSourceIpPtrOutput) ToGetListenerRuleConditionSourceIpPtrOutputWithContext(ctx context.Context) GetListenerRuleConditionSourceIpPtrOutput { + return o +} + +func (o GetListenerRuleConditionSourceIpPtrOutput) Elem() GetListenerRuleConditionSourceIpOutput { + return o.ApplyT(func(v *GetListenerRuleConditionSourceIp) GetListenerRuleConditionSourceIp { + if v != nil { + return *v + } + var ret GetListenerRuleConditionSourceIp + return ret + }).(GetListenerRuleConditionSourceIpOutput) +} + +// Set of `key`-`value` pairs indicating the query string parameters to match. +func (o GetListenerRuleConditionSourceIpPtrOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetListenerRuleConditionSourceIp) []string { + if v == nil { + return nil + } + return v.Values + }).(pulumi.StringArrayOutput) +} + type GetLoadBalancerAccessLogs struct { Bucket string `pulumi:"bucket"` Enabled bool `pulumi:"enabled"` @@ -7171,6 +10370,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupStickinessPtrInput)(nil)).Elem(), TargetGroupStickinessArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetFailoverInput)(nil)).Elem(), TargetGroupTargetFailoverArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetFailoverArrayInput)(nil)).Elem(), TargetGroupTargetFailoverArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetGroupHealthInput)(nil)).Elem(), TargetGroupTargetGroupHealthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetGroupHealthPtrInput)(nil)).Elem(), TargetGroupTargetGroupHealthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetGroupHealthDnsFailoverInput)(nil)).Elem(), TargetGroupTargetGroupHealthDnsFailoverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetGroupHealthDnsFailoverPtrInput)(nil)).Elem(), TargetGroupTargetGroupHealthDnsFailoverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetGroupHealthUnhealthyStateRoutingInput)(nil)).Elem(), TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrInput)(nil)).Elem(), TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetHealthStateInput)(nil)).Elem(), TargetGroupTargetHealthStateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TargetGroupTargetHealthStateArrayInput)(nil)).Elem(), TargetGroupTargetHealthStateArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetListenerDefaultActionInput)(nil)).Elem(), GetListenerDefaultActionArgs{}) @@ -7191,6 +10396,38 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetListenerDefaultActionRedirectArrayInput)(nil)).Elem(), GetListenerDefaultActionRedirectArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetListenerMutualAuthenticationInput)(nil)).Elem(), GetListenerMutualAuthenticationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetListenerMutualAuthenticationArrayInput)(nil)).Elem(), GetListenerMutualAuthenticationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionInput)(nil)).Elem(), GetListenerRuleActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionArrayInput)(nil)).Elem(), GetListenerRuleActionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionAuthenticateCognitoInput)(nil)).Elem(), GetListenerRuleActionAuthenticateCognitoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionAuthenticateCognitoPtrInput)(nil)).Elem(), GetListenerRuleActionAuthenticateCognitoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionAuthenticateOidcInput)(nil)).Elem(), GetListenerRuleActionAuthenticateOidcArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionAuthenticateOidcPtrInput)(nil)).Elem(), GetListenerRuleActionAuthenticateOidcArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionFixedResponseInput)(nil)).Elem(), GetListenerRuleActionFixedResponseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionFixedResponsePtrInput)(nil)).Elem(), GetListenerRuleActionFixedResponseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionForwardInput)(nil)).Elem(), GetListenerRuleActionForwardArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionForwardPtrInput)(nil)).Elem(), GetListenerRuleActionForwardArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionForwardStickinessInput)(nil)).Elem(), GetListenerRuleActionForwardStickinessArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionForwardStickinessPtrInput)(nil)).Elem(), GetListenerRuleActionForwardStickinessArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionForwardTargetGroupInput)(nil)).Elem(), GetListenerRuleActionForwardTargetGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionForwardTargetGroupArrayInput)(nil)).Elem(), GetListenerRuleActionForwardTargetGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionRedirectInput)(nil)).Elem(), GetListenerRuleActionRedirectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleActionRedirectPtrInput)(nil)).Elem(), GetListenerRuleActionRedirectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionInput)(nil)).Elem(), GetListenerRuleConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionArrayInput)(nil)).Elem(), GetListenerRuleConditionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionHostHeaderInput)(nil)).Elem(), GetListenerRuleConditionHostHeaderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionHostHeaderPtrInput)(nil)).Elem(), GetListenerRuleConditionHostHeaderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionHttpHeaderInput)(nil)).Elem(), GetListenerRuleConditionHttpHeaderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionHttpHeaderPtrInput)(nil)).Elem(), GetListenerRuleConditionHttpHeaderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionHttpRequestMethodInput)(nil)).Elem(), GetListenerRuleConditionHttpRequestMethodArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionHttpRequestMethodPtrInput)(nil)).Elem(), GetListenerRuleConditionHttpRequestMethodArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionPathPatternInput)(nil)).Elem(), GetListenerRuleConditionPathPatternArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionPathPatternPtrInput)(nil)).Elem(), GetListenerRuleConditionPathPatternArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionQueryStringInput)(nil)).Elem(), GetListenerRuleConditionQueryStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionQueryStringPtrInput)(nil)).Elem(), GetListenerRuleConditionQueryStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionQueryStringValueInput)(nil)).Elem(), GetListenerRuleConditionQueryStringValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionQueryStringValueArrayInput)(nil)).Elem(), GetListenerRuleConditionQueryStringValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionSourceIpInput)(nil)).Elem(), GetListenerRuleConditionSourceIpArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetListenerRuleConditionSourceIpPtrInput)(nil)).Elem(), GetListenerRuleConditionSourceIpArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerAccessLogsInput)(nil)).Elem(), GetLoadBalancerAccessLogsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerConnectionLogInput)(nil)).Elem(), GetLoadBalancerConnectionLogArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLoadBalancerConnectionLogArrayInput)(nil)).Elem(), GetLoadBalancerConnectionLogArray{}) @@ -7258,6 +10495,12 @@ func init() { pulumi.RegisterOutputType(TargetGroupStickinessPtrOutput{}) pulumi.RegisterOutputType(TargetGroupTargetFailoverOutput{}) pulumi.RegisterOutputType(TargetGroupTargetFailoverArrayOutput{}) + pulumi.RegisterOutputType(TargetGroupTargetGroupHealthOutput{}) + pulumi.RegisterOutputType(TargetGroupTargetGroupHealthPtrOutput{}) + pulumi.RegisterOutputType(TargetGroupTargetGroupHealthDnsFailoverOutput{}) + pulumi.RegisterOutputType(TargetGroupTargetGroupHealthDnsFailoverPtrOutput{}) + pulumi.RegisterOutputType(TargetGroupTargetGroupHealthUnhealthyStateRoutingOutput{}) + pulumi.RegisterOutputType(TargetGroupTargetGroupHealthUnhealthyStateRoutingPtrOutput{}) pulumi.RegisterOutputType(TargetGroupTargetHealthStateOutput{}) pulumi.RegisterOutputType(TargetGroupTargetHealthStateArrayOutput{}) pulumi.RegisterOutputType(GetListenerDefaultActionOutput{}) @@ -7278,6 +10521,38 @@ func init() { pulumi.RegisterOutputType(GetListenerDefaultActionRedirectArrayOutput{}) pulumi.RegisterOutputType(GetListenerMutualAuthenticationOutput{}) pulumi.RegisterOutputType(GetListenerMutualAuthenticationArrayOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionArrayOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionAuthenticateCognitoOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionAuthenticateCognitoPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionAuthenticateOidcOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionAuthenticateOidcPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionFixedResponseOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionFixedResponsePtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionForwardOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionForwardPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionForwardStickinessOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionForwardStickinessPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionForwardTargetGroupOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionForwardTargetGroupArrayOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionRedirectOutput{}) + pulumi.RegisterOutputType(GetListenerRuleActionRedirectPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionArrayOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionHostHeaderOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionHostHeaderPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionHttpHeaderOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionHttpHeaderPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionHttpRequestMethodOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionHttpRequestMethodPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionPathPatternOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionPathPatternPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionQueryStringOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionQueryStringPtrOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionQueryStringValueOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionQueryStringValueArrayOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionSourceIpOutput{}) + pulumi.RegisterOutputType(GetListenerRuleConditionSourceIpPtrOutput{}) pulumi.RegisterOutputType(GetLoadBalancerAccessLogsOutput{}) pulumi.RegisterOutputType(GetLoadBalancerConnectionLogOutput{}) pulumi.RegisterOutputType(GetLoadBalancerConnectionLogArrayOutput{}) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroup.go index 822022b06..4b16da60a 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroup.go @@ -181,6 +181,45 @@ import ( // // ``` // +// ### Target group with health requirements +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := lb.NewTargetGroup(ctx, "tcp-example", &lb.TargetGroupArgs{ +// Name: pulumi.String("tf-example-lb-nlb-tg"), +// Port: pulumi.Int(80), +// Protocol: pulumi.String("TCP"), +// VpcId: pulumi.Any(main.Id), +// TargetGroupHealth: &lb.TargetGroupTargetGroupHealthArgs{ +// DnsFailover: &lb.TargetGroupTargetGroupHealthDnsFailoverArgs{ +// MinimumHealthyTargetsCount: pulumi.String("1"), +// MinimumHealthyTargetsPercentage: pulumi.String("off"), +// }, +// UnhealthyStateRouting: &lb.TargetGroupTargetGroupHealthUnhealthyStateRoutingArgs{ +// MinimumHealthyTargetsCount: pulumi.Int(1), +// MinimumHealthyTargetsPercentage: pulumi.String("off"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// // ## Import // // Using `pulumi import`, import Target Groups using their ARN. For example: @@ -242,6 +281,8 @@ type TargetGroup struct { TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information. TargetFailovers TargetGroupTargetFailoverArrayOutput `pulumi:"targetFailovers"` + // Target health requirements block. See targetGroupHealth for more information. + TargetGroupHealth TargetGroupTargetGroupHealthOutput `pulumi:"targetGroupHealth"` // Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information. TargetHealthStates TargetGroupTargetHealthStateArrayOutput `pulumi:"targetHealthStates"` // Type of target that you must specify when registering targets with this target group. @@ -347,6 +388,8 @@ type targetGroupState struct { TagsAll map[string]string `pulumi:"tagsAll"` // Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information. TargetFailovers []TargetGroupTargetFailover `pulumi:"targetFailovers"` + // Target health requirements block. See targetGroupHealth for more information. + TargetGroupHealth *TargetGroupTargetGroupHealth `pulumi:"targetGroupHealth"` // Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information. TargetHealthStates []TargetGroupTargetHealthState `pulumi:"targetHealthStates"` // Type of target that you must specify when registering targets with this target group. @@ -417,6 +460,8 @@ type TargetGroupState struct { TagsAll pulumi.StringMapInput // Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information. TargetFailovers TargetGroupTargetFailoverArrayInput + // Target health requirements block. See targetGroupHealth for more information. + TargetGroupHealth TargetGroupTargetGroupHealthPtrInput // Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information. TargetHealthStates TargetGroupTargetHealthStateArrayInput // Type of target that you must specify when registering targets with this target group. @@ -481,6 +526,8 @@ type targetGroupArgs struct { Tags map[string]string `pulumi:"tags"` // Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information. TargetFailovers []TargetGroupTargetFailover `pulumi:"targetFailovers"` + // Target health requirements block. See targetGroupHealth for more information. + TargetGroupHealth *TargetGroupTargetGroupHealth `pulumi:"targetGroupHealth"` // Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information. TargetHealthStates []TargetGroupTargetHealthState `pulumi:"targetHealthStates"` // Type of target that you must specify when registering targets with this target group. @@ -542,6 +589,8 @@ type TargetGroupArgs struct { Tags pulumi.StringMapInput // Target failover block. Only applicable for Gateway Load Balancer target groups. See targetFailover for more information. TargetFailovers TargetGroupTargetFailoverArrayInput + // Target health requirements block. See targetGroupHealth for more information. + TargetGroupHealth TargetGroupTargetGroupHealthPtrInput // Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information. TargetHealthStates TargetGroupTargetHealthStateArrayInput // Type of target that you must specify when registering targets with this target group. @@ -767,6 +816,11 @@ func (o TargetGroupOutput) TargetFailovers() TargetGroupTargetFailoverArrayOutpu return o.ApplyT(func(v *TargetGroup) TargetGroupTargetFailoverArrayOutput { return v.TargetFailovers }).(TargetGroupTargetFailoverArrayOutput) } +// Target health requirements block. See targetGroupHealth for more information. +func (o TargetGroupOutput) TargetGroupHealth() TargetGroupTargetGroupHealthOutput { + return o.ApplyT(func(v *TargetGroup) TargetGroupTargetGroupHealthOutput { return v.TargetGroupHealth }).(TargetGroupTargetGroupHealthOutput) +} + // Target health state block. Only applicable for Network Load Balancer target groups when `protocol` is `TCP` or `TLS`. See targetHealthState for more information. func (o TargetGroupOutput) TargetHealthStates() TargetGroupTargetHealthStateArrayOutput { return o.ApplyT(func(v *TargetGroup) TargetGroupTargetHealthStateArrayOutput { return v.TargetHealthStates }).(TargetGroupTargetHealthStateArrayOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroupAttachment.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroupAttachment.go index 7206b48f1..f781eb519 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroupAttachment.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb/targetGroupAttachment.go @@ -105,6 +105,57 @@ import ( // } // // ``` +// +// ### Registering Multiple Targets +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" +// "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// var example []*ec2.Instance +// +// for index := 0; index < 3; index++ { +// key0 := index +// _ := index +// +// __res, err := ec2.NewInstance(ctx, fmt.Sprintf("example-%v", key0), nil) +// if err != nil { +// return err +// } +// example = append(example, __res) +// } +// exampleTargetGroup, err := lb.NewTargetGroup(ctx, "example", nil) +// if err != nil { +// return err +// } +// var exampleTargetGroupAttachment []*lb.TargetGroupAttachment +// for key0, val0 := range %!v(PANIC=Format method: fatal: An assertion has failed: tok: ) { +// __res, err := lb.NewTargetGroupAttachment(ctx, fmt.Sprintf("example-%v", key0), &lb.TargetGroupAttachmentArgs{ +// TargetGroupArn: exampleTargetGroup.Arn, +// TargetId: pulumi.String(val0), +// Port: pulumi.Int(80), +// }) +// if err != nil { +// return err +// } +// exampleTargetGroupAttachment = append(exampleTargetGroupAttachment, __res) +// } +// return nil +// }) +// } +// ``` +// +// ## Import +// +// You cannot import Target Group Attachments. type TargetGroupAttachment struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getManagementLockAtResourceGroupLevel.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getManagementLockAtResourceGroupLevel.go index 7e224130e..f6a7536e9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getManagementLockAtResourceGroupLevel.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getManagementLockAtResourceGroupLevel.go @@ -13,8 +13,6 @@ import ( // Gets a management lock at the resource group level. // Azure REST API version: 2020-05-01. -// -// Other available API versions: 2015-01-01. func LookupManagementLockAtResourceGroupLevel(ctx *pulumi.Context, args *LookupManagementLockAtResourceGroupLevelArgs, opts ...pulumi.InvokeOption) (*LookupManagementLockAtResourceGroupLevelResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupManagementLockAtResourceGroupLevelResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyAssignment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyAssignment.go index a08d7ac5f..af90691e1 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyAssignment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyAssignment.go @@ -14,7 +14,7 @@ import ( // This operation retrieves a single policy assignment, given its name and the scope it was created at. // Azure REST API version: 2022-06-01. // -// Other available API versions: 2016-04-01, 2016-12-01, 2019-06-01, 2020-03-01, 2023-04-01, 2024-04-01, 2024-05-01. +// Other available API versions: 2019-06-01, 2020-03-01, 2023-04-01, 2024-04-01, 2024-05-01, 2025-01-01. func LookupPolicyAssignment(ctx *pulumi.Context, args *LookupPolicyAssignmentArgs, opts ...pulumi.InvokeOption) (*LookupPolicyAssignmentResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicyAssignmentResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinition.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinition.go index f6fb9ae66..f29341b5f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinition.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinition.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy definition in the given subscription with the given name. // Azure REST API version: 2021-06-01. // -// Other available API versions: 2016-04-01, 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. func LookupPolicyDefinition(ctx *pulumi.Context, args *LookupPolicyDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupPolicyDefinitionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicyDefinitionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionAtManagementGroup.go index e5f62ccac..f25e1cc91 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionAtManagementGroup.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy definition in the given management group with the given name. // Azure REST API version: 2021-06-01. // -// Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. func LookupPolicyDefinitionAtManagementGroup(ctx *pulumi.Context, args *LookupPolicyDefinitionAtManagementGroupArgs, opts ...pulumi.InvokeOption) (*LookupPolicyDefinitionAtManagementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicyDefinitionAtManagementGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersion.go index 9f834200a..f10da9258 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersion.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy definition version in the given subscription with the given name. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func LookupPolicyDefinitionVersion(ctx *pulumi.Context, args *LookupPolicyDefinitionVersionArgs, opts ...pulumi.InvokeOption) (*LookupPolicyDefinitionVersionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicyDefinitionVersionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersionAtManagementGroup.go index b57559b28..e8e1c86c7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicyDefinitionVersionAtManagementGroup.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy definition version in the given management group with the given name. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func LookupPolicyDefinitionVersionAtManagementGroup(ctx *pulumi.Context, args *LookupPolicyDefinitionVersionAtManagementGroupArgs, opts ...pulumi.InvokeOption) (*LookupPolicyDefinitionVersionAtManagementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicyDefinitionVersionAtManagementGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinition.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinition.go index 92e583ec1..638e392e5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinition.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinition.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy set definition in the given subscription with the given name. // Azure REST API version: 2021-06-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. func LookupPolicySetDefinition(ctx *pulumi.Context, args *LookupPolicySetDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupPolicySetDefinitionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicySetDefinitionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionAtManagementGroup.go index dae4c3c2d..dea2f4d82 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionAtManagementGroup.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy set definition in the given management group with the given name. // Azure REST API version: 2021-06-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. func LookupPolicySetDefinitionAtManagementGroup(ctx *pulumi.Context, args *LookupPolicySetDefinitionAtManagementGroupArgs, opts ...pulumi.InvokeOption) (*LookupPolicySetDefinitionAtManagementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicySetDefinitionAtManagementGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersion.go index 40a16c0e0..754fbfefc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersion.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy set definition version in the given subscription with the given name and version. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func LookupPolicySetDefinitionVersion(ctx *pulumi.Context, args *LookupPolicySetDefinitionVersionArgs, opts ...pulumi.InvokeOption) (*LookupPolicySetDefinitionVersionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicySetDefinitionVersionResult @@ -26,6 +26,8 @@ func LookupPolicySetDefinitionVersion(ctx *pulumi.Context, args *LookupPolicySet } type LookupPolicySetDefinitionVersionArgs struct { + // Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. + Expand *string `pulumi:"expand"` // The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number PolicyDefinitionVersion string `pulumi:"policyDefinitionVersion"` // The name of the policy set definition. @@ -80,6 +82,8 @@ func LookupPolicySetDefinitionVersionOutput(ctx *pulumi.Context, args LookupPoli } type LookupPolicySetDefinitionVersionOutputArgs struct { + // Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. + Expand pulumi.StringPtrInput `pulumi:"expand"` // The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number PolicyDefinitionVersion pulumi.StringInput `pulumi:"policyDefinitionVersion"` // The name of the policy set definition. diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersionAtManagementGroup.go index 7890e29e8..d2f1fc602 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getPolicySetDefinitionVersionAtManagementGroup.go @@ -14,7 +14,7 @@ import ( // This operation retrieves the policy set definition version in the given management group with the given name and version. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func LookupPolicySetDefinitionVersionAtManagementGroup(ctx *pulumi.Context, args *LookupPolicySetDefinitionVersionAtManagementGroupArgs, opts ...pulumi.InvokeOption) (*LookupPolicySetDefinitionVersionAtManagementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPolicySetDefinitionVersionAtManagementGroupResult @@ -26,6 +26,8 @@ func LookupPolicySetDefinitionVersionAtManagementGroup(ctx *pulumi.Context, args } type LookupPolicySetDefinitionVersionAtManagementGroupArgs struct { + // Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. + Expand *string `pulumi:"expand"` // The name of the management group. The name is case insensitive. ManagementGroupName string `pulumi:"managementGroupName"` // The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number @@ -82,6 +84,8 @@ func LookupPolicySetDefinitionVersionAtManagementGroupOutput(ctx *pulumi.Context } type LookupPolicySetDefinitionVersionAtManagementGroupOutputArgs struct { + // Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. + Expand pulumi.StringPtrInput `pulumi:"expand"` // The name of the management group. The name is case insensitive. ManagementGroupName pulumi.StringInput `pulumi:"managementGroupName"` // The policy set definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleAssignment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleAssignment.go index bc29e002c..d96f46226 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleAssignment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleAssignment.go @@ -14,7 +14,7 @@ import ( // Get a role assignment by scope and name. // Azure REST API version: 2022-04-01. // -// Other available API versions: 2015-07-01, 2017-10-01-preview, 2020-03-01-preview, 2020-04-01-preview. +// Other available API versions: 2017-10-01-preview, 2020-03-01-preview, 2020-04-01-preview. func LookupRoleAssignment(ctx *pulumi.Context, args *LookupRoleAssignmentArgs, opts ...pulumi.InvokeOption) (*LookupRoleAssignmentResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRoleAssignmentResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleManagementPolicyAssignment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleManagementPolicyAssignment.go index 9c6a6f7cb..27b524067 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleManagementPolicyAssignment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/getRoleManagementPolicyAssignment.go @@ -14,7 +14,7 @@ import ( // Get the specified role management policy assignment for a resource scope // Azure REST API version: 2020-10-01. // -// Other available API versions: 2020-10-01-preview, 2024-02-01-preview. +// Other available API versions: 2020-10-01-preview, 2024-02-01-preview, 2024-09-01-preview. func LookupRoleManagementPolicyAssignment(ctx *pulumi.Context, args *LookupRoleManagementPolicyAssignmentArgs, opts ...pulumi.InvokeOption) (*LookupRoleManagementPolicyAssignmentResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRoleManagementPolicyAssignmentResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAll.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAll.go index d9e6f9114..4583790d9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAll.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAll.go @@ -14,7 +14,7 @@ import ( // This operation lists all the policy definition versions for all policy definitions within a subscription. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func ListPolicyDefinitionVersionAll(ctx *pulumi.Context, args *ListPolicyDefinitionVersionAllArgs, opts ...pulumi.InvokeOption) (*ListPolicyDefinitionVersionAllResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListPolicyDefinitionVersionAllResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllAtManagementGroup.go index e026f2c4c..856d7a25e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllAtManagementGroup.go @@ -14,7 +14,7 @@ import ( // This operation lists all the policy definition versions for all policy definitions at the management group scope. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func ListPolicyDefinitionVersionAllAtManagementGroup(ctx *pulumi.Context, args *ListPolicyDefinitionVersionAllAtManagementGroupArgs, opts ...pulumi.InvokeOption) (*ListPolicyDefinitionVersionAllAtManagementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListPolicyDefinitionVersionAllAtManagementGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllBuiltins.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllBuiltins.go index 441e7cd02..3f853bc01 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllBuiltins.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicyDefinitionVersionAllBuiltins.go @@ -14,7 +14,7 @@ import ( // This operation lists all the built-in policy definition versions for all built-in policy definitions. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func ListPolicyDefinitionVersionAllBuiltins(ctx *pulumi.Context, args *ListPolicyDefinitionVersionAllBuiltinsArgs, opts ...pulumi.InvokeOption) (*ListPolicyDefinitionVersionAllBuiltinsResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListPolicyDefinitionVersionAllBuiltinsResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAll.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAll.go index 718921244..4d762c48d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAll.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAll.go @@ -14,7 +14,7 @@ import ( // This operation lists all the policy set definition versions for all policy set definitions within a subscription. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func ListPolicySetDefinitionVersionAll(ctx *pulumi.Context, args *ListPolicySetDefinitionVersionAllArgs, opts ...pulumi.InvokeOption) (*ListPolicySetDefinitionVersionAllResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListPolicySetDefinitionVersionAllResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllAtManagementGroup.go index e67248b53..479dbca88 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllAtManagementGroup.go @@ -14,7 +14,7 @@ import ( // This operation lists all the policy set definition versions for all policy set definitions at the management group scope. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func ListPolicySetDefinitionVersionAllAtManagementGroup(ctx *pulumi.Context, args *ListPolicySetDefinitionVersionAllAtManagementGroupArgs, opts ...pulumi.InvokeOption) (*ListPolicySetDefinitionVersionAllAtManagementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListPolicySetDefinitionVersionAllAtManagementGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllBuiltins.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllBuiltins.go index eb55a4832..2b193f072 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllBuiltins.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/listPolicySetDefinitionVersionAllBuiltins.go @@ -14,7 +14,7 @@ import ( // This operation lists all the built-in policy set definition versions for all built-in policy set definitions. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. func ListPolicySetDefinitionVersionAllBuiltins(ctx *pulumi.Context, args *ListPolicySetDefinitionVersionAllBuiltinsArgs, opts ...pulumi.InvokeOption) (*ListPolicySetDefinitionVersionAllBuiltinsResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListPolicySetDefinitionVersionAllBuiltinsResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/managementLockAtResourceGroupLevel.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/managementLockAtResourceGroupLevel.go index d94baec2b..52c0df383 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/managementLockAtResourceGroupLevel.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/managementLockAtResourceGroupLevel.go @@ -14,8 +14,6 @@ import ( // The lock information. // Azure REST API version: 2020-05-01. Prior API version in Azure Native 1.x: 2017-04-01. -// -// Other available API versions: 2015-01-01. type ManagementLockAtResourceGroupLevel struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyAssignment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyAssignment.go index 571b1716d..b929c78bb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyAssignment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyAssignment.go @@ -15,7 +15,7 @@ import ( // The policy assignment. // Azure REST API version: 2022-06-01. Prior API version in Azure Native 1.x: 2020-09-01. // -// Other available API versions: 2016-04-01, 2016-12-01, 2019-06-01, 2020-03-01, 2023-04-01, 2024-04-01, 2024-05-01. +// Other available API versions: 2019-06-01, 2020-03-01, 2023-04-01, 2024-04-01, 2024-05-01, 2025-01-01. type PolicyAssignment struct { pulumi.CustomResourceState @@ -115,6 +115,9 @@ func NewPolicyAssignment(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicyAssignment"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicyAssignment"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinition.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinition.go index e491b3d34..36be6c6f4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinition.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinition.go @@ -14,7 +14,7 @@ import ( // The policy definition. // Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-09-01. // -// Other available API versions: 2016-04-01, 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. type PolicyDefinition struct { pulumi.CustomResourceState @@ -90,6 +90,9 @@ func NewPolicyDefinition(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicyDefinition"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicyDefinition"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionAtManagementGroup.go index 4f080e5f0..adc984321 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionAtManagementGroup.go @@ -15,7 +15,7 @@ import ( // The policy definition. // Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-09-01. // -// Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2018-05-01, 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. type PolicyDefinitionAtManagementGroup struct { pulumi.CustomResourceState @@ -88,6 +88,9 @@ func NewPolicyDefinitionAtManagementGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicyDefinitionAtManagementGroup"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicyDefinitionAtManagementGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersion.go index 7eda9c1cf..e84e49d68 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersion.go @@ -15,7 +15,7 @@ import ( // The ID of the policy definition version. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. type PolicyDefinitionVersion struct { pulumi.CustomResourceState @@ -63,6 +63,9 @@ func NewPolicyDefinitionVersion(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicyDefinitionVersion"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicyDefinitionVersion"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersionAtManagementGroup.go index d1e453808..c11bfa4a9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policyDefinitionVersionAtManagementGroup.go @@ -15,7 +15,7 @@ import ( // The ID of the policy definition version. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. type PolicyDefinitionVersionAtManagementGroup struct { pulumi.CustomResourceState @@ -66,6 +66,9 @@ func NewPolicyDefinitionVersionAtManagementGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicyDefinitionVersionAtManagementGroup"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicyDefinitionVersionAtManagementGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinition.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinition.go index a5ce0b26e..55d9211f7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinition.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinition.go @@ -15,7 +15,7 @@ import ( // The policy set definition. // Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-09-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. type PolicySetDefinition struct { pulumi.CustomResourceState @@ -85,6 +85,9 @@ func NewPolicySetDefinition(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicySetDefinition"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicySetDefinition"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionAtManagementGroup.go index 8216f6ce0..44bdad554 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionAtManagementGroup.go @@ -15,7 +15,7 @@ import ( // The policy set definition. // Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-09-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2024-05-01, 2025-01-01. type PolicySetDefinitionAtManagementGroup struct { pulumi.CustomResourceState @@ -88,6 +88,9 @@ func NewPolicySetDefinitionAtManagementGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicySetDefinitionAtManagementGroup"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicySetDefinitionAtManagementGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersion.go index 621c9eb44..3750fc78f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersion.go @@ -15,7 +15,7 @@ import ( // The policy set definition version. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. type PolicySetDefinitionVersion struct { pulumi.CustomResourceState @@ -63,6 +63,9 @@ func NewPolicySetDefinitionVersion(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicySetDefinitionVersion"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicySetDefinitionVersion"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersionAtManagementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersionAtManagementGroup.go index 8669b7704..678e72f0c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersionAtManagementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/policySetDefinitionVersionAtManagementGroup.go @@ -15,7 +15,7 @@ import ( // The policy set definition version. // Azure REST API version: 2023-04-01. // -// Other available API versions: 2024-05-01. +// Other available API versions: 2024-05-01, 2025-01-01. type PolicySetDefinitionVersionAtManagementGroup struct { pulumi.CustomResourceState @@ -66,6 +66,9 @@ func NewPolicySetDefinitionVersionAtManagementGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240501:PolicySetDefinitionVersionAtManagementGroup"), }, + { + Type: pulumi.String("azure-native:authorization/v20250101:PolicySetDefinitionVersionAtManagementGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumi-plugin.json index 3825324d5..634987edb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "azure-native", - "version": "2.64.2" + "version": "2.76.0" } diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumiTypes.go index 0cdfe9ea4..d15bec33e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/pulumiTypes.go @@ -3476,8 +3476,12 @@ func (o PolicyDefinitionReferenceArrayOutput) Index(i pulumi.IntInput) PolicyDef type PolicyDefinitionReferenceResponse struct { // The version of the policy definition to use. DefinitionVersion *string `pulumi:"definitionVersion"` + // The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. + EffectiveDefinitionVersion string `pulumi:"effectiveDefinitionVersion"` // The name of the groups that this policy definition reference belongs to. GroupNames []string `pulumi:"groupNames"` + // The latest version of the policy definition available. This is only present if requested via the $expand query parameter. + LatestDefinitionVersion string `pulumi:"latestDefinitionVersion"` // The parameter values for the referenced policy rule. The keys are the parameter names. Parameters map[string]ParameterValuesValueResponse `pulumi:"parameters"` // The ID of the policy definition or policy set definition. @@ -3506,11 +3510,21 @@ func (o PolicyDefinitionReferenceResponseOutput) DefinitionVersion() pulumi.Stri return o.ApplyT(func(v PolicyDefinitionReferenceResponse) *string { return v.DefinitionVersion }).(pulumi.StringPtrOutput) } +// The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. +func (o PolicyDefinitionReferenceResponseOutput) EffectiveDefinitionVersion() pulumi.StringOutput { + return o.ApplyT(func(v PolicyDefinitionReferenceResponse) string { return v.EffectiveDefinitionVersion }).(pulumi.StringOutput) +} + // The name of the groups that this policy definition reference belongs to. func (o PolicyDefinitionReferenceResponseOutput) GroupNames() pulumi.StringArrayOutput { return o.ApplyT(func(v PolicyDefinitionReferenceResponse) []string { return v.GroupNames }).(pulumi.StringArrayOutput) } +// The latest version of the policy definition available. This is only present if requested via the $expand query parameter. +func (o PolicyDefinitionReferenceResponseOutput) LatestDefinitionVersion() pulumi.StringOutput { + return o.ApplyT(func(v PolicyDefinitionReferenceResponse) string { return v.LatestDefinitionVersion }).(pulumi.StringOutput) +} + // The parameter values for the referenced policy rule. The keys are the parameter names. func (o PolicyDefinitionReferenceResponseOutput) Parameters() ParameterValuesValueResponseMapOutput { return o.ApplyT(func(v PolicyDefinitionReferenceResponse) map[string]ParameterValuesValueResponse { return v.Parameters }).(ParameterValuesValueResponseMapOutput) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleAssignment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleAssignment.go index aa3b0320d..71b5805d7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleAssignment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleAssignment.go @@ -15,7 +15,7 @@ import ( // Role Assignments // Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2020-10-01-preview. // -// Other available API versions: 2015-07-01, 2017-10-01-preview, 2020-03-01-preview, 2020-04-01-preview. +// Other available API versions: 2017-10-01-preview, 2020-03-01-preview, 2020-04-01-preview. type RoleAssignment struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleManagementPolicyAssignment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleManagementPolicyAssignment.go index f9e5ab403..8bc6c84d4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleManagementPolicyAssignment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/authorization/v2/roleManagementPolicyAssignment.go @@ -15,7 +15,7 @@ import ( // Role management policy // Azure REST API version: 2020-10-01. Prior API version in Azure Native 1.x: 2020-10-01. // -// Other available API versions: 2020-10-01-preview, 2024-02-01-preview. +// Other available API versions: 2020-10-01-preview, 2024-02-01-preview, 2024-09-01-preview. type RoleManagementPolicyAssignment struct { pulumi.CustomResourceState @@ -55,6 +55,9 @@ func NewRoleManagementPolicyAssignment(ctx *pulumi.Context, { Type: pulumi.String("azure-native:authorization/v20240201preview:RoleManagementPolicyAssignment"), }, + { + Type: pulumi.String("azure-native:authorization/v20240901preview:RoleManagementPolicyAssignment"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/availabilitySet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/availabilitySet.go index 56abd50e5..6183a16c8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/availabilitySet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/availabilitySet.go @@ -15,7 +15,7 @@ import ( // Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to an availability set at creation time. An existing VM cannot be added to an availability set. // Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2020-12-01. // -// Other available API versions: 2016-04-30-preview, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. type AvailabilitySet struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/disk.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/disk.go index 2d07569c1..85a763d88 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/disk.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/disk.go @@ -15,7 +15,7 @@ import ( // Disk resource. // Azure REST API version: 2022-07-02. Prior API version in Azure Native 1.x: 2020-12-01. // -// Other available API versions: 2016-04-30-preview, 2018-06-01, 2019-07-01, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. +// Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. type Disk struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/diskEncryptionSet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/diskEncryptionSet.go index 7e2a57af9..7493b882d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/diskEncryptionSet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/diskEncryptionSet.go @@ -15,7 +15,7 @@ import ( // disk encryption set resource. // Azure REST API version: 2022-07-02. Prior API version in Azure Native 1.x: 2020-12-01. // -// Other available API versions: 2020-06-30, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. +// Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. type DiskEncryptionSet struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/gallery.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/gallery.go index ecc395258..46f9d000a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/gallery.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/gallery.go @@ -15,7 +15,7 @@ import ( // Specifies information about the Shared Image Gallery that you want to create or update. // Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. type Gallery struct { pulumi.CustomResourceState @@ -85,6 +85,9 @@ func NewGallery(ctx *pulumi.Context, { Type: pulumi.String("azure-native:compute/v20230703:Gallery"), }, + { + Type: pulumi.String("azure-native:compute/v20240303:Gallery"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplication.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplication.go index b07944ab8..98588a071 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplication.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplication.go @@ -15,7 +15,7 @@ import ( // Specifies information about the gallery Application Definition that you want to create or update. // Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. type GalleryApplication struct { pulumi.CustomResourceState @@ -90,6 +90,9 @@ func NewGalleryApplication(ctx *pulumi.Context, { Type: pulumi.String("azure-native:compute/v20230703:GalleryApplication"), }, + { + Type: pulumi.String("azure-native:compute/v20240303:GalleryApplication"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplicationVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplicationVersion.go index 2267db127..524b8c3b1 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplicationVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryApplicationVersion.go @@ -15,7 +15,7 @@ import ( // Specifies information about the gallery Application Version that you want to create or update. // Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. type GalleryApplicationVersion struct { pulumi.CustomResourceState @@ -87,6 +87,9 @@ func NewGalleryApplicationVersion(ctx *pulumi.Context, { Type: pulumi.String("azure-native:compute/v20230703:GalleryApplicationVersion"), }, + { + Type: pulumi.String("azure-native:compute/v20240303:GalleryApplicationVersion"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImage.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImage.go index e87bc3b1b..0454e5b62 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImage.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImage.go @@ -15,7 +15,7 @@ import ( // Specifies information about the gallery image definition that you want to create or update. // Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. type GalleryImage struct { pulumi.CustomResourceState @@ -115,6 +115,9 @@ func NewGalleryImage(ctx *pulumi.Context, { Type: pulumi.String("azure-native:compute/v20230703:GalleryImage"), }, + { + Type: pulumi.String("azure-native:compute/v20240303:GalleryImage"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImageVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImageVersion.go index 42d584643..99fb2df67 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImageVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryImageVersion.go @@ -15,7 +15,7 @@ import ( // Specifies information about the gallery image version that you want to create or update. // Azure REST API version: 2022-03-03. Prior API version in Azure Native 1.x: 2020-09-30. // -// Other available API versions: 2019-03-01, 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. type GalleryImageVersion struct { pulumi.CustomResourceState @@ -92,6 +92,9 @@ func NewGalleryImageVersion(ctx *pulumi.Context, { Type: pulumi.String("azure-native:compute/v20230703:GalleryImageVersion"), }, + { + Type: pulumi.String("azure-native:compute/v20240303:GalleryImageVersion"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryInVMAccessControlProfile.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryInVMAccessControlProfile.go new file mode 100644 index 000000000..ff0993355 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryInVMAccessControlProfile.go @@ -0,0 +1,180 @@ +// Code generated by the Pulumi SDK Generator DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package compute + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-azure-native-sdk/v2/utilities" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Specifies information about the gallery inVMAccessControlProfile that you want to create or update. +// Azure REST API version: 2024-03-03. +type GalleryInVMAccessControlProfile struct { + pulumi.CustomResourceState + + // Resource location + Location pulumi.StringOutput `pulumi:"location"` + // Resource name + Name pulumi.StringOutput `pulumi:"name"` + // Describes the properties of a gallery inVMAccessControlProfile. + Properties GalleryInVMAccessControlProfilePropertiesResponseOutput `pulumi:"properties"` + // Resource tags + Tags pulumi.StringMapOutput `pulumi:"tags"` + // Resource type + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewGalleryInVMAccessControlProfile registers a new resource with the given unique name, arguments, and options. +func NewGalleryInVMAccessControlProfile(ctx *pulumi.Context, + name string, args *GalleryInVMAccessControlProfileArgs, opts ...pulumi.ResourceOption) (*GalleryInVMAccessControlProfile, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.GalleryName == nil { + return nil, errors.New("invalid value for required argument 'GalleryName'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:compute/v20240303:GalleryInVMAccessControlProfile"), + }, + }) + opts = append(opts, aliases) + opts = utilities.PkgResourceDefaultOpts(opts) + var resource GalleryInVMAccessControlProfile + err := ctx.RegisterResource("azure-native:compute:GalleryInVMAccessControlProfile", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetGalleryInVMAccessControlProfile gets an existing GalleryInVMAccessControlProfile 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 GetGalleryInVMAccessControlProfile(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *GalleryInVMAccessControlProfileState, opts ...pulumi.ResourceOption) (*GalleryInVMAccessControlProfile, error) { + var resource GalleryInVMAccessControlProfile + err := ctx.ReadResource("azure-native:compute:GalleryInVMAccessControlProfile", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering GalleryInVMAccessControlProfile resources. +type galleryInVMAccessControlProfileState struct { +} + +type GalleryInVMAccessControlProfileState struct { +} + +func (GalleryInVMAccessControlProfileState) ElementType() reflect.Type { + return reflect.TypeOf((*galleryInVMAccessControlProfileState)(nil)).Elem() +} + +type galleryInVMAccessControlProfileArgs struct { + // The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created. + GalleryName string `pulumi:"galleryName"` + // The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. + InVMAccessControlProfileName *string `pulumi:"inVMAccessControlProfileName"` + // Resource location + Location *string `pulumi:"location"` + // Describes the properties of a gallery inVMAccessControlProfile. + Properties *GalleryInVMAccessControlProfileProperties `pulumi:"properties"` + // The name of the resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` + // Resource tags + Tags map[string]string `pulumi:"tags"` +} + +// The set of arguments for constructing a GalleryInVMAccessControlProfile resource. +type GalleryInVMAccessControlProfileArgs struct { + // The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created. + GalleryName pulumi.StringInput + // The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. + InVMAccessControlProfileName pulumi.StringPtrInput + // Resource location + Location pulumi.StringPtrInput + // Describes the properties of a gallery inVMAccessControlProfile. + Properties GalleryInVMAccessControlProfilePropertiesPtrInput + // The name of the resource group. + ResourceGroupName pulumi.StringInput + // Resource tags + Tags pulumi.StringMapInput +} + +func (GalleryInVMAccessControlProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*galleryInVMAccessControlProfileArgs)(nil)).Elem() +} + +type GalleryInVMAccessControlProfileInput interface { + pulumi.Input + + ToGalleryInVMAccessControlProfileOutput() GalleryInVMAccessControlProfileOutput + ToGalleryInVMAccessControlProfileOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfileOutput +} + +func (*GalleryInVMAccessControlProfile) ElementType() reflect.Type { + return reflect.TypeOf((**GalleryInVMAccessControlProfile)(nil)).Elem() +} + +func (i *GalleryInVMAccessControlProfile) ToGalleryInVMAccessControlProfileOutput() GalleryInVMAccessControlProfileOutput { + return i.ToGalleryInVMAccessControlProfileOutputWithContext(context.Background()) +} + +func (i *GalleryInVMAccessControlProfile) ToGalleryInVMAccessControlProfileOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GalleryInVMAccessControlProfileOutput) +} + +type GalleryInVMAccessControlProfileOutput struct{ *pulumi.OutputState } + +func (GalleryInVMAccessControlProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GalleryInVMAccessControlProfile)(nil)).Elem() +} + +func (o GalleryInVMAccessControlProfileOutput) ToGalleryInVMAccessControlProfileOutput() GalleryInVMAccessControlProfileOutput { + return o +} + +func (o GalleryInVMAccessControlProfileOutput) ToGalleryInVMAccessControlProfileOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfileOutput { + return o +} + +// Resource location +func (o GalleryInVMAccessControlProfileOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfile) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) +} + +// Resource name +func (o GalleryInVMAccessControlProfileOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfile) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Describes the properties of a gallery inVMAccessControlProfile. +func (o GalleryInVMAccessControlProfileOutput) Properties() GalleryInVMAccessControlProfilePropertiesResponseOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfile) GalleryInVMAccessControlProfilePropertiesResponseOutput { + return v.Properties + }).(GalleryInVMAccessControlProfilePropertiesResponseOutput) +} + +// Resource tags +func (o GalleryInVMAccessControlProfileOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfile) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +// Resource type +func (o GalleryInVMAccessControlProfileOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfile) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GalleryInVMAccessControlProfileOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryInVMAccessControlProfileVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryInVMAccessControlProfileVersion.go new file mode 100644 index 000000000..a89ad0ac2 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/galleryInVMAccessControlProfileVersion.go @@ -0,0 +1,260 @@ +// Code generated by the Pulumi SDK Generator DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package compute + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-azure-native-sdk/v2/utilities" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Specifies information about the gallery inVMAccessControlProfile version that you want to create or update. +// Azure REST API version: 2024-03-03. +type GalleryInVMAccessControlProfileVersion struct { + pulumi.CustomResourceState + + // This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. + DefaultAccess pulumi.StringOutput `pulumi:"defaultAccess"` + // If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. + ExcludeFromLatest pulumi.BoolPtrOutput `pulumi:"excludeFromLatest"` + // Resource location + Location pulumi.StringOutput `pulumi:"location"` + // This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. + Mode pulumi.StringOutput `pulumi:"mode"` + // Resource name + Name pulumi.StringOutput `pulumi:"name"` + // The provisioning state, which only appears in the response. + ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"` + // The timestamp for when the Resource Profile Version is published. + PublishedDate pulumi.StringOutput `pulumi:"publishedDate"` + // This is the replication status of the gallery image version. + ReplicationStatus ReplicationStatusResponseOutput `pulumi:"replicationStatus"` + // This is the Access Control Rules specification for an inVMAccessControlProfile version. + Rules AccessControlRulesResponsePtrOutput `pulumi:"rules"` + // Resource tags + Tags pulumi.StringMapOutput `pulumi:"tags"` + // The target regions where the Resource Profile version is going to be replicated to. This property is updatable. + TargetLocations TargetRegionResponseArrayOutput `pulumi:"targetLocations"` + // Resource type + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewGalleryInVMAccessControlProfileVersion registers a new resource with the given unique name, arguments, and options. +func NewGalleryInVMAccessControlProfileVersion(ctx *pulumi.Context, + name string, args *GalleryInVMAccessControlProfileVersionArgs, opts ...pulumi.ResourceOption) (*GalleryInVMAccessControlProfileVersion, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DefaultAccess == nil { + return nil, errors.New("invalid value for required argument 'DefaultAccess'") + } + if args.GalleryName == nil { + return nil, errors.New("invalid value for required argument 'GalleryName'") + } + if args.InVMAccessControlProfileName == nil { + return nil, errors.New("invalid value for required argument 'InVMAccessControlProfileName'") + } + if args.Mode == nil { + return nil, errors.New("invalid value for required argument 'Mode'") + } + if args.ResourceGroupName == nil { + return nil, errors.New("invalid value for required argument 'ResourceGroupName'") + } + aliases := pulumi.Aliases([]pulumi.Alias{ + { + Type: pulumi.String("azure-native:compute/v20240303:GalleryInVMAccessControlProfileVersion"), + }, + }) + opts = append(opts, aliases) + opts = utilities.PkgResourceDefaultOpts(opts) + var resource GalleryInVMAccessControlProfileVersion + err := ctx.RegisterResource("azure-native:compute:GalleryInVMAccessControlProfileVersion", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetGalleryInVMAccessControlProfileVersion gets an existing GalleryInVMAccessControlProfileVersion 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 GetGalleryInVMAccessControlProfileVersion(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *GalleryInVMAccessControlProfileVersionState, opts ...pulumi.ResourceOption) (*GalleryInVMAccessControlProfileVersion, error) { + var resource GalleryInVMAccessControlProfileVersion + err := ctx.ReadResource("azure-native:compute:GalleryInVMAccessControlProfileVersion", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering GalleryInVMAccessControlProfileVersion resources. +type galleryInVMAccessControlProfileVersionState struct { +} + +type GalleryInVMAccessControlProfileVersionState struct { +} + +func (GalleryInVMAccessControlProfileVersionState) ElementType() reflect.Type { + return reflect.TypeOf((*galleryInVMAccessControlProfileVersionState)(nil)).Elem() +} + +type galleryInVMAccessControlProfileVersionArgs struct { + // This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. + DefaultAccess string `pulumi:"defaultAccess"` + // If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. + ExcludeFromLatest *bool `pulumi:"excludeFromLatest"` + // The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. + GalleryName string `pulumi:"galleryName"` + // The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be created. + InVMAccessControlProfileName string `pulumi:"inVMAccessControlProfileName"` + // The name of the gallery inVMAccessControlProfile version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .. + InVMAccessControlProfileVersionName *string `pulumi:"inVMAccessControlProfileVersionName"` + // Resource location + Location *string `pulumi:"location"` + // This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. + Mode string `pulumi:"mode"` + // The name of the resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` + // This is the Access Control Rules specification for an inVMAccessControlProfile version. + Rules *AccessControlRules `pulumi:"rules"` + // Resource tags + Tags map[string]string `pulumi:"tags"` + // The target regions where the Resource Profile version is going to be replicated to. This property is updatable. + TargetLocations []TargetRegion `pulumi:"targetLocations"` +} + +// The set of arguments for constructing a GalleryInVMAccessControlProfileVersion resource. +type GalleryInVMAccessControlProfileVersionArgs struct { + // This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. + DefaultAccess pulumi.StringInput + // If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. + ExcludeFromLatest pulumi.BoolPtrInput + // The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. + GalleryName pulumi.StringInput + // The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version is to be created. + InVMAccessControlProfileName pulumi.StringInput + // The name of the gallery inVMAccessControlProfile version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .. + InVMAccessControlProfileVersionName pulumi.StringPtrInput + // Resource location + Location pulumi.StringPtrInput + // This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. + Mode pulumi.StringInput + // The name of the resource group. + ResourceGroupName pulumi.StringInput + // This is the Access Control Rules specification for an inVMAccessControlProfile version. + Rules AccessControlRulesPtrInput + // Resource tags + Tags pulumi.StringMapInput + // The target regions where the Resource Profile version is going to be replicated to. This property is updatable. + TargetLocations TargetRegionArrayInput +} + +func (GalleryInVMAccessControlProfileVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*galleryInVMAccessControlProfileVersionArgs)(nil)).Elem() +} + +type GalleryInVMAccessControlProfileVersionInput interface { + pulumi.Input + + ToGalleryInVMAccessControlProfileVersionOutput() GalleryInVMAccessControlProfileVersionOutput + ToGalleryInVMAccessControlProfileVersionOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfileVersionOutput +} + +func (*GalleryInVMAccessControlProfileVersion) ElementType() reflect.Type { + return reflect.TypeOf((**GalleryInVMAccessControlProfileVersion)(nil)).Elem() +} + +func (i *GalleryInVMAccessControlProfileVersion) ToGalleryInVMAccessControlProfileVersionOutput() GalleryInVMAccessControlProfileVersionOutput { + return i.ToGalleryInVMAccessControlProfileVersionOutputWithContext(context.Background()) +} + +func (i *GalleryInVMAccessControlProfileVersion) ToGalleryInVMAccessControlProfileVersionOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfileVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GalleryInVMAccessControlProfileVersionOutput) +} + +type GalleryInVMAccessControlProfileVersionOutput struct{ *pulumi.OutputState } + +func (GalleryInVMAccessControlProfileVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GalleryInVMAccessControlProfileVersion)(nil)).Elem() +} + +func (o GalleryInVMAccessControlProfileVersionOutput) ToGalleryInVMAccessControlProfileVersionOutput() GalleryInVMAccessControlProfileVersionOutput { + return o +} + +func (o GalleryInVMAccessControlProfileVersionOutput) ToGalleryInVMAccessControlProfileVersionOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfileVersionOutput { + return o +} + +// This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. +func (o GalleryInVMAccessControlProfileVersionOutput) DefaultAccess() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.DefaultAccess }).(pulumi.StringOutput) +} + +// If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. +func (o GalleryInVMAccessControlProfileVersionOutput) ExcludeFromLatest() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.BoolPtrOutput { return v.ExcludeFromLatest }).(pulumi.BoolPtrOutput) +} + +// Resource location +func (o GalleryInVMAccessControlProfileVersionOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) +} + +// This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. +func (o GalleryInVMAccessControlProfileVersionOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.Mode }).(pulumi.StringOutput) +} + +// Resource name +func (o GalleryInVMAccessControlProfileVersionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The provisioning state, which only appears in the response. +func (o GalleryInVMAccessControlProfileVersionOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.ProvisioningState }).(pulumi.StringOutput) +} + +// The timestamp for when the Resource Profile Version is published. +func (o GalleryInVMAccessControlProfileVersionOutput) PublishedDate() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.PublishedDate }).(pulumi.StringOutput) +} + +// This is the replication status of the gallery image version. +func (o GalleryInVMAccessControlProfileVersionOutput) ReplicationStatus() ReplicationStatusResponseOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) ReplicationStatusResponseOutput { + return v.ReplicationStatus + }).(ReplicationStatusResponseOutput) +} + +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +func (o GalleryInVMAccessControlProfileVersionOutput) Rules() AccessControlRulesResponsePtrOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) AccessControlRulesResponsePtrOutput { return v.Rules }).(AccessControlRulesResponsePtrOutput) +} + +// Resource tags +func (o GalleryInVMAccessControlProfileVersionOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringMapOutput { return v.Tags }).(pulumi.StringMapOutput) +} + +// The target regions where the Resource Profile version is going to be replicated to. This property is updatable. +func (o GalleryInVMAccessControlProfileVersionOutput) TargetLocations() TargetRegionResponseArrayOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) TargetRegionResponseArrayOutput { + return v.TargetLocations + }).(TargetRegionResponseArrayOutput) +} + +// Resource type +func (o GalleryInVMAccessControlProfileVersionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileVersion) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GalleryInVMAccessControlProfileVersionOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getAvailabilitySet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getAvailabilitySet.go index c8b326222..1fbb8d365 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getAvailabilitySet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getAvailabilitySet.go @@ -14,7 +14,7 @@ import ( // Retrieves information about an availability set. // Azure REST API version: 2023-03-01. // -// Other available API versions: 2016-04-30-preview, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. func LookupAvailabilitySet(ctx *pulumi.Context, args *LookupAvailabilitySetArgs, opts ...pulumi.InvokeOption) (*LookupAvailabilitySetResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupAvailabilitySetResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDisk.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDisk.go index dbc084dbe..c40b3b55f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDisk.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDisk.go @@ -14,7 +14,7 @@ import ( // Gets information about a disk. // Azure REST API version: 2022-07-02. // -// Other available API versions: 2016-04-30-preview, 2018-06-01, 2019-07-01, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. +// Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. func LookupDisk(ctx *pulumi.Context, args *LookupDiskArgs, opts ...pulumi.InvokeOption) (*LookupDiskResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupDiskResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDiskEncryptionSet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDiskEncryptionSet.go index 2980df21a..f99c21b05 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDiskEncryptionSet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getDiskEncryptionSet.go @@ -14,7 +14,7 @@ import ( // Gets information about a disk encryption set. // Azure REST API version: 2022-07-02. // -// Other available API versions: 2020-06-30, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. +// Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. func LookupDiskEncryptionSet(ctx *pulumi.Context, args *LookupDiskEncryptionSetArgs, opts ...pulumi.InvokeOption) (*LookupDiskEncryptionSetResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupDiskEncryptionSetResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGallery.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGallery.go index b404f02a3..bcdbed6cd 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGallery.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGallery.go @@ -14,7 +14,7 @@ import ( // Retrieves information about a Shared Image Gallery. // Azure REST API version: 2022-03-03. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. func LookupGallery(ctx *pulumi.Context, args *LookupGalleryArgs, opts ...pulumi.InvokeOption) (*LookupGalleryResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupGalleryResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplication.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplication.go index 031897582..f56efdadb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplication.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplication.go @@ -14,7 +14,7 @@ import ( // Retrieves information about a gallery Application Definition. // Azure REST API version: 2022-03-03. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. func LookupGalleryApplication(ctx *pulumi.Context, args *LookupGalleryApplicationArgs, opts ...pulumi.InvokeOption) (*LookupGalleryApplicationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupGalleryApplicationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplicationVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplicationVersion.go index d1c7c4d57..1db418452 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplicationVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryApplicationVersion.go @@ -14,7 +14,7 @@ import ( // Retrieves information about a gallery Application Version. // Azure REST API version: 2022-03-03. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. func LookupGalleryApplicationVersion(ctx *pulumi.Context, args *LookupGalleryApplicationVersionArgs, opts ...pulumi.InvokeOption) (*LookupGalleryApplicationVersionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupGalleryApplicationVersionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImage.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImage.go index c636442e6..3b2c4096e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImage.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImage.go @@ -14,7 +14,7 @@ import ( // Retrieves information about a gallery image definition. // Azure REST API version: 2022-03-03. // -// Other available API versions: 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. func LookupGalleryImage(ctx *pulumi.Context, args *LookupGalleryImageArgs, opts ...pulumi.InvokeOption) (*LookupGalleryImageResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupGalleryImageResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImageVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImageVersion.go index b804d113b..3100c6205 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImageVersion.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryImageVersion.go @@ -14,7 +14,7 @@ import ( // Retrieves information about a gallery image version. // Azure REST API version: 2022-03-03. // -// Other available API versions: 2019-03-01, 2022-08-03, 2023-07-03. +// Other available API versions: 2022-08-03, 2023-07-03, 2024-03-03. func LookupGalleryImageVersion(ctx *pulumi.Context, args *LookupGalleryImageVersionArgs, opts ...pulumi.InvokeOption) (*LookupGalleryImageVersionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupGalleryImageVersionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryInVMAccessControlProfile.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryInVMAccessControlProfile.go new file mode 100644 index 000000000..3a2a352aa --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryInVMAccessControlProfile.go @@ -0,0 +1,132 @@ +// Code generated by the Pulumi SDK Generator DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package compute + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-azure-native-sdk/v2/utilities" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves information about a gallery inVMAccessControlProfile. +// Azure REST API version: 2024-03-03. +func LookupGalleryInVMAccessControlProfile(ctx *pulumi.Context, args *LookupGalleryInVMAccessControlProfileArgs, opts ...pulumi.InvokeOption) (*LookupGalleryInVMAccessControlProfileResult, error) { + opts = utilities.PkgInvokeDefaultOpts(opts) + var rv LookupGalleryInVMAccessControlProfileResult + err := ctx.Invoke("azure-native:compute:getGalleryInVMAccessControlProfile", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupGalleryInVMAccessControlProfileArgs struct { + // The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved. + GalleryName string `pulumi:"galleryName"` + // The name of the gallery inVMAccessControlProfile to be retrieved. + InVMAccessControlProfileName string `pulumi:"inVMAccessControlProfileName"` + // The name of the resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Specifies information about the gallery inVMAccessControlProfile that you want to create or update. +type LookupGalleryInVMAccessControlProfileResult struct { + // Resource Id + Id string `pulumi:"id"` + // Resource location + Location string `pulumi:"location"` + // Resource name + Name string `pulumi:"name"` + // Describes the properties of a gallery inVMAccessControlProfile. + Properties GalleryInVMAccessControlProfilePropertiesResponse `pulumi:"properties"` + // Resource tags + Tags map[string]string `pulumi:"tags"` + // Resource type + Type string `pulumi:"type"` +} + +func LookupGalleryInVMAccessControlProfileOutput(ctx *pulumi.Context, args LookupGalleryInVMAccessControlProfileOutputArgs, opts ...pulumi.InvokeOption) LookupGalleryInVMAccessControlProfileResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupGalleryInVMAccessControlProfileResultOutput, error) { + args := v.(LookupGalleryInVMAccessControlProfileArgs) + opts = utilities.PkgInvokeDefaultOpts(opts) + var rv LookupGalleryInVMAccessControlProfileResult + secret, err := ctx.InvokePackageRaw("azure-native:compute:getGalleryInVMAccessControlProfile", args, &rv, "", opts...) + if err != nil { + return LookupGalleryInVMAccessControlProfileResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupGalleryInVMAccessControlProfileResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGalleryInVMAccessControlProfileResultOutput), nil + } + return output, nil + }).(LookupGalleryInVMAccessControlProfileResultOutput) +} + +type LookupGalleryInVMAccessControlProfileOutputArgs struct { + // The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved. + GalleryName pulumi.StringInput `pulumi:"galleryName"` + // The name of the gallery inVMAccessControlProfile to be retrieved. + InVMAccessControlProfileName pulumi.StringInput `pulumi:"inVMAccessControlProfileName"` + // The name of the resource group. + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` +} + +func (LookupGalleryInVMAccessControlProfileOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupGalleryInVMAccessControlProfileArgs)(nil)).Elem() +} + +// Specifies information about the gallery inVMAccessControlProfile that you want to create or update. +type LookupGalleryInVMAccessControlProfileResultOutput struct{ *pulumi.OutputState } + +func (LookupGalleryInVMAccessControlProfileResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupGalleryInVMAccessControlProfileResult)(nil)).Elem() +} + +func (o LookupGalleryInVMAccessControlProfileResultOutput) ToLookupGalleryInVMAccessControlProfileResultOutput() LookupGalleryInVMAccessControlProfileResultOutput { + return o +} + +func (o LookupGalleryInVMAccessControlProfileResultOutput) ToLookupGalleryInVMAccessControlProfileResultOutputWithContext(ctx context.Context) LookupGalleryInVMAccessControlProfileResultOutput { + return o +} + +// Resource Id +func (o LookupGalleryInVMAccessControlProfileResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Resource location +func (o LookupGalleryInVMAccessControlProfileResultOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileResult) string { return v.Location }).(pulumi.StringOutput) +} + +// Resource name +func (o LookupGalleryInVMAccessControlProfileResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileResult) string { return v.Name }).(pulumi.StringOutput) +} + +// Describes the properties of a gallery inVMAccessControlProfile. +func (o LookupGalleryInVMAccessControlProfileResultOutput) Properties() GalleryInVMAccessControlProfilePropertiesResponseOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileResult) GalleryInVMAccessControlProfilePropertiesResponse { + return v.Properties + }).(GalleryInVMAccessControlProfilePropertiesResponseOutput) +} + +// Resource tags +func (o LookupGalleryInVMAccessControlProfileResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// Resource type +func (o LookupGalleryInVMAccessControlProfileResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupGalleryInVMAccessControlProfileResultOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryInVMAccessControlProfileVersion.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryInVMAccessControlProfileVersion.go new file mode 100644 index 000000000..bebfe3d8f --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getGalleryInVMAccessControlProfileVersion.go @@ -0,0 +1,187 @@ +// Code generated by the Pulumi SDK Generator DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package compute + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-azure-native-sdk/v2/utilities" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves information about a gallery inVMAccessControlProfile version. +// Azure REST API version: 2024-03-03. +func LookupGalleryInVMAccessControlProfileVersion(ctx *pulumi.Context, args *LookupGalleryInVMAccessControlProfileVersionArgs, opts ...pulumi.InvokeOption) (*LookupGalleryInVMAccessControlProfileVersionResult, error) { + opts = utilities.PkgInvokeDefaultOpts(opts) + var rv LookupGalleryInVMAccessControlProfileVersionResult + err := ctx.Invoke("azure-native:compute:getGalleryInVMAccessControlProfileVersion", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +type LookupGalleryInVMAccessControlProfileVersionArgs struct { + // The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. + GalleryName string `pulumi:"galleryName"` + // The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version resides. + InVMAccessControlProfileName string `pulumi:"inVMAccessControlProfileName"` + // The name of the gallery inVMAccessControlProfile version to be retrieved. + InVMAccessControlProfileVersionName string `pulumi:"inVMAccessControlProfileVersionName"` + // The name of the resource group. + ResourceGroupName string `pulumi:"resourceGroupName"` +} + +// Specifies information about the gallery inVMAccessControlProfile version that you want to create or update. +type LookupGalleryInVMAccessControlProfileVersionResult struct { + // This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. + DefaultAccess string `pulumi:"defaultAccess"` + // If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. + ExcludeFromLatest *bool `pulumi:"excludeFromLatest"` + // Resource Id + Id string `pulumi:"id"` + // Resource location + Location string `pulumi:"location"` + // This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. + Mode string `pulumi:"mode"` + // Resource name + Name string `pulumi:"name"` + // The provisioning state, which only appears in the response. + ProvisioningState string `pulumi:"provisioningState"` + // The timestamp for when the Resource Profile Version is published. + PublishedDate string `pulumi:"publishedDate"` + // This is the replication status of the gallery image version. + ReplicationStatus ReplicationStatusResponse `pulumi:"replicationStatus"` + // This is the Access Control Rules specification for an inVMAccessControlProfile version. + Rules *AccessControlRulesResponse `pulumi:"rules"` + // Resource tags + Tags map[string]string `pulumi:"tags"` + // The target regions where the Resource Profile version is going to be replicated to. This property is updatable. + TargetLocations []TargetRegionResponse `pulumi:"targetLocations"` + // Resource type + Type string `pulumi:"type"` +} + +func LookupGalleryInVMAccessControlProfileVersionOutput(ctx *pulumi.Context, args LookupGalleryInVMAccessControlProfileVersionOutputArgs, opts ...pulumi.InvokeOption) LookupGalleryInVMAccessControlProfileVersionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupGalleryInVMAccessControlProfileVersionResultOutput, error) { + args := v.(LookupGalleryInVMAccessControlProfileVersionArgs) + opts = utilities.PkgInvokeDefaultOpts(opts) + var rv LookupGalleryInVMAccessControlProfileVersionResult + secret, err := ctx.InvokePackageRaw("azure-native:compute:getGalleryInVMAccessControlProfileVersion", args, &rv, "", opts...) + if err != nil { + return LookupGalleryInVMAccessControlProfileVersionResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(LookupGalleryInVMAccessControlProfileVersionResultOutput) + if secret { + return pulumi.ToSecret(output).(LookupGalleryInVMAccessControlProfileVersionResultOutput), nil + } + return output, nil + }).(LookupGalleryInVMAccessControlProfileVersionResultOutput) +} + +type LookupGalleryInVMAccessControlProfileVersionOutputArgs struct { + // The name of the Shared Image Gallery in which the inVMAccessControlProfile resides. + GalleryName pulumi.StringInput `pulumi:"galleryName"` + // The name of the gallery inVMAccessControlProfile in which the inVMAccessControlProfile version resides. + InVMAccessControlProfileName pulumi.StringInput `pulumi:"inVMAccessControlProfileName"` + // The name of the gallery inVMAccessControlProfile version to be retrieved. + InVMAccessControlProfileVersionName pulumi.StringInput `pulumi:"inVMAccessControlProfileVersionName"` + // The name of the resource group. + ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` +} + +func (LookupGalleryInVMAccessControlProfileVersionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupGalleryInVMAccessControlProfileVersionArgs)(nil)).Elem() +} + +// Specifies information about the gallery inVMAccessControlProfile version that you want to create or update. +type LookupGalleryInVMAccessControlProfileVersionResultOutput struct{ *pulumi.OutputState } + +func (LookupGalleryInVMAccessControlProfileVersionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupGalleryInVMAccessControlProfileVersionResult)(nil)).Elem() +} + +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) ToLookupGalleryInVMAccessControlProfileVersionResultOutput() LookupGalleryInVMAccessControlProfileVersionResultOutput { + return o +} + +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) ToLookupGalleryInVMAccessControlProfileVersionResultOutputWithContext(ctx context.Context) LookupGalleryInVMAccessControlProfileVersionResultOutput { + return o +} + +// This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) DefaultAccess() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.DefaultAccess }).(pulumi.StringOutput) +} + +// If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) ExcludeFromLatest() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) *bool { return v.ExcludeFromLatest }).(pulumi.BoolPtrOutput) +} + +// Resource Id +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Resource location +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.Location }).(pulumi.StringOutput) +} + +// This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.Mode }).(pulumi.StringOutput) +} + +// Resource name +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The provisioning state, which only appears in the response. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + +// The timestamp for when the Resource Profile Version is published. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) PublishedDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.PublishedDate }).(pulumi.StringOutput) +} + +// This is the replication status of the gallery image version. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) ReplicationStatus() ReplicationStatusResponseOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) ReplicationStatusResponse { + return v.ReplicationStatus + }).(ReplicationStatusResponseOutput) +} + +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Rules() AccessControlRulesResponsePtrOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) *AccessControlRulesResponse { return v.Rules }).(AccessControlRulesResponsePtrOutput) +} + +// Resource tags +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// The target regions where the Resource Profile version is going to be replicated to. This property is updatable. +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) TargetLocations() TargetRegionResponseArrayOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) []TargetRegionResponse { + return v.TargetLocations + }).(TargetRegionResponseArrayOutput) +} + +// Resource type +func (o LookupGalleryInVMAccessControlProfileVersionResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupGalleryInVMAccessControlProfileVersionResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupGalleryInVMAccessControlProfileVersionResultOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportRequestRateByInterval.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportRequestRateByInterval.go index 57cb616c5..885ce4852 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportRequestRateByInterval.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportRequestRateByInterval.go @@ -14,7 +14,7 @@ import ( // Export logs that show Api requests made by this subscription in the given time window to show throttling activities. // Azure REST API version: 2023-03-01. // -// Other available API versions: 2017-12-01, 2018-04-01, 2018-06-01, 2018-10-01, 2019-03-01, 2019-07-01, 2019-12-01, 2020-06-01, 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01, 2021-11-01, 2022-03-01, 2022-08-01, 2022-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01, 2021-11-01, 2022-03-01, 2022-08-01, 2022-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. func GetLogAnalyticExportRequestRateByInterval(ctx *pulumi.Context, args *GetLogAnalyticExportRequestRateByIntervalArgs, opts ...pulumi.InvokeOption) (*GetLogAnalyticExportRequestRateByIntervalResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetLogAnalyticExportRequestRateByIntervalResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportThrottledRequests.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportThrottledRequests.go index ef0c4d78d..9154d3764 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportThrottledRequests.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getLogAnalyticExportThrottledRequests.go @@ -14,7 +14,7 @@ import ( // Export logs that show total throttled Api requests for this subscription in the given time window. // Azure REST API version: 2023-03-01. // -// Other available API versions: 2017-12-01, 2018-04-01, 2018-06-01, 2018-10-01, 2019-03-01, 2019-07-01, 2019-12-01, 2020-06-01, 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01, 2021-11-01, 2022-03-01, 2022-08-01, 2022-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01, 2021-11-01, 2022-03-01, 2022-08-01, 2022-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. func GetLogAnalyticExportThrottledRequests(ctx *pulumi.Context, args *GetLogAnalyticExportThrottledRequestsArgs, opts ...pulumi.InvokeOption) (*GetLogAnalyticExportThrottledRequestsResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetLogAnalyticExportThrottledRequestsResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getProximityPlacementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getProximityPlacementGroup.go index d20367d50..1a4d57945 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getProximityPlacementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getProximityPlacementGroup.go @@ -14,7 +14,7 @@ import ( // Retrieves information about a proximity placement group . // Azure REST API version: 2023-03-01. // -// Other available API versions: 2019-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. func LookupProximityPlacementGroup(ctx *pulumi.Context, args *LookupProximityPlacementGroupArgs, opts ...pulumi.InvokeOption) (*LookupProximityPlacementGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupProximityPlacementGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getSnapshot.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getSnapshot.go index 708460255..5472b92fe 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getSnapshot.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getSnapshot.go @@ -14,7 +14,7 @@ import ( // Gets information about a snapshot. // Azure REST API version: 2022-07-02. // -// Other available API versions: 2016-04-30-preview, 2017-03-30, 2018-06-01, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. +// Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSnapshotResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSet.go index aeac865aa..db35db204 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSet.go @@ -14,7 +14,7 @@ import ( // Display information about a virtual machine scale set. // Azure REST API version: 2023-03-01. // -// Other available API versions: 2015-06-15, 2016-04-30-preview, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. func LookupVirtualMachineScaleSet(ctx *pulumi.Context, args *LookupVirtualMachineScaleSetArgs, opts ...pulumi.InvokeOption) (*LookupVirtualMachineScaleSetResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualMachineScaleSetResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSetVMExtension.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSetVMExtension.go index 2c7601c07..52c44cba5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSetVMExtension.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/getVirtualMachineScaleSetVMExtension.go @@ -14,7 +14,7 @@ import ( // The operation to get the VMSS VM extension. // Azure REST API version: 2023-03-01. // -// Other available API versions: 2019-12-01, 2021-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2021-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. func LookupVirtualMachineScaleSetVMExtension(ctx *pulumi.Context, args *LookupVirtualMachineScaleSetVMExtensionArgs, opts ...pulumi.InvokeOption) (*LookupVirtualMachineScaleSetVMExtensionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualMachineScaleSetVMExtensionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/init.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/init.go index a53d792e4..9509f7719 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/init.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/init.go @@ -51,6 +51,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GalleryImage{} case "azure-native:compute:GalleryImageVersion": r = &GalleryImageVersion{} + case "azure-native:compute:GalleryInVMAccessControlProfile": + r = &GalleryInVMAccessControlProfile{} + case "azure-native:compute:GalleryInVMAccessControlProfileVersion": + r = &GalleryInVMAccessControlProfileVersion{} case "azure-native:compute:Image": r = &Image{} case "azure-native:compute:ProximityPlacementGroup": diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/proximityPlacementGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/proximityPlacementGroup.go index c2869c0b1..358f1a094 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/proximityPlacementGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/proximityPlacementGroup.go @@ -15,7 +15,7 @@ import ( // Specifies information about the proximity placement group. // Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2020-12-01. // -// Other available API versions: 2019-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. type ProximityPlacementGroup struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumi-plugin.json index 3825324d5..634987edb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "azure-native", - "version": "2.64.2" + "version": "2.76.0" } diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiEnums.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiEnums.go index 2039aa303..22e51fc64 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiEnums.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiEnums.go @@ -10,6 +10,174 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'. +type AccessControlRulesMode string + +const ( + AccessControlRulesModeAudit = AccessControlRulesMode("Audit") + AccessControlRulesModeEnforce = AccessControlRulesMode("Enforce") + AccessControlRulesModeDisabled = AccessControlRulesMode("Disabled") +) + +func (AccessControlRulesMode) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesMode)(nil)).Elem() +} + +func (e AccessControlRulesMode) ToAccessControlRulesModeOutput() AccessControlRulesModeOutput { + return pulumi.ToOutput(e).(AccessControlRulesModeOutput) +} + +func (e AccessControlRulesMode) ToAccessControlRulesModeOutputWithContext(ctx context.Context) AccessControlRulesModeOutput { + return pulumi.ToOutputWithContext(ctx, e).(AccessControlRulesModeOutput) +} + +func (e AccessControlRulesMode) ToAccessControlRulesModePtrOutput() AccessControlRulesModePtrOutput { + return e.ToAccessControlRulesModePtrOutputWithContext(context.Background()) +} + +func (e AccessControlRulesMode) ToAccessControlRulesModePtrOutputWithContext(ctx context.Context) AccessControlRulesModePtrOutput { + return AccessControlRulesMode(e).ToAccessControlRulesModeOutputWithContext(ctx).ToAccessControlRulesModePtrOutputWithContext(ctx) +} + +func (e AccessControlRulesMode) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AccessControlRulesMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e AccessControlRulesMode) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e AccessControlRulesMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type AccessControlRulesModeOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesModeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesMode)(nil)).Elem() +} + +func (o AccessControlRulesModeOutput) ToAccessControlRulesModeOutput() AccessControlRulesModeOutput { + return o +} + +func (o AccessControlRulesModeOutput) ToAccessControlRulesModeOutputWithContext(ctx context.Context) AccessControlRulesModeOutput { + return o +} + +func (o AccessControlRulesModeOutput) ToAccessControlRulesModePtrOutput() AccessControlRulesModePtrOutput { + return o.ToAccessControlRulesModePtrOutputWithContext(context.Background()) +} + +func (o AccessControlRulesModeOutput) ToAccessControlRulesModePtrOutputWithContext(ctx context.Context) AccessControlRulesModePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AccessControlRulesMode) *AccessControlRulesMode { + return &v + }).(AccessControlRulesModePtrOutput) +} + +func (o AccessControlRulesModeOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o AccessControlRulesModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AccessControlRulesMode) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o AccessControlRulesModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AccessControlRulesModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e AccessControlRulesMode) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type AccessControlRulesModePtrOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesModePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AccessControlRulesMode)(nil)).Elem() +} + +func (o AccessControlRulesModePtrOutput) ToAccessControlRulesModePtrOutput() AccessControlRulesModePtrOutput { + return o +} + +func (o AccessControlRulesModePtrOutput) ToAccessControlRulesModePtrOutputWithContext(ctx context.Context) AccessControlRulesModePtrOutput { + return o +} + +func (o AccessControlRulesModePtrOutput) Elem() AccessControlRulesModeOutput { + return o.ApplyT(func(v *AccessControlRulesMode) AccessControlRulesMode { + if v != nil { + return *v + } + var ret AccessControlRulesMode + return ret + }).(AccessControlRulesModeOutput) +} + +func (o AccessControlRulesModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o AccessControlRulesModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *AccessControlRulesMode) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// AccessControlRulesModeInput is an input type that accepts values of the AccessControlRulesMode enum +// A concrete instance of `AccessControlRulesModeInput` can be one of the following: +// +// AccessControlRulesModeAudit +// AccessControlRulesModeEnforce +// AccessControlRulesModeDisabled +type AccessControlRulesModeInput interface { + pulumi.Input + + ToAccessControlRulesModeOutput() AccessControlRulesModeOutput + ToAccessControlRulesModeOutputWithContext(context.Context) AccessControlRulesModeOutput +} + +var accessControlRulesModePtrType = reflect.TypeOf((**AccessControlRulesMode)(nil)).Elem() + +type AccessControlRulesModePtrInput interface { + pulumi.Input + + ToAccessControlRulesModePtrOutput() AccessControlRulesModePtrOutput + ToAccessControlRulesModePtrOutputWithContext(context.Context) AccessControlRulesModePtrOutput +} + +type accessControlRulesModePtr string + +func AccessControlRulesModePtr(v string) AccessControlRulesModePtrInput { + return (*accessControlRulesModePtr)(&v) +} + +func (*accessControlRulesModePtr) ElementType() reflect.Type { + return accessControlRulesModePtrType +} + +func (in *accessControlRulesModePtr) ToAccessControlRulesModePtrOutput() AccessControlRulesModePtrOutput { + return pulumi.ToOutput(in).(AccessControlRulesModePtrOutput) +} + +func (in *accessControlRulesModePtr) ToAccessControlRulesModePtrOutputWithContext(ctx context.Context) AccessControlRulesModePtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(AccessControlRulesModePtrOutput) +} + // CPU architecture supported by an OS disk. type Architecture string @@ -853,6 +1021,7 @@ const ( ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk = ConfidentialVMEncryptionType("EncryptedVMGuestStateOnlyWithPmk") ConfidentialVMEncryptionTypeEncryptedWithPmk = ConfidentialVMEncryptionType("EncryptedWithPmk") ConfidentialVMEncryptionTypeEncryptedWithCmk = ConfidentialVMEncryptionType("EncryptedWithCmk") + ConfidentialVMEncryptionTypeNonPersistedTPM = ConfidentialVMEncryptionType("NonPersistedTPM") ) func (ConfidentialVMEncryptionType) ElementType() reflect.Type { @@ -980,6 +1149,7 @@ func (o ConfidentialVMEncryptionTypePtrOutput) ToStringPtrOutputWithContext(ctx // ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk // ConfidentialVMEncryptionTypeEncryptedWithPmk // ConfidentialVMEncryptionTypeEncryptedWithCmk +// ConfidentialVMEncryptionTypeNonPersistedTPM type ConfidentialVMEncryptionTypeInput interface { pulumi.Input @@ -4074,6 +4244,338 @@ func (in *encryptionTypePtr) ToEncryptionTypePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(EncryptionTypePtrOutput) } +// This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'. +type EndpointAccess string + +const ( + EndpointAccessAllow = EndpointAccess("Allow") + EndpointAccessDeny = EndpointAccess("Deny") +) + +func (EndpointAccess) ElementType() reflect.Type { + return reflect.TypeOf((*EndpointAccess)(nil)).Elem() +} + +func (e EndpointAccess) ToEndpointAccessOutput() EndpointAccessOutput { + return pulumi.ToOutput(e).(EndpointAccessOutput) +} + +func (e EndpointAccess) ToEndpointAccessOutputWithContext(ctx context.Context) EndpointAccessOutput { + return pulumi.ToOutputWithContext(ctx, e).(EndpointAccessOutput) +} + +func (e EndpointAccess) ToEndpointAccessPtrOutput() EndpointAccessPtrOutput { + return e.ToEndpointAccessPtrOutputWithContext(context.Background()) +} + +func (e EndpointAccess) ToEndpointAccessPtrOutputWithContext(ctx context.Context) EndpointAccessPtrOutput { + return EndpointAccess(e).ToEndpointAccessOutputWithContext(ctx).ToEndpointAccessPtrOutputWithContext(ctx) +} + +func (e EndpointAccess) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EndpointAccess) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EndpointAccess) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e EndpointAccess) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type EndpointAccessOutput struct{ *pulumi.OutputState } + +func (EndpointAccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EndpointAccess)(nil)).Elem() +} + +func (o EndpointAccessOutput) ToEndpointAccessOutput() EndpointAccessOutput { + return o +} + +func (o EndpointAccessOutput) ToEndpointAccessOutputWithContext(ctx context.Context) EndpointAccessOutput { + return o +} + +func (o EndpointAccessOutput) ToEndpointAccessPtrOutput() EndpointAccessPtrOutput { + return o.ToEndpointAccessPtrOutputWithContext(context.Background()) +} + +func (o EndpointAccessOutput) ToEndpointAccessPtrOutputWithContext(ctx context.Context) EndpointAccessPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EndpointAccess) *EndpointAccess { + return &v + }).(EndpointAccessPtrOutput) +} + +func (o EndpointAccessOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o EndpointAccessOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EndpointAccess) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o EndpointAccessOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EndpointAccessOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EndpointAccess) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type EndpointAccessPtrOutput struct{ *pulumi.OutputState } + +func (EndpointAccessPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EndpointAccess)(nil)).Elem() +} + +func (o EndpointAccessPtrOutput) ToEndpointAccessPtrOutput() EndpointAccessPtrOutput { + return o +} + +func (o EndpointAccessPtrOutput) ToEndpointAccessPtrOutputWithContext(ctx context.Context) EndpointAccessPtrOutput { + return o +} + +func (o EndpointAccessPtrOutput) Elem() EndpointAccessOutput { + return o.ApplyT(func(v *EndpointAccess) EndpointAccess { + if v != nil { + return *v + } + var ret EndpointAccess + return ret + }).(EndpointAccessOutput) +} + +func (o EndpointAccessPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EndpointAccessPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *EndpointAccess) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// EndpointAccessInput is an input type that accepts values of the EndpointAccess enum +// A concrete instance of `EndpointAccessInput` can be one of the following: +// +// EndpointAccessAllow +// EndpointAccessDeny +type EndpointAccessInput interface { + pulumi.Input + + ToEndpointAccessOutput() EndpointAccessOutput + ToEndpointAccessOutputWithContext(context.Context) EndpointAccessOutput +} + +var endpointAccessPtrType = reflect.TypeOf((**EndpointAccess)(nil)).Elem() + +type EndpointAccessPtrInput interface { + pulumi.Input + + ToEndpointAccessPtrOutput() EndpointAccessPtrOutput + ToEndpointAccessPtrOutputWithContext(context.Context) EndpointAccessPtrOutput +} + +type endpointAccessPtr string + +func EndpointAccessPtr(v string) EndpointAccessPtrInput { + return (*endpointAccessPtr)(&v) +} + +func (*endpointAccessPtr) ElementType() reflect.Type { + return endpointAccessPtrType +} + +func (in *endpointAccessPtr) ToEndpointAccessPtrOutput() EndpointAccessPtrOutput { + return pulumi.ToOutput(in).(EndpointAccessPtrOutput) +} + +func (in *endpointAccessPtr) ToEndpointAccessPtrOutputWithContext(ctx context.Context) EndpointAccessPtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(EndpointAccessPtrOutput) +} + +// This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' +type EndpointTypes string + +const ( + EndpointTypesWireServer = EndpointTypes("WireServer") + EndpointTypesIMDS = EndpointTypes("IMDS") +) + +func (EndpointTypes) ElementType() reflect.Type { + return reflect.TypeOf((*EndpointTypes)(nil)).Elem() +} + +func (e EndpointTypes) ToEndpointTypesOutput() EndpointTypesOutput { + return pulumi.ToOutput(e).(EndpointTypesOutput) +} + +func (e EndpointTypes) ToEndpointTypesOutputWithContext(ctx context.Context) EndpointTypesOutput { + return pulumi.ToOutputWithContext(ctx, e).(EndpointTypesOutput) +} + +func (e EndpointTypes) ToEndpointTypesPtrOutput() EndpointTypesPtrOutput { + return e.ToEndpointTypesPtrOutputWithContext(context.Background()) +} + +func (e EndpointTypes) ToEndpointTypesPtrOutputWithContext(ctx context.Context) EndpointTypesPtrOutput { + return EndpointTypes(e).ToEndpointTypesOutputWithContext(ctx).ToEndpointTypesPtrOutputWithContext(ctx) +} + +func (e EndpointTypes) ToStringOutput() pulumi.StringOutput { + return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EndpointTypes) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput) +} + +func (e EndpointTypes) ToStringPtrOutput() pulumi.StringPtrOutput { + return pulumi.String(e).ToStringPtrOutputWithContext(context.Background()) +} + +func (e EndpointTypes) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx) +} + +type EndpointTypesOutput struct{ *pulumi.OutputState } + +func (EndpointTypesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EndpointTypes)(nil)).Elem() +} + +func (o EndpointTypesOutput) ToEndpointTypesOutput() EndpointTypesOutput { + return o +} + +func (o EndpointTypesOutput) ToEndpointTypesOutputWithContext(ctx context.Context) EndpointTypesOutput { + return o +} + +func (o EndpointTypesOutput) ToEndpointTypesPtrOutput() EndpointTypesPtrOutput { + return o.ToEndpointTypesPtrOutputWithContext(context.Background()) +} + +func (o EndpointTypesOutput) ToEndpointTypesPtrOutputWithContext(ctx context.Context) EndpointTypesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EndpointTypes) *EndpointTypes { + return &v + }).(EndpointTypesPtrOutput) +} + +func (o EndpointTypesOutput) ToStringOutput() pulumi.StringOutput { + return o.ToStringOutputWithContext(context.Background()) +} + +func (o EndpointTypesOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EndpointTypes) string { + return string(e) + }).(pulumi.StringOutput) +} + +func (o EndpointTypesOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EndpointTypesOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e EndpointTypes) *string { + v := string(e) + return &v + }).(pulumi.StringPtrOutput) +} + +type EndpointTypesPtrOutput struct{ *pulumi.OutputState } + +func (EndpointTypesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EndpointTypes)(nil)).Elem() +} + +func (o EndpointTypesPtrOutput) ToEndpointTypesPtrOutput() EndpointTypesPtrOutput { + return o +} + +func (o EndpointTypesPtrOutput) ToEndpointTypesPtrOutputWithContext(ctx context.Context) EndpointTypesPtrOutput { + return o +} + +func (o EndpointTypesPtrOutput) Elem() EndpointTypesOutput { + return o.ApplyT(func(v *EndpointTypes) EndpointTypes { + if v != nil { + return *v + } + var ret EndpointTypes + return ret + }).(EndpointTypesOutput) +} + +func (o EndpointTypesPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput { + return o.ToStringPtrOutputWithContext(context.Background()) +} + +func (o EndpointTypesPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, e *EndpointTypes) *string { + if e == nil { + return nil + } + v := string(*e) + return &v + }).(pulumi.StringPtrOutput) +} + +// EndpointTypesInput is an input type that accepts values of the EndpointTypes enum +// A concrete instance of `EndpointTypesInput` can be one of the following: +// +// EndpointTypesWireServer +// EndpointTypesIMDS +type EndpointTypesInput interface { + pulumi.Input + + ToEndpointTypesOutput() EndpointTypesOutput + ToEndpointTypesOutputWithContext(context.Context) EndpointTypesOutput +} + +var endpointTypesPtrType = reflect.TypeOf((**EndpointTypes)(nil)).Elem() + +type EndpointTypesPtrInput interface { + pulumi.Input + + ToEndpointTypesPtrOutput() EndpointTypesPtrOutput + ToEndpointTypesPtrOutputWithContext(context.Context) EndpointTypesPtrOutput +} + +type endpointTypesPtr string + +func EndpointTypesPtr(v string) EndpointTypesPtrInput { + return (*endpointTypesPtr)(&v) +} + +func (*endpointTypesPtr) ElementType() reflect.Type { + return endpointTypesPtrType +} + +func (in *endpointTypesPtr) ToEndpointTypesPtrOutput() EndpointTypesPtrOutput { + return pulumi.ToOutput(in).(EndpointTypesPtrOutput) +} + +func (in *endpointTypesPtr) ToEndpointTypesPtrOutputWithContext(ctx context.Context) EndpointTypesPtrOutput { + return pulumi.ToOutputWithContext(ctx, in).(EndpointTypesPtrOutput) +} + // The type of the extended location. type ExtendedLocationTypes string @@ -9925,9 +10427,10 @@ func (in *statusLevelTypesPtr) ToStatusLevelTypesPtrOutputWithContext(ctx contex type StorageAccountType string const ( - StorageAccountType_Standard_LRS = StorageAccountType("Standard_LRS") - StorageAccountType_Standard_ZRS = StorageAccountType("Standard_ZRS") - StorageAccountType_Premium_LRS = StorageAccountType("Premium_LRS") + StorageAccountType_Standard_LRS = StorageAccountType("Standard_LRS") + StorageAccountType_Standard_ZRS = StorageAccountType("Standard_ZRS") + StorageAccountType_Premium_LRS = StorageAccountType("Premium_LRS") + StorageAccountType_PremiumV2_LRS = StorageAccountType("PremiumV2_LRS") ) func (StorageAccountType) ElementType() reflect.Type { @@ -10055,6 +10558,7 @@ func (o StorageAccountTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Co // StorageAccountType_Standard_LRS // StorageAccountType_Standard_ZRS // StorageAccountType_Premium_LRS +// StorageAccountType_PremiumV2_LRS type StorageAccountTypeInput interface { pulumi.Input @@ -11933,6 +12437,8 @@ func (in *windowsVMGuestPatchModePtr) ToWindowsVMGuestPatchModePtrOutputWithCont } func init() { + pulumi.RegisterOutputType(AccessControlRulesModeOutput{}) + pulumi.RegisterOutputType(AccessControlRulesModePtrOutput{}) pulumi.RegisterOutputType(ArchitectureOutput{}) pulumi.RegisterOutputType(ArchitecturePtrOutput{}) pulumi.RegisterOutputType(CachingTypesOutput{}) @@ -11981,6 +12487,10 @@ func init() { pulumi.RegisterOutputType(EdgeZoneStorageAccountTypePtrOutput{}) pulumi.RegisterOutputType(EncryptionTypeOutput{}) pulumi.RegisterOutputType(EncryptionTypePtrOutput{}) + pulumi.RegisterOutputType(EndpointAccessOutput{}) + pulumi.RegisterOutputType(EndpointAccessPtrOutput{}) + pulumi.RegisterOutputType(EndpointTypesOutput{}) + pulumi.RegisterOutputType(EndpointTypesPtrOutput{}) pulumi.RegisterOutputType(ExtendedLocationTypesOutput{}) pulumi.RegisterOutputType(ExtendedLocationTypesPtrOutput{}) pulumi.RegisterOutputType(GalleryApplicationCustomActionParameterTypeOutput{}) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiTypes.go index 0a8f63f52..8338e94dc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/pulumiTypes.go @@ -13,6 +13,1028 @@ import ( var _ = utilities.GetEnvOrDefault +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +type AccessControlRules struct { + // A list of identities. + Identities []AccessControlRulesIdentity `pulumi:"identities"` + // A list of privileges. + Privileges []AccessControlRulesPrivilege `pulumi:"privileges"` + // A list of role assignments. + RoleAssignments []AccessControlRulesRoleAssignment `pulumi:"roleAssignments"` + // A list of roles. + Roles []AccessControlRulesRole `pulumi:"roles"` +} + +// AccessControlRulesInput is an input type that accepts AccessControlRulesArgs and AccessControlRulesOutput values. +// You can construct a concrete instance of `AccessControlRulesInput` via: +// +// AccessControlRulesArgs{...} +type AccessControlRulesInput interface { + pulumi.Input + + ToAccessControlRulesOutput() AccessControlRulesOutput + ToAccessControlRulesOutputWithContext(context.Context) AccessControlRulesOutput +} + +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +type AccessControlRulesArgs struct { + // A list of identities. + Identities AccessControlRulesIdentityArrayInput `pulumi:"identities"` + // A list of privileges. + Privileges AccessControlRulesPrivilegeArrayInput `pulumi:"privileges"` + // A list of role assignments. + RoleAssignments AccessControlRulesRoleAssignmentArrayInput `pulumi:"roleAssignments"` + // A list of roles. + Roles AccessControlRulesRoleArrayInput `pulumi:"roles"` +} + +func (AccessControlRulesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRules)(nil)).Elem() +} + +func (i AccessControlRulesArgs) ToAccessControlRulesOutput() AccessControlRulesOutput { + return i.ToAccessControlRulesOutputWithContext(context.Background()) +} + +func (i AccessControlRulesArgs) ToAccessControlRulesOutputWithContext(ctx context.Context) AccessControlRulesOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesOutput) +} + +func (i AccessControlRulesArgs) ToAccessControlRulesPtrOutput() AccessControlRulesPtrOutput { + return i.ToAccessControlRulesPtrOutputWithContext(context.Background()) +} + +func (i AccessControlRulesArgs) ToAccessControlRulesPtrOutputWithContext(ctx context.Context) AccessControlRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesOutput).ToAccessControlRulesPtrOutputWithContext(ctx) +} + +// AccessControlRulesPtrInput is an input type that accepts AccessControlRulesArgs, AccessControlRulesPtr and AccessControlRulesPtrOutput values. +// You can construct a concrete instance of `AccessControlRulesPtrInput` via: +// +// AccessControlRulesArgs{...} +// +// or: +// +// nil +type AccessControlRulesPtrInput interface { + pulumi.Input + + ToAccessControlRulesPtrOutput() AccessControlRulesPtrOutput + ToAccessControlRulesPtrOutputWithContext(context.Context) AccessControlRulesPtrOutput +} + +type accessControlRulesPtrType AccessControlRulesArgs + +func AccessControlRulesPtr(v *AccessControlRulesArgs) AccessControlRulesPtrInput { + return (*accessControlRulesPtrType)(v) +} + +func (*accessControlRulesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AccessControlRules)(nil)).Elem() +} + +func (i *accessControlRulesPtrType) ToAccessControlRulesPtrOutput() AccessControlRulesPtrOutput { + return i.ToAccessControlRulesPtrOutputWithContext(context.Background()) +} + +func (i *accessControlRulesPtrType) ToAccessControlRulesPtrOutputWithContext(ctx context.Context) AccessControlRulesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesPtrOutput) +} + +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +type AccessControlRulesOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRules)(nil)).Elem() +} + +func (o AccessControlRulesOutput) ToAccessControlRulesOutput() AccessControlRulesOutput { + return o +} + +func (o AccessControlRulesOutput) ToAccessControlRulesOutputWithContext(ctx context.Context) AccessControlRulesOutput { + return o +} + +func (o AccessControlRulesOutput) ToAccessControlRulesPtrOutput() AccessControlRulesPtrOutput { + return o.ToAccessControlRulesPtrOutputWithContext(context.Background()) +} + +func (o AccessControlRulesOutput) ToAccessControlRulesPtrOutputWithContext(ctx context.Context) AccessControlRulesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AccessControlRules) *AccessControlRules { + return &v + }).(AccessControlRulesPtrOutput) +} + +// A list of identities. +func (o AccessControlRulesOutput) Identities() AccessControlRulesIdentityArrayOutput { + return o.ApplyT(func(v AccessControlRules) []AccessControlRulesIdentity { return v.Identities }).(AccessControlRulesIdentityArrayOutput) +} + +// A list of privileges. +func (o AccessControlRulesOutput) Privileges() AccessControlRulesPrivilegeArrayOutput { + return o.ApplyT(func(v AccessControlRules) []AccessControlRulesPrivilege { return v.Privileges }).(AccessControlRulesPrivilegeArrayOutput) +} + +// A list of role assignments. +func (o AccessControlRulesOutput) RoleAssignments() AccessControlRulesRoleAssignmentArrayOutput { + return o.ApplyT(func(v AccessControlRules) []AccessControlRulesRoleAssignment { return v.RoleAssignments }).(AccessControlRulesRoleAssignmentArrayOutput) +} + +// A list of roles. +func (o AccessControlRulesOutput) Roles() AccessControlRulesRoleArrayOutput { + return o.ApplyT(func(v AccessControlRules) []AccessControlRulesRole { return v.Roles }).(AccessControlRulesRoleArrayOutput) +} + +type AccessControlRulesPtrOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AccessControlRules)(nil)).Elem() +} + +func (o AccessControlRulesPtrOutput) ToAccessControlRulesPtrOutput() AccessControlRulesPtrOutput { + return o +} + +func (o AccessControlRulesPtrOutput) ToAccessControlRulesPtrOutputWithContext(ctx context.Context) AccessControlRulesPtrOutput { + return o +} + +func (o AccessControlRulesPtrOutput) Elem() AccessControlRulesOutput { + return o.ApplyT(func(v *AccessControlRules) AccessControlRules { + if v != nil { + return *v + } + var ret AccessControlRules + return ret + }).(AccessControlRulesOutput) +} + +// A list of identities. +func (o AccessControlRulesPtrOutput) Identities() AccessControlRulesIdentityArrayOutput { + return o.ApplyT(func(v *AccessControlRules) []AccessControlRulesIdentity { + if v == nil { + return nil + } + return v.Identities + }).(AccessControlRulesIdentityArrayOutput) +} + +// A list of privileges. +func (o AccessControlRulesPtrOutput) Privileges() AccessControlRulesPrivilegeArrayOutput { + return o.ApplyT(func(v *AccessControlRules) []AccessControlRulesPrivilege { + if v == nil { + return nil + } + return v.Privileges + }).(AccessControlRulesPrivilegeArrayOutput) +} + +// A list of role assignments. +func (o AccessControlRulesPtrOutput) RoleAssignments() AccessControlRulesRoleAssignmentArrayOutput { + return o.ApplyT(func(v *AccessControlRules) []AccessControlRulesRoleAssignment { + if v == nil { + return nil + } + return v.RoleAssignments + }).(AccessControlRulesRoleAssignmentArrayOutput) +} + +// A list of roles. +func (o AccessControlRulesPtrOutput) Roles() AccessControlRulesRoleArrayOutput { + return o.ApplyT(func(v *AccessControlRules) []AccessControlRulesRole { + if v == nil { + return nil + } + return v.Roles + }).(AccessControlRulesRoleArrayOutput) +} + +// The properties of an Access Control Rule Identity. +type AccessControlRulesIdentity struct { + // The path to the executable. + ExePath *string `pulumi:"exePath"` + // The groupName corresponding to this identity. + GroupName *string `pulumi:"groupName"` + // The name of the identity. + Name string `pulumi:"name"` + // The process name of the executable. + ProcessName *string `pulumi:"processName"` + // The username corresponding to this identity. + UserName *string `pulumi:"userName"` +} + +// AccessControlRulesIdentityInput is an input type that accepts AccessControlRulesIdentityArgs and AccessControlRulesIdentityOutput values. +// You can construct a concrete instance of `AccessControlRulesIdentityInput` via: +// +// AccessControlRulesIdentityArgs{...} +type AccessControlRulesIdentityInput interface { + pulumi.Input + + ToAccessControlRulesIdentityOutput() AccessControlRulesIdentityOutput + ToAccessControlRulesIdentityOutputWithContext(context.Context) AccessControlRulesIdentityOutput +} + +// The properties of an Access Control Rule Identity. +type AccessControlRulesIdentityArgs struct { + // The path to the executable. + ExePath pulumi.StringPtrInput `pulumi:"exePath"` + // The groupName corresponding to this identity. + GroupName pulumi.StringPtrInput `pulumi:"groupName"` + // The name of the identity. + Name pulumi.StringInput `pulumi:"name"` + // The process name of the executable. + ProcessName pulumi.StringPtrInput `pulumi:"processName"` + // The username corresponding to this identity. + UserName pulumi.StringPtrInput `pulumi:"userName"` +} + +func (AccessControlRulesIdentityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesIdentity)(nil)).Elem() +} + +func (i AccessControlRulesIdentityArgs) ToAccessControlRulesIdentityOutput() AccessControlRulesIdentityOutput { + return i.ToAccessControlRulesIdentityOutputWithContext(context.Background()) +} + +func (i AccessControlRulesIdentityArgs) ToAccessControlRulesIdentityOutputWithContext(ctx context.Context) AccessControlRulesIdentityOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesIdentityOutput) +} + +// AccessControlRulesIdentityArrayInput is an input type that accepts AccessControlRulesIdentityArray and AccessControlRulesIdentityArrayOutput values. +// You can construct a concrete instance of `AccessControlRulesIdentityArrayInput` via: +// +// AccessControlRulesIdentityArray{ AccessControlRulesIdentityArgs{...} } +type AccessControlRulesIdentityArrayInput interface { + pulumi.Input + + ToAccessControlRulesIdentityArrayOutput() AccessControlRulesIdentityArrayOutput + ToAccessControlRulesIdentityArrayOutputWithContext(context.Context) AccessControlRulesIdentityArrayOutput +} + +type AccessControlRulesIdentityArray []AccessControlRulesIdentityInput + +func (AccessControlRulesIdentityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesIdentity)(nil)).Elem() +} + +func (i AccessControlRulesIdentityArray) ToAccessControlRulesIdentityArrayOutput() AccessControlRulesIdentityArrayOutput { + return i.ToAccessControlRulesIdentityArrayOutputWithContext(context.Background()) +} + +func (i AccessControlRulesIdentityArray) ToAccessControlRulesIdentityArrayOutputWithContext(ctx context.Context) AccessControlRulesIdentityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesIdentityArrayOutput) +} + +// The properties of an Access Control Rule Identity. +type AccessControlRulesIdentityOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesIdentityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesIdentity)(nil)).Elem() +} + +func (o AccessControlRulesIdentityOutput) ToAccessControlRulesIdentityOutput() AccessControlRulesIdentityOutput { + return o +} + +func (o AccessControlRulesIdentityOutput) ToAccessControlRulesIdentityOutputWithContext(ctx context.Context) AccessControlRulesIdentityOutput { + return o +} + +// The path to the executable. +func (o AccessControlRulesIdentityOutput) ExePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentity) *string { return v.ExePath }).(pulumi.StringPtrOutput) +} + +// The groupName corresponding to this identity. +func (o AccessControlRulesIdentityOutput) GroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentity) *string { return v.GroupName }).(pulumi.StringPtrOutput) +} + +// The name of the identity. +func (o AccessControlRulesIdentityOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesIdentity) string { return v.Name }).(pulumi.StringOutput) +} + +// The process name of the executable. +func (o AccessControlRulesIdentityOutput) ProcessName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentity) *string { return v.ProcessName }).(pulumi.StringPtrOutput) +} + +// The username corresponding to this identity. +func (o AccessControlRulesIdentityOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentity) *string { return v.UserName }).(pulumi.StringPtrOutput) +} + +type AccessControlRulesIdentityArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesIdentityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesIdentity)(nil)).Elem() +} + +func (o AccessControlRulesIdentityArrayOutput) ToAccessControlRulesIdentityArrayOutput() AccessControlRulesIdentityArrayOutput { + return o +} + +func (o AccessControlRulesIdentityArrayOutput) ToAccessControlRulesIdentityArrayOutputWithContext(ctx context.Context) AccessControlRulesIdentityArrayOutput { + return o +} + +func (o AccessControlRulesIdentityArrayOutput) Index(i pulumi.IntInput) AccessControlRulesIdentityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesIdentity { + return vs[0].([]AccessControlRulesIdentity)[vs[1].(int)] + }).(AccessControlRulesIdentityOutput) +} + +// The properties of an Access Control Rule Identity. +type AccessControlRulesIdentityResponse struct { + // The path to the executable. + ExePath *string `pulumi:"exePath"` + // The groupName corresponding to this identity. + GroupName *string `pulumi:"groupName"` + // The name of the identity. + Name string `pulumi:"name"` + // The process name of the executable. + ProcessName *string `pulumi:"processName"` + // The username corresponding to this identity. + UserName *string `pulumi:"userName"` +} + +// The properties of an Access Control Rule Identity. +type AccessControlRulesIdentityResponseOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesIdentityResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesIdentityResponse)(nil)).Elem() +} + +func (o AccessControlRulesIdentityResponseOutput) ToAccessControlRulesIdentityResponseOutput() AccessControlRulesIdentityResponseOutput { + return o +} + +func (o AccessControlRulesIdentityResponseOutput) ToAccessControlRulesIdentityResponseOutputWithContext(ctx context.Context) AccessControlRulesIdentityResponseOutput { + return o +} + +// The path to the executable. +func (o AccessControlRulesIdentityResponseOutput) ExePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentityResponse) *string { return v.ExePath }).(pulumi.StringPtrOutput) +} + +// The groupName corresponding to this identity. +func (o AccessControlRulesIdentityResponseOutput) GroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentityResponse) *string { return v.GroupName }).(pulumi.StringPtrOutput) +} + +// The name of the identity. +func (o AccessControlRulesIdentityResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesIdentityResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The process name of the executable. +func (o AccessControlRulesIdentityResponseOutput) ProcessName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentityResponse) *string { return v.ProcessName }).(pulumi.StringPtrOutput) +} + +// The username corresponding to this identity. +func (o AccessControlRulesIdentityResponseOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AccessControlRulesIdentityResponse) *string { return v.UserName }).(pulumi.StringPtrOutput) +} + +type AccessControlRulesIdentityResponseArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesIdentityResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesIdentityResponse)(nil)).Elem() +} + +func (o AccessControlRulesIdentityResponseArrayOutput) ToAccessControlRulesIdentityResponseArrayOutput() AccessControlRulesIdentityResponseArrayOutput { + return o +} + +func (o AccessControlRulesIdentityResponseArrayOutput) ToAccessControlRulesIdentityResponseArrayOutputWithContext(ctx context.Context) AccessControlRulesIdentityResponseArrayOutput { + return o +} + +func (o AccessControlRulesIdentityResponseArrayOutput) Index(i pulumi.IntInput) AccessControlRulesIdentityResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesIdentityResponse { + return vs[0].([]AccessControlRulesIdentityResponse)[vs[1].(int)] + }).(AccessControlRulesIdentityResponseOutput) +} + +// The properties of an Access Control Rule Privilege. +type AccessControlRulesPrivilege struct { + // The name of the privilege. + Name string `pulumi:"name"` + // The HTTP path corresponding to the privilege. + Path string `pulumi:"path"` + // The query parameters to match in the path. + QueryParameters map[string]string `pulumi:"queryParameters"` +} + +// AccessControlRulesPrivilegeInput is an input type that accepts AccessControlRulesPrivilegeArgs and AccessControlRulesPrivilegeOutput values. +// You can construct a concrete instance of `AccessControlRulesPrivilegeInput` via: +// +// AccessControlRulesPrivilegeArgs{...} +type AccessControlRulesPrivilegeInput interface { + pulumi.Input + + ToAccessControlRulesPrivilegeOutput() AccessControlRulesPrivilegeOutput + ToAccessControlRulesPrivilegeOutputWithContext(context.Context) AccessControlRulesPrivilegeOutput +} + +// The properties of an Access Control Rule Privilege. +type AccessControlRulesPrivilegeArgs struct { + // The name of the privilege. + Name pulumi.StringInput `pulumi:"name"` + // The HTTP path corresponding to the privilege. + Path pulumi.StringInput `pulumi:"path"` + // The query parameters to match in the path. + QueryParameters pulumi.StringMapInput `pulumi:"queryParameters"` +} + +func (AccessControlRulesPrivilegeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesPrivilege)(nil)).Elem() +} + +func (i AccessControlRulesPrivilegeArgs) ToAccessControlRulesPrivilegeOutput() AccessControlRulesPrivilegeOutput { + return i.ToAccessControlRulesPrivilegeOutputWithContext(context.Background()) +} + +func (i AccessControlRulesPrivilegeArgs) ToAccessControlRulesPrivilegeOutputWithContext(ctx context.Context) AccessControlRulesPrivilegeOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesPrivilegeOutput) +} + +// AccessControlRulesPrivilegeArrayInput is an input type that accepts AccessControlRulesPrivilegeArray and AccessControlRulesPrivilegeArrayOutput values. +// You can construct a concrete instance of `AccessControlRulesPrivilegeArrayInput` via: +// +// AccessControlRulesPrivilegeArray{ AccessControlRulesPrivilegeArgs{...} } +type AccessControlRulesPrivilegeArrayInput interface { + pulumi.Input + + ToAccessControlRulesPrivilegeArrayOutput() AccessControlRulesPrivilegeArrayOutput + ToAccessControlRulesPrivilegeArrayOutputWithContext(context.Context) AccessControlRulesPrivilegeArrayOutput +} + +type AccessControlRulesPrivilegeArray []AccessControlRulesPrivilegeInput + +func (AccessControlRulesPrivilegeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesPrivilege)(nil)).Elem() +} + +func (i AccessControlRulesPrivilegeArray) ToAccessControlRulesPrivilegeArrayOutput() AccessControlRulesPrivilegeArrayOutput { + return i.ToAccessControlRulesPrivilegeArrayOutputWithContext(context.Background()) +} + +func (i AccessControlRulesPrivilegeArray) ToAccessControlRulesPrivilegeArrayOutputWithContext(ctx context.Context) AccessControlRulesPrivilegeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesPrivilegeArrayOutput) +} + +// The properties of an Access Control Rule Privilege. +type AccessControlRulesPrivilegeOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesPrivilegeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesPrivilege)(nil)).Elem() +} + +func (o AccessControlRulesPrivilegeOutput) ToAccessControlRulesPrivilegeOutput() AccessControlRulesPrivilegeOutput { + return o +} + +func (o AccessControlRulesPrivilegeOutput) ToAccessControlRulesPrivilegeOutputWithContext(ctx context.Context) AccessControlRulesPrivilegeOutput { + return o +} + +// The name of the privilege. +func (o AccessControlRulesPrivilegeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesPrivilege) string { return v.Name }).(pulumi.StringOutput) +} + +// The HTTP path corresponding to the privilege. +func (o AccessControlRulesPrivilegeOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesPrivilege) string { return v.Path }).(pulumi.StringOutput) +} + +// The query parameters to match in the path. +func (o AccessControlRulesPrivilegeOutput) QueryParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v AccessControlRulesPrivilege) map[string]string { return v.QueryParameters }).(pulumi.StringMapOutput) +} + +type AccessControlRulesPrivilegeArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesPrivilegeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesPrivilege)(nil)).Elem() +} + +func (o AccessControlRulesPrivilegeArrayOutput) ToAccessControlRulesPrivilegeArrayOutput() AccessControlRulesPrivilegeArrayOutput { + return o +} + +func (o AccessControlRulesPrivilegeArrayOutput) ToAccessControlRulesPrivilegeArrayOutputWithContext(ctx context.Context) AccessControlRulesPrivilegeArrayOutput { + return o +} + +func (o AccessControlRulesPrivilegeArrayOutput) Index(i pulumi.IntInput) AccessControlRulesPrivilegeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesPrivilege { + return vs[0].([]AccessControlRulesPrivilege)[vs[1].(int)] + }).(AccessControlRulesPrivilegeOutput) +} + +// The properties of an Access Control Rule Privilege. +type AccessControlRulesPrivilegeResponse struct { + // The name of the privilege. + Name string `pulumi:"name"` + // The HTTP path corresponding to the privilege. + Path string `pulumi:"path"` + // The query parameters to match in the path. + QueryParameters map[string]string `pulumi:"queryParameters"` +} + +// The properties of an Access Control Rule Privilege. +type AccessControlRulesPrivilegeResponseOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesPrivilegeResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesPrivilegeResponse)(nil)).Elem() +} + +func (o AccessControlRulesPrivilegeResponseOutput) ToAccessControlRulesPrivilegeResponseOutput() AccessControlRulesPrivilegeResponseOutput { + return o +} + +func (o AccessControlRulesPrivilegeResponseOutput) ToAccessControlRulesPrivilegeResponseOutputWithContext(ctx context.Context) AccessControlRulesPrivilegeResponseOutput { + return o +} + +// The name of the privilege. +func (o AccessControlRulesPrivilegeResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesPrivilegeResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// The HTTP path corresponding to the privilege. +func (o AccessControlRulesPrivilegeResponseOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesPrivilegeResponse) string { return v.Path }).(pulumi.StringOutput) +} + +// The query parameters to match in the path. +func (o AccessControlRulesPrivilegeResponseOutput) QueryParameters() pulumi.StringMapOutput { + return o.ApplyT(func(v AccessControlRulesPrivilegeResponse) map[string]string { return v.QueryParameters }).(pulumi.StringMapOutput) +} + +type AccessControlRulesPrivilegeResponseArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesPrivilegeResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesPrivilegeResponse)(nil)).Elem() +} + +func (o AccessControlRulesPrivilegeResponseArrayOutput) ToAccessControlRulesPrivilegeResponseArrayOutput() AccessControlRulesPrivilegeResponseArrayOutput { + return o +} + +func (o AccessControlRulesPrivilegeResponseArrayOutput) ToAccessControlRulesPrivilegeResponseArrayOutputWithContext(ctx context.Context) AccessControlRulesPrivilegeResponseArrayOutput { + return o +} + +func (o AccessControlRulesPrivilegeResponseArrayOutput) Index(i pulumi.IntInput) AccessControlRulesPrivilegeResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesPrivilegeResponse { + return vs[0].([]AccessControlRulesPrivilegeResponse)[vs[1].(int)] + }).(AccessControlRulesPrivilegeResponseOutput) +} + +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +type AccessControlRulesResponse struct { + // A list of identities. + Identities []AccessControlRulesIdentityResponse `pulumi:"identities"` + // A list of privileges. + Privileges []AccessControlRulesPrivilegeResponse `pulumi:"privileges"` + // A list of role assignments. + RoleAssignments []AccessControlRulesRoleAssignmentResponse `pulumi:"roleAssignments"` + // A list of roles. + Roles []AccessControlRulesRoleResponse `pulumi:"roles"` +} + +// This is the Access Control Rules specification for an inVMAccessControlProfile version. +type AccessControlRulesResponseOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesResponse)(nil)).Elem() +} + +func (o AccessControlRulesResponseOutput) ToAccessControlRulesResponseOutput() AccessControlRulesResponseOutput { + return o +} + +func (o AccessControlRulesResponseOutput) ToAccessControlRulesResponseOutputWithContext(ctx context.Context) AccessControlRulesResponseOutput { + return o +} + +// A list of identities. +func (o AccessControlRulesResponseOutput) Identities() AccessControlRulesIdentityResponseArrayOutput { + return o.ApplyT(func(v AccessControlRulesResponse) []AccessControlRulesIdentityResponse { return v.Identities }).(AccessControlRulesIdentityResponseArrayOutput) +} + +// A list of privileges. +func (o AccessControlRulesResponseOutput) Privileges() AccessControlRulesPrivilegeResponseArrayOutput { + return o.ApplyT(func(v AccessControlRulesResponse) []AccessControlRulesPrivilegeResponse { return v.Privileges }).(AccessControlRulesPrivilegeResponseArrayOutput) +} + +// A list of role assignments. +func (o AccessControlRulesResponseOutput) RoleAssignments() AccessControlRulesRoleAssignmentResponseArrayOutput { + return o.ApplyT(func(v AccessControlRulesResponse) []AccessControlRulesRoleAssignmentResponse { + return v.RoleAssignments + }).(AccessControlRulesRoleAssignmentResponseArrayOutput) +} + +// A list of roles. +func (o AccessControlRulesResponseOutput) Roles() AccessControlRulesRoleResponseArrayOutput { + return o.ApplyT(func(v AccessControlRulesResponse) []AccessControlRulesRoleResponse { return v.Roles }).(AccessControlRulesRoleResponseArrayOutput) +} + +type AccessControlRulesResponsePtrOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesResponsePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AccessControlRulesResponse)(nil)).Elem() +} + +func (o AccessControlRulesResponsePtrOutput) ToAccessControlRulesResponsePtrOutput() AccessControlRulesResponsePtrOutput { + return o +} + +func (o AccessControlRulesResponsePtrOutput) ToAccessControlRulesResponsePtrOutputWithContext(ctx context.Context) AccessControlRulesResponsePtrOutput { + return o +} + +func (o AccessControlRulesResponsePtrOutput) Elem() AccessControlRulesResponseOutput { + return o.ApplyT(func(v *AccessControlRulesResponse) AccessControlRulesResponse { + if v != nil { + return *v + } + var ret AccessControlRulesResponse + return ret + }).(AccessControlRulesResponseOutput) +} + +// A list of identities. +func (o AccessControlRulesResponsePtrOutput) Identities() AccessControlRulesIdentityResponseArrayOutput { + return o.ApplyT(func(v *AccessControlRulesResponse) []AccessControlRulesIdentityResponse { + if v == nil { + return nil + } + return v.Identities + }).(AccessControlRulesIdentityResponseArrayOutput) +} + +// A list of privileges. +func (o AccessControlRulesResponsePtrOutput) Privileges() AccessControlRulesPrivilegeResponseArrayOutput { + return o.ApplyT(func(v *AccessControlRulesResponse) []AccessControlRulesPrivilegeResponse { + if v == nil { + return nil + } + return v.Privileges + }).(AccessControlRulesPrivilegeResponseArrayOutput) +} + +// A list of role assignments. +func (o AccessControlRulesResponsePtrOutput) RoleAssignments() AccessControlRulesRoleAssignmentResponseArrayOutput { + return o.ApplyT(func(v *AccessControlRulesResponse) []AccessControlRulesRoleAssignmentResponse { + if v == nil { + return nil + } + return v.RoleAssignments + }).(AccessControlRulesRoleAssignmentResponseArrayOutput) +} + +// A list of roles. +func (o AccessControlRulesResponsePtrOutput) Roles() AccessControlRulesRoleResponseArrayOutput { + return o.ApplyT(func(v *AccessControlRulesResponse) []AccessControlRulesRoleResponse { + if v == nil { + return nil + } + return v.Roles + }).(AccessControlRulesRoleResponseArrayOutput) +} + +// The properties of an Access Control Rule Role. +type AccessControlRulesRole struct { + // The name of the role. + Name string `pulumi:"name"` + // A list of privileges needed by this role. + Privileges []string `pulumi:"privileges"` +} + +// AccessControlRulesRoleInput is an input type that accepts AccessControlRulesRoleArgs and AccessControlRulesRoleOutput values. +// You can construct a concrete instance of `AccessControlRulesRoleInput` via: +// +// AccessControlRulesRoleArgs{...} +type AccessControlRulesRoleInput interface { + pulumi.Input + + ToAccessControlRulesRoleOutput() AccessControlRulesRoleOutput + ToAccessControlRulesRoleOutputWithContext(context.Context) AccessControlRulesRoleOutput +} + +// The properties of an Access Control Rule Role. +type AccessControlRulesRoleArgs struct { + // The name of the role. + Name pulumi.StringInput `pulumi:"name"` + // A list of privileges needed by this role. + Privileges pulumi.StringArrayInput `pulumi:"privileges"` +} + +func (AccessControlRulesRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesRole)(nil)).Elem() +} + +func (i AccessControlRulesRoleArgs) ToAccessControlRulesRoleOutput() AccessControlRulesRoleOutput { + return i.ToAccessControlRulesRoleOutputWithContext(context.Background()) +} + +func (i AccessControlRulesRoleArgs) ToAccessControlRulesRoleOutputWithContext(ctx context.Context) AccessControlRulesRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesRoleOutput) +} + +// AccessControlRulesRoleArrayInput is an input type that accepts AccessControlRulesRoleArray and AccessControlRulesRoleArrayOutput values. +// You can construct a concrete instance of `AccessControlRulesRoleArrayInput` via: +// +// AccessControlRulesRoleArray{ AccessControlRulesRoleArgs{...} } +type AccessControlRulesRoleArrayInput interface { + pulumi.Input + + ToAccessControlRulesRoleArrayOutput() AccessControlRulesRoleArrayOutput + ToAccessControlRulesRoleArrayOutputWithContext(context.Context) AccessControlRulesRoleArrayOutput +} + +type AccessControlRulesRoleArray []AccessControlRulesRoleInput + +func (AccessControlRulesRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesRole)(nil)).Elem() +} + +func (i AccessControlRulesRoleArray) ToAccessControlRulesRoleArrayOutput() AccessControlRulesRoleArrayOutput { + return i.ToAccessControlRulesRoleArrayOutputWithContext(context.Background()) +} + +func (i AccessControlRulesRoleArray) ToAccessControlRulesRoleArrayOutputWithContext(ctx context.Context) AccessControlRulesRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesRoleArrayOutput) +} + +// The properties of an Access Control Rule Role. +type AccessControlRulesRoleOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesRole)(nil)).Elem() +} + +func (o AccessControlRulesRoleOutput) ToAccessControlRulesRoleOutput() AccessControlRulesRoleOutput { + return o +} + +func (o AccessControlRulesRoleOutput) ToAccessControlRulesRoleOutputWithContext(ctx context.Context) AccessControlRulesRoleOutput { + return o +} + +// The name of the role. +func (o AccessControlRulesRoleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesRole) string { return v.Name }).(pulumi.StringOutput) +} + +// A list of privileges needed by this role. +func (o AccessControlRulesRoleOutput) Privileges() pulumi.StringArrayOutput { + return o.ApplyT(func(v AccessControlRulesRole) []string { return v.Privileges }).(pulumi.StringArrayOutput) +} + +type AccessControlRulesRoleArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesRole)(nil)).Elem() +} + +func (o AccessControlRulesRoleArrayOutput) ToAccessControlRulesRoleArrayOutput() AccessControlRulesRoleArrayOutput { + return o +} + +func (o AccessControlRulesRoleArrayOutput) ToAccessControlRulesRoleArrayOutputWithContext(ctx context.Context) AccessControlRulesRoleArrayOutput { + return o +} + +func (o AccessControlRulesRoleArrayOutput) Index(i pulumi.IntInput) AccessControlRulesRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesRole { + return vs[0].([]AccessControlRulesRole)[vs[1].(int)] + }).(AccessControlRulesRoleOutput) +} + +// The properties of an Access Control Rule RoleAssignment. +type AccessControlRulesRoleAssignment struct { + // A list of identities that can access the privileges defined by the role. + Identities []string `pulumi:"identities"` + // The name of the role. + Role string `pulumi:"role"` +} + +// AccessControlRulesRoleAssignmentInput is an input type that accepts AccessControlRulesRoleAssignmentArgs and AccessControlRulesRoleAssignmentOutput values. +// You can construct a concrete instance of `AccessControlRulesRoleAssignmentInput` via: +// +// AccessControlRulesRoleAssignmentArgs{...} +type AccessControlRulesRoleAssignmentInput interface { + pulumi.Input + + ToAccessControlRulesRoleAssignmentOutput() AccessControlRulesRoleAssignmentOutput + ToAccessControlRulesRoleAssignmentOutputWithContext(context.Context) AccessControlRulesRoleAssignmentOutput +} + +// The properties of an Access Control Rule RoleAssignment. +type AccessControlRulesRoleAssignmentArgs struct { + // A list of identities that can access the privileges defined by the role. + Identities pulumi.StringArrayInput `pulumi:"identities"` + // The name of the role. + Role pulumi.StringInput `pulumi:"role"` +} + +func (AccessControlRulesRoleAssignmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesRoleAssignment)(nil)).Elem() +} + +func (i AccessControlRulesRoleAssignmentArgs) ToAccessControlRulesRoleAssignmentOutput() AccessControlRulesRoleAssignmentOutput { + return i.ToAccessControlRulesRoleAssignmentOutputWithContext(context.Background()) +} + +func (i AccessControlRulesRoleAssignmentArgs) ToAccessControlRulesRoleAssignmentOutputWithContext(ctx context.Context) AccessControlRulesRoleAssignmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesRoleAssignmentOutput) +} + +// AccessControlRulesRoleAssignmentArrayInput is an input type that accepts AccessControlRulesRoleAssignmentArray and AccessControlRulesRoleAssignmentArrayOutput values. +// You can construct a concrete instance of `AccessControlRulesRoleAssignmentArrayInput` via: +// +// AccessControlRulesRoleAssignmentArray{ AccessControlRulesRoleAssignmentArgs{...} } +type AccessControlRulesRoleAssignmentArrayInput interface { + pulumi.Input + + ToAccessControlRulesRoleAssignmentArrayOutput() AccessControlRulesRoleAssignmentArrayOutput + ToAccessControlRulesRoleAssignmentArrayOutputWithContext(context.Context) AccessControlRulesRoleAssignmentArrayOutput +} + +type AccessControlRulesRoleAssignmentArray []AccessControlRulesRoleAssignmentInput + +func (AccessControlRulesRoleAssignmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesRoleAssignment)(nil)).Elem() +} + +func (i AccessControlRulesRoleAssignmentArray) ToAccessControlRulesRoleAssignmentArrayOutput() AccessControlRulesRoleAssignmentArrayOutput { + return i.ToAccessControlRulesRoleAssignmentArrayOutputWithContext(context.Background()) +} + +func (i AccessControlRulesRoleAssignmentArray) ToAccessControlRulesRoleAssignmentArrayOutputWithContext(ctx context.Context) AccessControlRulesRoleAssignmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AccessControlRulesRoleAssignmentArrayOutput) +} + +// The properties of an Access Control Rule RoleAssignment. +type AccessControlRulesRoleAssignmentOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleAssignmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesRoleAssignment)(nil)).Elem() +} + +func (o AccessControlRulesRoleAssignmentOutput) ToAccessControlRulesRoleAssignmentOutput() AccessControlRulesRoleAssignmentOutput { + return o +} + +func (o AccessControlRulesRoleAssignmentOutput) ToAccessControlRulesRoleAssignmentOutputWithContext(ctx context.Context) AccessControlRulesRoleAssignmentOutput { + return o +} + +// A list of identities that can access the privileges defined by the role. +func (o AccessControlRulesRoleAssignmentOutput) Identities() pulumi.StringArrayOutput { + return o.ApplyT(func(v AccessControlRulesRoleAssignment) []string { return v.Identities }).(pulumi.StringArrayOutput) +} + +// The name of the role. +func (o AccessControlRulesRoleAssignmentOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesRoleAssignment) string { return v.Role }).(pulumi.StringOutput) +} + +type AccessControlRulesRoleAssignmentArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleAssignmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesRoleAssignment)(nil)).Elem() +} + +func (o AccessControlRulesRoleAssignmentArrayOutput) ToAccessControlRulesRoleAssignmentArrayOutput() AccessControlRulesRoleAssignmentArrayOutput { + return o +} + +func (o AccessControlRulesRoleAssignmentArrayOutput) ToAccessControlRulesRoleAssignmentArrayOutputWithContext(ctx context.Context) AccessControlRulesRoleAssignmentArrayOutput { + return o +} + +func (o AccessControlRulesRoleAssignmentArrayOutput) Index(i pulumi.IntInput) AccessControlRulesRoleAssignmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesRoleAssignment { + return vs[0].([]AccessControlRulesRoleAssignment)[vs[1].(int)] + }).(AccessControlRulesRoleAssignmentOutput) +} + +// The properties of an Access Control Rule RoleAssignment. +type AccessControlRulesRoleAssignmentResponse struct { + // A list of identities that can access the privileges defined by the role. + Identities []string `pulumi:"identities"` + // The name of the role. + Role string `pulumi:"role"` +} + +// The properties of an Access Control Rule RoleAssignment. +type AccessControlRulesRoleAssignmentResponseOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleAssignmentResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesRoleAssignmentResponse)(nil)).Elem() +} + +func (o AccessControlRulesRoleAssignmentResponseOutput) ToAccessControlRulesRoleAssignmentResponseOutput() AccessControlRulesRoleAssignmentResponseOutput { + return o +} + +func (o AccessControlRulesRoleAssignmentResponseOutput) ToAccessControlRulesRoleAssignmentResponseOutputWithContext(ctx context.Context) AccessControlRulesRoleAssignmentResponseOutput { + return o +} + +// A list of identities that can access the privileges defined by the role. +func (o AccessControlRulesRoleAssignmentResponseOutput) Identities() pulumi.StringArrayOutput { + return o.ApplyT(func(v AccessControlRulesRoleAssignmentResponse) []string { return v.Identities }).(pulumi.StringArrayOutput) +} + +// The name of the role. +func (o AccessControlRulesRoleAssignmentResponseOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesRoleAssignmentResponse) string { return v.Role }).(pulumi.StringOutput) +} + +type AccessControlRulesRoleAssignmentResponseArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleAssignmentResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesRoleAssignmentResponse)(nil)).Elem() +} + +func (o AccessControlRulesRoleAssignmentResponseArrayOutput) ToAccessControlRulesRoleAssignmentResponseArrayOutput() AccessControlRulesRoleAssignmentResponseArrayOutput { + return o +} + +func (o AccessControlRulesRoleAssignmentResponseArrayOutput) ToAccessControlRulesRoleAssignmentResponseArrayOutputWithContext(ctx context.Context) AccessControlRulesRoleAssignmentResponseArrayOutput { + return o +} + +func (o AccessControlRulesRoleAssignmentResponseArrayOutput) Index(i pulumi.IntInput) AccessControlRulesRoleAssignmentResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesRoleAssignmentResponse { + return vs[0].([]AccessControlRulesRoleAssignmentResponse)[vs[1].(int)] + }).(AccessControlRulesRoleAssignmentResponseOutput) +} + +// The properties of an Access Control Rule Role. +type AccessControlRulesRoleResponse struct { + // The name of the role. + Name string `pulumi:"name"` + // A list of privileges needed by this role. + Privileges []string `pulumi:"privileges"` +} + +// The properties of an Access Control Rule Role. +type AccessControlRulesRoleResponseOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AccessControlRulesRoleResponse)(nil)).Elem() +} + +func (o AccessControlRulesRoleResponseOutput) ToAccessControlRulesRoleResponseOutput() AccessControlRulesRoleResponseOutput { + return o +} + +func (o AccessControlRulesRoleResponseOutput) ToAccessControlRulesRoleResponseOutputWithContext(ctx context.Context) AccessControlRulesRoleResponseOutput { + return o +} + +// The name of the role. +func (o AccessControlRulesRoleResponseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AccessControlRulesRoleResponse) string { return v.Name }).(pulumi.StringOutput) +} + +// A list of privileges needed by this role. +func (o AccessControlRulesRoleResponseOutput) Privileges() pulumi.StringArrayOutput { + return o.ApplyT(func(v AccessControlRulesRoleResponse) []string { return v.Privileges }).(pulumi.StringArrayOutput) +} + +type AccessControlRulesRoleResponseArrayOutput struct{ *pulumi.OutputState } + +func (AccessControlRulesRoleResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AccessControlRulesRoleResponse)(nil)).Elem() +} + +func (o AccessControlRulesRoleResponseArrayOutput) ToAccessControlRulesRoleResponseArrayOutput() AccessControlRulesRoleResponseArrayOutput { + return o +} + +func (o AccessControlRulesRoleResponseArrayOutput) ToAccessControlRulesRoleResponseArrayOutputWithContext(ctx context.Context) AccessControlRulesRoleResponseArrayOutput { + return o +} + +func (o AccessControlRulesRoleResponseArrayOutput) Index(i pulumi.IntInput) AccessControlRulesRoleResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessControlRulesRoleResponse { + return vs[0].([]AccessControlRulesRoleResponse)[vs[1].(int)] + }).(AccessControlRulesRoleResponseOutput) +} + // Enables or disables a capability on the virtual machine or virtual machine scale set. type AdditionalCapabilities struct { // The flag that enables or disables hibernation capability on the VM. @@ -249,6 +1271,168 @@ func (o AdditionalCapabilitiesResponsePtrOutput) UltraSSDEnabled() pulumi.BoolPt }).(pulumi.BoolPtrOutput) } +// Describes the additional replica set information. +type AdditionalReplicaSet struct { + // The number of direct drive replicas of the Image Version to be created.This Property is updatable + RegionalReplicaCount *int `pulumi:"regionalReplicaCount"` + // Specifies the storage account type to be used to create the direct drive replicas + StorageAccountType *string `pulumi:"storageAccountType"` +} + +// AdditionalReplicaSetInput is an input type that accepts AdditionalReplicaSetArgs and AdditionalReplicaSetOutput values. +// You can construct a concrete instance of `AdditionalReplicaSetInput` via: +// +// AdditionalReplicaSetArgs{...} +type AdditionalReplicaSetInput interface { + pulumi.Input + + ToAdditionalReplicaSetOutput() AdditionalReplicaSetOutput + ToAdditionalReplicaSetOutputWithContext(context.Context) AdditionalReplicaSetOutput +} + +// Describes the additional replica set information. +type AdditionalReplicaSetArgs struct { + // The number of direct drive replicas of the Image Version to be created.This Property is updatable + RegionalReplicaCount pulumi.IntPtrInput `pulumi:"regionalReplicaCount"` + // Specifies the storage account type to be used to create the direct drive replicas + StorageAccountType pulumi.StringPtrInput `pulumi:"storageAccountType"` +} + +func (AdditionalReplicaSetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AdditionalReplicaSet)(nil)).Elem() +} + +func (i AdditionalReplicaSetArgs) ToAdditionalReplicaSetOutput() AdditionalReplicaSetOutput { + return i.ToAdditionalReplicaSetOutputWithContext(context.Background()) +} + +func (i AdditionalReplicaSetArgs) ToAdditionalReplicaSetOutputWithContext(ctx context.Context) AdditionalReplicaSetOutput { + return pulumi.ToOutputWithContext(ctx, i).(AdditionalReplicaSetOutput) +} + +// AdditionalReplicaSetArrayInput is an input type that accepts AdditionalReplicaSetArray and AdditionalReplicaSetArrayOutput values. +// You can construct a concrete instance of `AdditionalReplicaSetArrayInput` via: +// +// AdditionalReplicaSetArray{ AdditionalReplicaSetArgs{...} } +type AdditionalReplicaSetArrayInput interface { + pulumi.Input + + ToAdditionalReplicaSetArrayOutput() AdditionalReplicaSetArrayOutput + ToAdditionalReplicaSetArrayOutputWithContext(context.Context) AdditionalReplicaSetArrayOutput +} + +type AdditionalReplicaSetArray []AdditionalReplicaSetInput + +func (AdditionalReplicaSetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AdditionalReplicaSet)(nil)).Elem() +} + +func (i AdditionalReplicaSetArray) ToAdditionalReplicaSetArrayOutput() AdditionalReplicaSetArrayOutput { + return i.ToAdditionalReplicaSetArrayOutputWithContext(context.Background()) +} + +func (i AdditionalReplicaSetArray) ToAdditionalReplicaSetArrayOutputWithContext(ctx context.Context) AdditionalReplicaSetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AdditionalReplicaSetArrayOutput) +} + +// Describes the additional replica set information. +type AdditionalReplicaSetOutput struct{ *pulumi.OutputState } + +func (AdditionalReplicaSetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AdditionalReplicaSet)(nil)).Elem() +} + +func (o AdditionalReplicaSetOutput) ToAdditionalReplicaSetOutput() AdditionalReplicaSetOutput { + return o +} + +func (o AdditionalReplicaSetOutput) ToAdditionalReplicaSetOutputWithContext(ctx context.Context) AdditionalReplicaSetOutput { + return o +} + +// The number of direct drive replicas of the Image Version to be created.This Property is updatable +func (o AdditionalReplicaSetOutput) RegionalReplicaCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AdditionalReplicaSet) *int { return v.RegionalReplicaCount }).(pulumi.IntPtrOutput) +} + +// Specifies the storage account type to be used to create the direct drive replicas +func (o AdditionalReplicaSetOutput) StorageAccountType() pulumi.StringPtrOutput { + return o.ApplyT(func(v AdditionalReplicaSet) *string { return v.StorageAccountType }).(pulumi.StringPtrOutput) +} + +type AdditionalReplicaSetArrayOutput struct{ *pulumi.OutputState } + +func (AdditionalReplicaSetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AdditionalReplicaSet)(nil)).Elem() +} + +func (o AdditionalReplicaSetArrayOutput) ToAdditionalReplicaSetArrayOutput() AdditionalReplicaSetArrayOutput { + return o +} + +func (o AdditionalReplicaSetArrayOutput) ToAdditionalReplicaSetArrayOutputWithContext(ctx context.Context) AdditionalReplicaSetArrayOutput { + return o +} + +func (o AdditionalReplicaSetArrayOutput) Index(i pulumi.IntInput) AdditionalReplicaSetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AdditionalReplicaSet { + return vs[0].([]AdditionalReplicaSet)[vs[1].(int)] + }).(AdditionalReplicaSetOutput) +} + +// Describes the additional replica set information. +type AdditionalReplicaSetResponse struct { + // The number of direct drive replicas of the Image Version to be created.This Property is updatable + RegionalReplicaCount *int `pulumi:"regionalReplicaCount"` + // Specifies the storage account type to be used to create the direct drive replicas + StorageAccountType *string `pulumi:"storageAccountType"` +} + +// Describes the additional replica set information. +type AdditionalReplicaSetResponseOutput struct{ *pulumi.OutputState } + +func (AdditionalReplicaSetResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AdditionalReplicaSetResponse)(nil)).Elem() +} + +func (o AdditionalReplicaSetResponseOutput) ToAdditionalReplicaSetResponseOutput() AdditionalReplicaSetResponseOutput { + return o +} + +func (o AdditionalReplicaSetResponseOutput) ToAdditionalReplicaSetResponseOutputWithContext(ctx context.Context) AdditionalReplicaSetResponseOutput { + return o +} + +// The number of direct drive replicas of the Image Version to be created.This Property is updatable +func (o AdditionalReplicaSetResponseOutput) RegionalReplicaCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AdditionalReplicaSetResponse) *int { return v.RegionalReplicaCount }).(pulumi.IntPtrOutput) +} + +// Specifies the storage account type to be used to create the direct drive replicas +func (o AdditionalReplicaSetResponseOutput) StorageAccountType() pulumi.StringPtrOutput { + return o.ApplyT(func(v AdditionalReplicaSetResponse) *string { return v.StorageAccountType }).(pulumi.StringPtrOutput) +} + +type AdditionalReplicaSetResponseArrayOutput struct{ *pulumi.OutputState } + +func (AdditionalReplicaSetResponseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AdditionalReplicaSetResponse)(nil)).Elem() +} + +func (o AdditionalReplicaSetResponseArrayOutput) ToAdditionalReplicaSetResponseArrayOutput() AdditionalReplicaSetResponseArrayOutput { + return o +} + +func (o AdditionalReplicaSetResponseArrayOutput) ToAdditionalReplicaSetResponseArrayOutputWithContext(ctx context.Context) AdditionalReplicaSetResponseArrayOutput { + return o +} + +func (o AdditionalReplicaSetResponseArrayOutput) Index(i pulumi.IntInput) AdditionalReplicaSetResponseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AdditionalReplicaSetResponse { + return vs[0].([]AdditionalReplicaSetResponse)[vs[1].(int)] + }).(AdditionalReplicaSetResponseOutput) +} + // Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. type AdditionalUnattendContent struct { // The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. @@ -13924,6 +15108,231 @@ func (o GalleryImageVersionStorageProfileResponseOutput) Source() GalleryArtifac }).(GalleryArtifactVersionFullSourceResponsePtrOutput) } +// Describes the properties of a gallery inVMAccessControlProfile. +type GalleryInVMAccessControlProfileProperties struct { + // This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' + ApplicableHostEndpoint EndpointTypes `pulumi:"applicableHostEndpoint"` + // The description of this gallery inVMAccessControlProfile resources. This property is updatable. + Description *string `pulumi:"description"` + // This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' + OsType OperatingSystemTypes `pulumi:"osType"` +} + +// GalleryInVMAccessControlProfilePropertiesInput is an input type that accepts GalleryInVMAccessControlProfilePropertiesArgs and GalleryInVMAccessControlProfilePropertiesOutput values. +// You can construct a concrete instance of `GalleryInVMAccessControlProfilePropertiesInput` via: +// +// GalleryInVMAccessControlProfilePropertiesArgs{...} +type GalleryInVMAccessControlProfilePropertiesInput interface { + pulumi.Input + + ToGalleryInVMAccessControlProfilePropertiesOutput() GalleryInVMAccessControlProfilePropertiesOutput + ToGalleryInVMAccessControlProfilePropertiesOutputWithContext(context.Context) GalleryInVMAccessControlProfilePropertiesOutput +} + +// Describes the properties of a gallery inVMAccessControlProfile. +type GalleryInVMAccessControlProfilePropertiesArgs struct { + // This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' + ApplicableHostEndpoint EndpointTypesInput `pulumi:"applicableHostEndpoint"` + // The description of this gallery inVMAccessControlProfile resources. This property is updatable. + Description pulumi.StringPtrInput `pulumi:"description"` + // This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' + OsType OperatingSystemTypesInput `pulumi:"osType"` +} + +func (GalleryInVMAccessControlProfilePropertiesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GalleryInVMAccessControlProfileProperties)(nil)).Elem() +} + +func (i GalleryInVMAccessControlProfilePropertiesArgs) ToGalleryInVMAccessControlProfilePropertiesOutput() GalleryInVMAccessControlProfilePropertiesOutput { + return i.ToGalleryInVMAccessControlProfilePropertiesOutputWithContext(context.Background()) +} + +func (i GalleryInVMAccessControlProfilePropertiesArgs) ToGalleryInVMAccessControlProfilePropertiesOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GalleryInVMAccessControlProfilePropertiesOutput) +} + +func (i GalleryInVMAccessControlProfilePropertiesArgs) ToGalleryInVMAccessControlProfilePropertiesPtrOutput() GalleryInVMAccessControlProfilePropertiesPtrOutput { + return i.ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(context.Background()) +} + +func (i GalleryInVMAccessControlProfilePropertiesArgs) ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GalleryInVMAccessControlProfilePropertiesOutput).ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(ctx) +} + +// GalleryInVMAccessControlProfilePropertiesPtrInput is an input type that accepts GalleryInVMAccessControlProfilePropertiesArgs, GalleryInVMAccessControlProfilePropertiesPtr and GalleryInVMAccessControlProfilePropertiesPtrOutput values. +// You can construct a concrete instance of `GalleryInVMAccessControlProfilePropertiesPtrInput` via: +// +// GalleryInVMAccessControlProfilePropertiesArgs{...} +// +// or: +// +// nil +type GalleryInVMAccessControlProfilePropertiesPtrInput interface { + pulumi.Input + + ToGalleryInVMAccessControlProfilePropertiesPtrOutput() GalleryInVMAccessControlProfilePropertiesPtrOutput + ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(context.Context) GalleryInVMAccessControlProfilePropertiesPtrOutput +} + +type galleryInVMAccessControlProfilePropertiesPtrType GalleryInVMAccessControlProfilePropertiesArgs + +func GalleryInVMAccessControlProfilePropertiesPtr(v *GalleryInVMAccessControlProfilePropertiesArgs) GalleryInVMAccessControlProfilePropertiesPtrInput { + return (*galleryInVMAccessControlProfilePropertiesPtrType)(v) +} + +func (*galleryInVMAccessControlProfilePropertiesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GalleryInVMAccessControlProfileProperties)(nil)).Elem() +} + +func (i *galleryInVMAccessControlProfilePropertiesPtrType) ToGalleryInVMAccessControlProfilePropertiesPtrOutput() GalleryInVMAccessControlProfilePropertiesPtrOutput { + return i.ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(context.Background()) +} + +func (i *galleryInVMAccessControlProfilePropertiesPtrType) ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GalleryInVMAccessControlProfilePropertiesPtrOutput) +} + +// Describes the properties of a gallery inVMAccessControlProfile. +type GalleryInVMAccessControlProfilePropertiesOutput struct{ *pulumi.OutputState } + +func (GalleryInVMAccessControlProfilePropertiesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GalleryInVMAccessControlProfileProperties)(nil)).Elem() +} + +func (o GalleryInVMAccessControlProfilePropertiesOutput) ToGalleryInVMAccessControlProfilePropertiesOutput() GalleryInVMAccessControlProfilePropertiesOutput { + return o +} + +func (o GalleryInVMAccessControlProfilePropertiesOutput) ToGalleryInVMAccessControlProfilePropertiesOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesOutput { + return o +} + +func (o GalleryInVMAccessControlProfilePropertiesOutput) ToGalleryInVMAccessControlProfilePropertiesPtrOutput() GalleryInVMAccessControlProfilePropertiesPtrOutput { + return o.ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(context.Background()) +} + +func (o GalleryInVMAccessControlProfilePropertiesOutput) ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GalleryInVMAccessControlProfileProperties) *GalleryInVMAccessControlProfileProperties { + return &v + }).(GalleryInVMAccessControlProfilePropertiesPtrOutput) +} + +// This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' +func (o GalleryInVMAccessControlProfilePropertiesOutput) ApplicableHostEndpoint() EndpointTypesOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfileProperties) EndpointTypes { return v.ApplicableHostEndpoint }).(EndpointTypesOutput) +} + +// The description of this gallery inVMAccessControlProfile resources. This property is updatable. +func (o GalleryInVMAccessControlProfilePropertiesOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfileProperties) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' +func (o GalleryInVMAccessControlProfilePropertiesOutput) OsType() OperatingSystemTypesOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfileProperties) OperatingSystemTypes { return v.OsType }).(OperatingSystemTypesOutput) +} + +type GalleryInVMAccessControlProfilePropertiesPtrOutput struct{ *pulumi.OutputState } + +func (GalleryInVMAccessControlProfilePropertiesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GalleryInVMAccessControlProfileProperties)(nil)).Elem() +} + +func (o GalleryInVMAccessControlProfilePropertiesPtrOutput) ToGalleryInVMAccessControlProfilePropertiesPtrOutput() GalleryInVMAccessControlProfilePropertiesPtrOutput { + return o +} + +func (o GalleryInVMAccessControlProfilePropertiesPtrOutput) ToGalleryInVMAccessControlProfilePropertiesPtrOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesPtrOutput { + return o +} + +func (o GalleryInVMAccessControlProfilePropertiesPtrOutput) Elem() GalleryInVMAccessControlProfilePropertiesOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileProperties) GalleryInVMAccessControlProfileProperties { + if v != nil { + return *v + } + var ret GalleryInVMAccessControlProfileProperties + return ret + }).(GalleryInVMAccessControlProfilePropertiesOutput) +} + +// This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' +func (o GalleryInVMAccessControlProfilePropertiesPtrOutput) ApplicableHostEndpoint() EndpointTypesPtrOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileProperties) *EndpointTypes { + if v == nil { + return nil + } + return &v.ApplicableHostEndpoint + }).(EndpointTypesPtrOutput) +} + +// The description of this gallery inVMAccessControlProfile resources. This property is updatable. +func (o GalleryInVMAccessControlProfilePropertiesPtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileProperties) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) +} + +// This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' +func (o GalleryInVMAccessControlProfilePropertiesPtrOutput) OsType() OperatingSystemTypesPtrOutput { + return o.ApplyT(func(v *GalleryInVMAccessControlProfileProperties) *OperatingSystemTypes { + if v == nil { + return nil + } + return &v.OsType + }).(OperatingSystemTypesPtrOutput) +} + +// Describes the properties of a gallery inVMAccessControlProfile. +type GalleryInVMAccessControlProfilePropertiesResponse struct { + // This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' + ApplicableHostEndpoint string `pulumi:"applicableHostEndpoint"` + // The description of this gallery inVMAccessControlProfile resources. This property is updatable. + Description *string `pulumi:"description"` + // This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' + OsType string `pulumi:"osType"` + // The provisioning state, which only appears in the response. + ProvisioningState string `pulumi:"provisioningState"` +} + +// Describes the properties of a gallery inVMAccessControlProfile. +type GalleryInVMAccessControlProfilePropertiesResponseOutput struct{ *pulumi.OutputState } + +func (GalleryInVMAccessControlProfilePropertiesResponseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GalleryInVMAccessControlProfilePropertiesResponse)(nil)).Elem() +} + +func (o GalleryInVMAccessControlProfilePropertiesResponseOutput) ToGalleryInVMAccessControlProfilePropertiesResponseOutput() GalleryInVMAccessControlProfilePropertiesResponseOutput { + return o +} + +func (o GalleryInVMAccessControlProfilePropertiesResponseOutput) ToGalleryInVMAccessControlProfilePropertiesResponseOutputWithContext(ctx context.Context) GalleryInVMAccessControlProfilePropertiesResponseOutput { + return o +} + +// This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS' +func (o GalleryInVMAccessControlProfilePropertiesResponseOutput) ApplicableHostEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfilePropertiesResponse) string { return v.ApplicableHostEndpoint }).(pulumi.StringOutput) +} + +// The description of this gallery inVMAccessControlProfile resources. This property is updatable. +func (o GalleryInVMAccessControlProfilePropertiesResponseOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfilePropertiesResponse) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux' +func (o GalleryInVMAccessControlProfilePropertiesResponseOutput) OsType() pulumi.StringOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfilePropertiesResponse) string { return v.OsType }).(pulumi.StringOutput) +} + +// The provisioning state, which only appears in the response. +func (o GalleryInVMAccessControlProfilePropertiesResponseOutput) ProvisioningState() pulumi.StringOutput { + return o.ApplyT(func(v GalleryInVMAccessControlProfilePropertiesResponse) string { return v.ProvisioningState }).(pulumi.StringOutput) +} + // This is the OS disk image. type GalleryOSDiskImage struct { // The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' @@ -31901,6 +33310,8 @@ func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput { // Describes the target region information. type TargetRegion struct { + // List of storage sku with replica count to create direct drive replicas. + AdditionalReplicaSets []AdditionalReplicaSet `pulumi:"additionalReplicaSets"` // Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. Encryption *EncryptionImages `pulumi:"encryption"` // Contains the flag setting to hide an image when users specify version='latest' @@ -31926,6 +33337,8 @@ type TargetRegionInput interface { // Describes the target region information. type TargetRegionArgs struct { + // List of storage sku with replica count to create direct drive replicas. + AdditionalReplicaSets AdditionalReplicaSetArrayInput `pulumi:"additionalReplicaSets"` // Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. Encryption EncryptionImagesPtrInput `pulumi:"encryption"` // Contains the flag setting to hide an image when users specify version='latest' @@ -31990,6 +33403,11 @@ func (o TargetRegionOutput) ToTargetRegionOutputWithContext(ctx context.Context) return o } +// List of storage sku with replica count to create direct drive replicas. +func (o TargetRegionOutput) AdditionalReplicaSets() AdditionalReplicaSetArrayOutput { + return o.ApplyT(func(v TargetRegion) []AdditionalReplicaSet { return v.AdditionalReplicaSets }).(AdditionalReplicaSetArrayOutput) +} + // Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. func (o TargetRegionOutput) Encryption() EncryptionImagesPtrOutput { return o.ApplyT(func(v TargetRegion) *EncryptionImages { return v.Encryption }).(EncryptionImagesPtrOutput) @@ -32037,6 +33455,8 @@ func (o TargetRegionArrayOutput) Index(i pulumi.IntInput) TargetRegionOutput { // Describes the target region information. type TargetRegionResponse struct { + // List of storage sku with replica count to create direct drive replicas. + AdditionalReplicaSets []AdditionalReplicaSetResponse `pulumi:"additionalReplicaSets"` // Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. Encryption *EncryptionImagesResponse `pulumi:"encryption"` // Contains the flag setting to hide an image when users specify version='latest' @@ -32064,6 +33484,11 @@ func (o TargetRegionResponseOutput) ToTargetRegionResponseOutputWithContext(ctx return o } +// List of storage sku with replica count to create direct drive replicas. +func (o TargetRegionResponseOutput) AdditionalReplicaSets() AdditionalReplicaSetResponseArrayOutput { + return o.ApplyT(func(v TargetRegionResponse) []AdditionalReplicaSetResponse { return v.AdditionalReplicaSets }).(AdditionalReplicaSetResponseArrayOutput) +} + // Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact. func (o TargetRegionResponseOutput) Encryption() EncryptionImagesResponsePtrOutput { return o.ApplyT(func(v TargetRegionResponse) *EncryptionImagesResponse { return v.Encryption }).(EncryptionImagesResponsePtrOutput) @@ -45476,10 +46901,34 @@ func (o WindowsVMGuestPatchAutomaticByPlatformSettingsResponsePtrOutput) RebootS } func init() { + pulumi.RegisterOutputType(AccessControlRulesOutput{}) + pulumi.RegisterOutputType(AccessControlRulesPtrOutput{}) + pulumi.RegisterOutputType(AccessControlRulesIdentityOutput{}) + pulumi.RegisterOutputType(AccessControlRulesIdentityArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesIdentityResponseOutput{}) + pulumi.RegisterOutputType(AccessControlRulesIdentityResponseArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesPrivilegeOutput{}) + pulumi.RegisterOutputType(AccessControlRulesPrivilegeArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesPrivilegeResponseOutput{}) + pulumi.RegisterOutputType(AccessControlRulesPrivilegeResponseArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesResponseOutput{}) + pulumi.RegisterOutputType(AccessControlRulesResponsePtrOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleAssignmentOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleAssignmentArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleAssignmentResponseOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleAssignmentResponseArrayOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleResponseOutput{}) + pulumi.RegisterOutputType(AccessControlRulesRoleResponseArrayOutput{}) pulumi.RegisterOutputType(AdditionalCapabilitiesOutput{}) pulumi.RegisterOutputType(AdditionalCapabilitiesPtrOutput{}) pulumi.RegisterOutputType(AdditionalCapabilitiesResponseOutput{}) pulumi.RegisterOutputType(AdditionalCapabilitiesResponsePtrOutput{}) + pulumi.RegisterOutputType(AdditionalReplicaSetOutput{}) + pulumi.RegisterOutputType(AdditionalReplicaSetArrayOutput{}) + pulumi.RegisterOutputType(AdditionalReplicaSetResponseOutput{}) + pulumi.RegisterOutputType(AdditionalReplicaSetResponseArrayOutput{}) pulumi.RegisterOutputType(AdditionalUnattendContentOutput{}) pulumi.RegisterOutputType(AdditionalUnattendContentArrayOutput{}) pulumi.RegisterOutputType(AdditionalUnattendContentResponseOutput{}) @@ -45716,6 +47165,9 @@ func init() { pulumi.RegisterOutputType(GalleryImageVersionSafetyProfileResponsePtrOutput{}) pulumi.RegisterOutputType(GalleryImageVersionStorageProfileOutput{}) pulumi.RegisterOutputType(GalleryImageVersionStorageProfileResponseOutput{}) + pulumi.RegisterOutputType(GalleryInVMAccessControlProfilePropertiesOutput{}) + pulumi.RegisterOutputType(GalleryInVMAccessControlProfilePropertiesPtrOutput{}) + pulumi.RegisterOutputType(GalleryInVMAccessControlProfilePropertiesResponseOutput{}) pulumi.RegisterOutputType(GalleryOSDiskImageOutput{}) pulumi.RegisterOutputType(GalleryOSDiskImagePtrOutput{}) pulumi.RegisterOutputType(GalleryOSDiskImageResponseOutput{}) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/snapshot.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/snapshot.go index 82585d955..d0a5e0ffa 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/snapshot.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/snapshot.go @@ -15,7 +15,7 @@ import ( // Snapshot resource. // Azure REST API version: 2022-07-02. Prior API version in Azure Native 1.x: 2020-12-01. // -// Other available API versions: 2016-04-30-preview, 2017-03-30, 2018-06-01, 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. +// Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02. type Snapshot struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSet.go index 3d3fdabf0..6cac80d44 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSet.go @@ -15,7 +15,7 @@ import ( // Describes a Virtual Machine Scale Set. // Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2021-03-01. // -// Other available API versions: 2015-06-15, 2016-04-30-preview, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. type VirtualMachineScaleSet struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSetVMExtension.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSetVMExtension.go index d0ace351b..513283789 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSetVMExtension.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/compute/v2/virtualMachineScaleSetVMExtension.go @@ -15,7 +15,7 @@ import ( // Describes a VMSS VM Extension. // Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2021-03-01. // -// Other available API versions: 2019-12-01, 2021-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2021-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. type VirtualMachineScaleSetVMExtension struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/agentPool.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/agentPool.go index 0bc52ddfd..af91b6222 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/agentPool.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/agentPool.go @@ -355,6 +355,12 @@ func NewAgentPool(ctx *pulumi.Context, { Type: pulumi.String("azure-native:containerservice/v20240702preview:AgentPool"), }, + { + Type: pulumi.String("azure-native:containerservice/v20240901:AgentPool"), + }, + { + Type: pulumi.String("azure-native:containerservice/v20240902preview:AgentPool"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/maintenanceConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/maintenanceConfiguration.go index e537be8b8..09ba17c67 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/maintenanceConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/maintenanceConfiguration.go @@ -236,6 +236,12 @@ func NewMaintenanceConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:containerservice/v20240702preview:MaintenanceConfiguration"), }, + { + Type: pulumi.String("azure-native:containerservice/v20240901:MaintenanceConfiguration"), + }, + { + Type: pulumi.String("azure-native:containerservice/v20240902preview:MaintenanceConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/managedCluster.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/managedCluster.go index 923980926..f6e815a57 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/managedCluster.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/managedCluster.go @@ -378,6 +378,12 @@ func NewManagedCluster(ctx *pulumi.Context, { Type: pulumi.String("azure-native:containerservice/v20240702preview:ManagedCluster"), }, + { + Type: pulumi.String("azure-native:containerservice/v20240901:ManagedCluster"), + }, + { + Type: pulumi.String("azure-native:containerservice/v20240902preview:ManagedCluster"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/privateEndpointConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/privateEndpointConnection.go index 6f211a27b..6fea5c62b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/privateEndpointConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/privateEndpointConnection.go @@ -246,6 +246,12 @@ func NewPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:containerservice/v20240702preview:PrivateEndpointConnection"), }, + { + Type: pulumi.String("azure-native:containerservice/v20240901:PrivateEndpointConnection"), + }, + { + Type: pulumi.String("azure-native:containerservice/v20240902preview:PrivateEndpointConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/snapshot.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/snapshot.go index 9b2b63294..1ec921d96 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/snapshot.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/snapshot.go @@ -229,6 +229,12 @@ func NewSnapshot(ctx *pulumi.Context, { Type: pulumi.String("azure-native:containerservice/v20240702preview:Snapshot"), }, + { + Type: pulumi.String("azure-native:containerservice/v20240901:Snapshot"), + }, + { + Type: pulumi.String("azure-native:containerservice/v20240902preview:Snapshot"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/trustedAccessRoleBinding.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/trustedAccessRoleBinding.go index 5bc0cf4ba..0786c295f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/trustedAccessRoleBinding.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801/trustedAccessRoleBinding.go @@ -155,6 +155,12 @@ func NewTrustedAccessRoleBinding(ctx *pulumi.Context, { Type: pulumi.String("azure-native:containerservice/v20240702preview:TrustedAccessRoleBinding"), }, + { + Type: pulumi.String("azure-native:containerservice/v20240901:TrustedAccessRoleBinding"), + }, + { + Type: pulumi.String("azure-native:containerservice/v20240902preview:TrustedAccessRoleBinding"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRule.go index 84abf111f..a5f3b41f4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRule.go @@ -15,7 +15,7 @@ import ( // Network admin rule. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. type AdminRule struct { pulumi.CustomResourceState @@ -144,6 +144,9 @@ func NewAdminRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:AdminRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:AdminRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRuleCollection.go index 05ab743c2..1f6a989a4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/adminRuleCollection.go @@ -15,7 +15,7 @@ import ( // Defines the admin rule collection. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. type AdminRuleCollection struct { pulumi.CustomResourceState @@ -111,6 +111,9 @@ func NewAdminRuleCollection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:AdminRuleCollection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:AdminRuleCollection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGateway.go index 01a61c5fb..119c7ef80 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGateway.go @@ -15,7 +15,7 @@ import ( // Application gateway resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ApplicationGateway struct { pulumi.CustomResourceState @@ -277,6 +277,9 @@ func NewApplicationGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ApplicationGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ApplicationGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGatewayPrivateEndpointConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGatewayPrivateEndpointConnection.go index 0fe023f89..12daaefea 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGatewayPrivateEndpointConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationGatewayPrivateEndpointConnection.go @@ -15,7 +15,7 @@ import ( // Private Endpoint connection on an application gateway. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ApplicationGatewayPrivateEndpointConnection struct { pulumi.CustomResourceState @@ -115,6 +115,9 @@ func NewApplicationGatewayPrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ApplicationGatewayPrivateEndpointConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ApplicationGatewayPrivateEndpointConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationSecurityGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationSecurityGroup.go index 3b075bc10..f2e6b74dc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationSecurityGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/applicationSecurityGroup.go @@ -15,7 +15,7 @@ import ( // An application security group in a resource group. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ApplicationSecurityGroup struct { pulumi.CustomResourceState @@ -178,6 +178,9 @@ func NewApplicationSecurityGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ApplicationSecurityGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ApplicationSecurityGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/azureFirewall.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/azureFirewall.go index c07e2a2af..44bcdf60a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/azureFirewall.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/azureFirewall.go @@ -15,7 +15,7 @@ import ( // Azure Firewall resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type AzureFirewall struct { pulumi.CustomResourceState @@ -187,6 +187,9 @@ func NewAzureFirewall(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:AzureFirewall"), }, + { + Type: pulumi.String("azure-native:network/v20240501:AzureFirewall"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/bastionHost.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/bastionHost.go index ba3bb4fc6..095a63119 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/bastionHost.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/bastionHost.go @@ -15,7 +15,7 @@ import ( // Bastion Host resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type BastionHost struct { pulumi.CustomResourceState @@ -175,6 +175,9 @@ func NewBastionHost(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:BastionHost"), }, + { + Type: pulumi.String("azure-native:network/v20240501:BastionHost"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/configurationPolicyGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/configurationPolicyGroup.go index 1072cab71..18b81f311 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/configurationPolicyGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/configurationPolicyGroup.go @@ -15,7 +15,7 @@ import ( // VpnServerConfigurationPolicyGroup Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-01-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ConfigurationPolicyGroup struct { pulumi.CustomResourceState @@ -93,6 +93,9 @@ func NewConfigurationPolicyGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ConfigurationPolicyGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ConfigurationPolicyGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectionMonitor.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectionMonitor.go index 681b9d6c3..bbd9464fb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectionMonitor.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectionMonitor.go @@ -15,7 +15,7 @@ import ( // Information about the connection monitor. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-09-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-09-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ConnectionMonitor struct { pulumi.CustomResourceState @@ -206,6 +206,9 @@ func NewConnectionMonitor(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ConnectionMonitor"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ConnectionMonitor"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectivityConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectivityConfiguration.go index 15f57aa20..5cf2d3de6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectivityConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/connectivityConfiguration.go @@ -15,7 +15,7 @@ import ( // The network manager connectivity configuration resource // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ConnectivityConfiguration struct { pulumi.CustomResourceState @@ -116,6 +116,9 @@ func NewConnectivityConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ConnectivityConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ConnectivityConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/customIPPrefix.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/customIPPrefix.go index 198d4098a..4102c20da 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/customIPPrefix.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/customIPPrefix.go @@ -15,7 +15,7 @@ import ( // Custom IP prefix resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type CustomIPPrefix struct { pulumi.CustomResourceState @@ -139,6 +139,9 @@ func NewCustomIPPrefix(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:CustomIPPrefix"), }, + { + Type: pulumi.String("azure-native:network/v20240501:CustomIPPrefix"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosCustomPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosCustomPolicy.go index 989e7ff5b..b8928ce10 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosCustomPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosCustomPolicy.go @@ -15,7 +15,7 @@ import ( // A DDoS custom policy in a resource group. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2022-01-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2022-01-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type DdosCustomPolicy struct { pulumi.CustomResourceState @@ -148,6 +148,9 @@ func NewDdosCustomPolicy(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:DdosCustomPolicy"), }, + { + Type: pulumi.String("azure-native:network/v20240501:DdosCustomPolicy"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosProtectionPlan.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosProtectionPlan.go index 0ad0b02e5..a50d3f8dc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosProtectionPlan.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ddosProtectionPlan.go @@ -15,7 +15,7 @@ import ( // A DDoS protection plan in a resource group. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-02-01, 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type DdosProtectionPlan struct { pulumi.CustomResourceState @@ -170,6 +170,9 @@ func NewDdosProtectionPlan(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:DdosProtectionPlan"), }, + { + Type: pulumi.String("azure-native:network/v20240501:DdosProtectionPlan"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultAdminRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultAdminRule.go index 99ae827ac..e3cc377e3 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultAdminRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultAdminRule.go @@ -132,6 +132,9 @@ func NewDefaultAdminRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:DefaultAdminRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:DefaultAdminRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultUserRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultUserRule.go index de1e5ea8e..813bfe6f7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultUserRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/defaultUserRule.go @@ -87,6 +87,9 @@ func NewDefaultUserRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:DefaultUserRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:DefaultUserRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/dscpConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/dscpConfiguration.go index 1d071dd1c..68d7f98df 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/dscpConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/dscpConfiguration.go @@ -15,7 +15,7 @@ import ( // Differentiated Services Code Point configuration for any given network interface // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type DscpConfiguration struct { pulumi.CustomResourceState @@ -127,6 +127,9 @@ func NewDscpConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:DscpConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:DscpConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/endpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/endpoint.go index e8279f4ff..e0a60e22c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/endpoint.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/endpoint.go @@ -15,7 +15,7 @@ import ( // Class representing a Traffic Manager endpoint. // Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01. // -// Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview. +// Other available API versions: 2022-04-01-preview. type Endpoint struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuit.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuit.go index 8fc58c53d..95acb69f1 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuit.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuit.go @@ -15,7 +15,7 @@ import ( // ExpressRouteCircuit resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2018-12-01, 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-12-01, 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteCircuit struct { pulumi.CustomResourceState @@ -235,6 +235,9 @@ func NewExpressRouteCircuit(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteCircuit"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteCircuit"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitAuthorization.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitAuthorization.go index 199b3ff18..cbcec55fb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitAuthorization.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitAuthorization.go @@ -15,7 +15,7 @@ import ( // Authorization in an ExpressRouteCircuit resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteCircuitAuthorization struct { pulumi.CustomResourceState @@ -206,6 +206,9 @@ func NewExpressRouteCircuitAuthorization(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteCircuitAuthorization"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteCircuitAuthorization"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitConnection.go index 73e377baa..f3fa7976f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitConnection.go @@ -15,7 +15,7 @@ import ( // Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteCircuitConnection struct { pulumi.CustomResourceState @@ -178,6 +178,9 @@ func NewExpressRouteCircuitConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteCircuitConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteCircuitConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitPeering.go index fba28152b..304d3d8d7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCircuitPeering.go @@ -15,7 +15,7 @@ import ( // Peering in an ExpressRouteCircuit resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2017-09-01, 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteCircuitPeering struct { pulumi.CustomResourceState @@ -240,6 +240,9 @@ func NewExpressRouteCircuitPeering(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteCircuitPeering"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteCircuitPeering"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteConnection.go index 6cb06ea4e..ebab0dc27 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteConnection.go @@ -15,7 +15,7 @@ import ( // ExpressRouteConnection resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteConnection struct { pulumi.CustomResourceState @@ -167,6 +167,9 @@ func NewExpressRouteConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCrossConnectionPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCrossConnectionPeering.go index c17171a0f..6a0e35010 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCrossConnectionPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteCrossConnectionPeering.go @@ -15,7 +15,7 @@ import ( // Peering in an ExpressRoute Cross Connection resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteCrossConnectionPeering struct { pulumi.CustomResourceState @@ -189,6 +189,9 @@ func NewExpressRouteCrossConnectionPeering(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteCrossConnectionPeering"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteCrossConnectionPeering"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteGateway.go index aae7da7d5..b4d86100c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRouteGateway.go @@ -15,7 +15,7 @@ import ( // ExpressRoute gateway resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRouteGateway struct { pulumi.CustomResourceState @@ -163,6 +163,9 @@ func NewExpressRouteGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRouteGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRouteGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePort.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePort.go index c3838ae31..95ffc1fa8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePort.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePort.go @@ -15,7 +15,7 @@ import ( // ExpressRoutePort resource definition. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRoutePort struct { pulumi.CustomResourceState @@ -176,6 +176,9 @@ func NewExpressRoutePort(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRoutePort"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRoutePort"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePortAuthorization.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePortAuthorization.go index f50ae7d7a..0d3433bc8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePortAuthorization.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/expressRoutePortAuthorization.go @@ -15,7 +15,7 @@ import ( // ExpressRoutePort Authorization resource definition. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-01-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ExpressRoutePortAuthorization struct { pulumi.CustomResourceState @@ -91,6 +91,9 @@ func NewExpressRoutePortAuthorization(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ExpressRoutePortAuthorization"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ExpressRoutePortAuthorization"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicy.go index 86148ec93..bf81d0c95 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicy.go @@ -15,7 +15,7 @@ import ( // FirewallPolicy Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2020-04-01, 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-04-01, 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type FirewallPolicy struct { pulumi.CustomResourceState @@ -164,6 +164,9 @@ func NewFirewallPolicy(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:FirewallPolicy"), }, + { + Type: pulumi.String("azure-native:network/v20240501:FirewallPolicy"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyDraft.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyDraft.go index 508ea2744..2e3123e1b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyDraft.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyDraft.go @@ -15,7 +15,7 @@ import ( // FirewallPolicy Resource. // Azure REST API version: 2023-11-01. // -// Other available API versions: 2024-01-01, 2024-03-01. +// Other available API versions: 2024-01-01, 2024-03-01, 2024-05-01. type FirewallPolicyDraft struct { pulumi.CustomResourceState @@ -70,6 +70,9 @@ func NewFirewallPolicyDraft(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:FirewallPolicyDraft"), }, + { + Type: pulumi.String("azure-native:network/v20240501:FirewallPolicyDraft"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroup.go index 89e981482..553f12dda 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroup.go @@ -15,7 +15,7 @@ import ( // Rule Collection Group resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type FirewallPolicyRuleCollectionGroup struct { pulumi.CustomResourceState @@ -113,6 +113,9 @@ func NewFirewallPolicyRuleCollectionGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:FirewallPolicyRuleCollectionGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:FirewallPolicyRuleCollectionGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroupDraft.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroupDraft.go index f57736ba3..143440b6a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroupDraft.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/firewallPolicyRuleCollectionGroupDraft.go @@ -15,7 +15,7 @@ import ( // Rule Collection Group resource. // Azure REST API version: 2023-11-01. // -// Other available API versions: 2024-01-01, 2024-03-01. +// Other available API versions: 2024-01-01, 2024-03-01, 2024-05-01. type FirewallPolicyRuleCollectionGroupDraft struct { pulumi.CustomResourceState @@ -57,6 +57,9 @@ func NewFirewallPolicyRuleCollectionGroupDraft(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:FirewallPolicyRuleCollectionGroupDraft"), }, + { + Type: pulumi.String("azure-native:network/v20240501:FirewallPolicyRuleCollectionGroupDraft"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/flowLog.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/flowLog.go index 2373899c4..67402404d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/flowLog.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/flowLog.go @@ -15,7 +15,7 @@ import ( // A flow log resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type FlowLog struct { pulumi.CustomResourceState @@ -151,6 +151,9 @@ func NewFlowLog(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:FlowLog"), }, + { + Type: pulumi.String("azure-native:network/v20240501:FlowLog"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getActiveSessions.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getActiveSessions.go index 9582127a2..0da09456b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getActiveSessions.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getActiveSessions.go @@ -14,7 +14,7 @@ import ( // Returns the list of currently active sessions on the Bastion. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetActiveSessions(ctx *pulumi.Context, args *GetActiveSessionsArgs, opts ...pulumi.InvokeOption) (*GetActiveSessionsResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetActiveSessionsResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRule.go index c6b82932d..65345e4fe 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRule.go @@ -14,7 +14,7 @@ import ( // Gets a network manager security configuration admin rule. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. func LookupAdminRule(ctx *pulumi.Context, args *LookupAdminRuleArgs, opts ...pulumi.InvokeOption) (*LookupAdminRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupAdminRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRuleCollection.go index d259044c8..08dad966c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAdminRuleCollection.go @@ -14,7 +14,7 @@ import ( // Gets a network manager security admin configuration rule collection. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. func LookupAdminRuleCollection(ctx *pulumi.Context, args *LookupAdminRuleCollectionArgs, opts ...pulumi.InvokeOption) (*LookupAdminRuleCollectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupAdminRuleCollectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGateway.go index 0b0c4d8f3..d559105ee 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGateway.go @@ -14,7 +14,7 @@ import ( // Gets the specified application gateway. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupApplicationGateway(ctx *pulumi.Context, args *LookupApplicationGatewayArgs, opts ...pulumi.InvokeOption) (*LookupApplicationGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupApplicationGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayBackendHealthOnDemand.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayBackendHealthOnDemand.go index 8e461841d..a8d7c2326 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayBackendHealthOnDemand.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayBackendHealthOnDemand.go @@ -14,7 +14,7 @@ import ( // Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetApplicationGatewayBackendHealthOnDemand(ctx *pulumi.Context, args *GetApplicationGatewayBackendHealthOnDemandArgs, opts ...pulumi.InvokeOption) (*GetApplicationGatewayBackendHealthOnDemandResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetApplicationGatewayBackendHealthOnDemandResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayPrivateEndpointConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayPrivateEndpointConnection.go index 9482ae780..8adb09e02 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayPrivateEndpointConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationGatewayPrivateEndpointConnection.go @@ -14,7 +14,7 @@ import ( // Gets the specified private endpoint connection on application gateway. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupApplicationGatewayPrivateEndpointConnection(ctx *pulumi.Context, args *LookupApplicationGatewayPrivateEndpointConnectionArgs, opts ...pulumi.InvokeOption) (*LookupApplicationGatewayPrivateEndpointConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupApplicationGatewayPrivateEndpointConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationSecurityGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationSecurityGroup.go index 2cf071e82..e1948668e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationSecurityGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getApplicationSecurityGroup.go @@ -14,7 +14,7 @@ import ( // Gets information about the specified application security group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupApplicationSecurityGroup(ctx *pulumi.Context, args *LookupApplicationSecurityGroupArgs, opts ...pulumi.InvokeOption) (*LookupApplicationSecurityGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupApplicationSecurityGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAzureFirewall.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAzureFirewall.go index b21ad3cfe..e31b85e7f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAzureFirewall.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getAzureFirewall.go @@ -14,7 +14,7 @@ import ( // Gets the specified Azure Firewall. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupAzureFirewall(ctx *pulumi.Context, args *LookupAzureFirewallArgs, opts ...pulumi.InvokeOption) (*LookupAzureFirewallResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupAzureFirewallResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionHost.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionHost.go index 25f068467..4a8d425bf 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionHost.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionHost.go @@ -14,7 +14,7 @@ import ( // Gets the specified Bastion Host. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupBastionHost(ctx *pulumi.Context, args *LookupBastionHostArgs, opts ...pulumi.InvokeOption) (*LookupBastionHostResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupBastionHostResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionShareableLink.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionShareableLink.go index 8b814f1ad..1cab4a875 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionShareableLink.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getBastionShareableLink.go @@ -14,7 +14,7 @@ import ( // Return the Bastion Shareable Links for all the VMs specified in the request. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetBastionShareableLink(ctx *pulumi.Context, args *GetBastionShareableLinkArgs, opts ...pulumi.InvokeOption) (*GetBastionShareableLinkResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetBastionShareableLinkResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConfigurationPolicyGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConfigurationPolicyGroup.go index 9002da58c..2fc594cda 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConfigurationPolicyGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConfigurationPolicyGroup.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a ConfigurationPolicyGroup. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupConfigurationPolicyGroup(ctx *pulumi.Context, args *LookupConfigurationPolicyGroupArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationPolicyGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupConfigurationPolicyGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectionMonitor.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectionMonitor.go index 518dfe37a..043ead0c5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectionMonitor.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectionMonitor.go @@ -14,7 +14,7 @@ import ( // Gets a connection monitor by name. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-09-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-09-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupConnectionMonitor(ctx *pulumi.Context, args *LookupConnectionMonitorArgs, opts ...pulumi.InvokeOption) (*LookupConnectionMonitorResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupConnectionMonitorResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectivityConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectivityConfiguration.go index 5efcee401..62ca01b00 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectivityConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getConnectivityConfiguration.go @@ -14,7 +14,7 @@ import ( // Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupConnectivityConfiguration(ctx *pulumi.Context, args *LookupConnectivityConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConnectivityConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupConnectivityConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getCustomIPPrefix.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getCustomIPPrefix.go index 78d643a66..5c9ac0d41 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getCustomIPPrefix.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getCustomIPPrefix.go @@ -14,7 +14,7 @@ import ( // Gets the specified custom IP prefix in a specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupCustomIPPrefix(ctx *pulumi.Context, args *LookupCustomIPPrefixArgs, opts ...pulumi.InvokeOption) (*LookupCustomIPPrefixResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupCustomIPPrefixResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosCustomPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosCustomPolicy.go index 76f9ec211..d100b618a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosCustomPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosCustomPolicy.go @@ -14,7 +14,7 @@ import ( // Gets information about the specified DDoS custom policy. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2022-01-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2022-01-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupDdosCustomPolicy(ctx *pulumi.Context, args *LookupDdosCustomPolicyArgs, opts ...pulumi.InvokeOption) (*LookupDdosCustomPolicyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupDdosCustomPolicyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosProtectionPlan.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosProtectionPlan.go index 10f28bc5a..ed028249b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosProtectionPlan.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDdosProtectionPlan.go @@ -14,7 +14,7 @@ import ( // Gets information about the specified DDoS protection plan. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-02-01, 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupDdosProtectionPlan(ctx *pulumi.Context, args *LookupDdosProtectionPlanArgs, opts ...pulumi.InvokeOption) (*LookupDdosProtectionPlanResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupDdosProtectionPlanResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDscpConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDscpConfiguration.go index 97fedb77e..5750f5876 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDscpConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getDscpConfiguration.go @@ -14,7 +14,7 @@ import ( // Gets a DSCP Configuration. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupDscpConfiguration(ctx *pulumi.Context, args *LookupDscpConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupDscpConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupDscpConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getEndpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getEndpoint.go index c4d69b492..456a8ae90 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getEndpoint.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getEndpoint.go @@ -14,7 +14,7 @@ import ( // Gets a Traffic Manager endpoint. // Azure REST API version: 2022-04-01. // -// Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview. +// Other available API versions: 2022-04-01-preview. func LookupEndpoint(ctx *pulumi.Context, args *LookupEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEndpointResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupEndpointResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuit.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuit.go index 49d74ebcb..0c0373847 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuit.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuit.go @@ -14,7 +14,7 @@ import ( // Gets information about the specified express route circuit. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2018-12-01, 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-12-01, 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteCircuit(ctx *pulumi.Context, args *LookupExpressRouteCircuitArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteCircuitResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteCircuitResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitAuthorization.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitAuthorization.go index bb53452d6..7c30af71e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitAuthorization.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitAuthorization.go @@ -14,7 +14,7 @@ import ( // Gets the specified authorization from the specified express route circuit. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteCircuitAuthorization(ctx *pulumi.Context, args *LookupExpressRouteCircuitAuthorizationArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteCircuitAuthorizationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteCircuitAuthorizationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitConnection.go index f42052db2..7f0443af6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitConnection.go @@ -14,7 +14,7 @@ import ( // Gets the specified Express Route Circuit Connection from the specified express route circuit. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteCircuitConnection(ctx *pulumi.Context, args *LookupExpressRouteCircuitConnectionArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteCircuitConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteCircuitConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitPeering.go index 604c13a27..e59efedc6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCircuitPeering.go @@ -14,7 +14,7 @@ import ( // Gets the specified peering for the express route circuit. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2017-09-01, 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteCircuitPeering(ctx *pulumi.Context, args *LookupExpressRouteCircuitPeeringArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteCircuitPeeringResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteCircuitPeeringResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteConnection.go index 8e99b2649..9a7c1207f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteConnection.go @@ -14,7 +14,7 @@ import ( // Gets the specified ExpressRouteConnection. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteConnection(ctx *pulumi.Context, args *LookupExpressRouteConnectionArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCrossConnectionPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCrossConnectionPeering.go index 7229ec936..309b83abb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCrossConnectionPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteCrossConnectionPeering.go @@ -14,7 +14,7 @@ import ( // Gets the specified peering for the ExpressRouteCrossConnection. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteCrossConnectionPeering(ctx *pulumi.Context, args *LookupExpressRouteCrossConnectionPeeringArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteCrossConnectionPeeringResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteCrossConnectionPeeringResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteGateway.go index 6e8597863..c825429ff 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRouteGateway.go @@ -14,7 +14,7 @@ import ( // Fetches the details of a ExpressRoute gateway in a resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRouteGateway(ctx *pulumi.Context, args *LookupExpressRouteGatewayArgs, opts ...pulumi.InvokeOption) (*LookupExpressRouteGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRouteGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePort.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePort.go index 191f93769..1f7e06ee0 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePort.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePort.go @@ -14,7 +14,7 @@ import ( // Retrieves the requested ExpressRoutePort resource. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRoutePort(ctx *pulumi.Context, args *LookupExpressRoutePortArgs, opts ...pulumi.InvokeOption) (*LookupExpressRoutePortResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRoutePortResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePortAuthorization.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePortAuthorization.go index 244f66256..b50f85b3f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePortAuthorization.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getExpressRoutePortAuthorization.go @@ -14,7 +14,7 @@ import ( // Gets the specified authorization from the specified express route port. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupExpressRoutePortAuthorization(ctx *pulumi.Context, args *LookupExpressRoutePortAuthorizationArgs, opts ...pulumi.InvokeOption) (*LookupExpressRoutePortAuthorizationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupExpressRoutePortAuthorizationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicy.go index 8bcc0e998..312945009 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicy.go @@ -14,7 +14,7 @@ import ( // Gets the specified Firewall Policy. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2020-04-01, 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-04-01, 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupFirewallPolicy(ctx *pulumi.Context, args *LookupFirewallPolicyArgs, opts ...pulumi.InvokeOption) (*LookupFirewallPolicyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupFirewallPolicyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyDraft.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyDraft.go index ba9b106e3..f805f546b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyDraft.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyDraft.go @@ -14,7 +14,7 @@ import ( // Get a draft Firewall Policy. // Azure REST API version: 2023-11-01. // -// Other available API versions: 2024-01-01, 2024-03-01. +// Other available API versions: 2024-01-01, 2024-03-01, 2024-05-01. func LookupFirewallPolicyDraft(ctx *pulumi.Context, args *LookupFirewallPolicyDraftArgs, opts ...pulumi.InvokeOption) (*LookupFirewallPolicyDraftResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupFirewallPolicyDraftResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroup.go index 98d9984e6..f6f70176c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroup.go @@ -14,7 +14,7 @@ import ( // Gets the specified FirewallPolicyRuleCollectionGroup. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupFirewallPolicyRuleCollectionGroup(ctx *pulumi.Context, args *LookupFirewallPolicyRuleCollectionGroupArgs, opts ...pulumi.InvokeOption) (*LookupFirewallPolicyRuleCollectionGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupFirewallPolicyRuleCollectionGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroupDraft.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroupDraft.go index 6382fb564..5cdda4a03 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroupDraft.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFirewallPolicyRuleCollectionGroupDraft.go @@ -14,7 +14,7 @@ import ( // Get Rule Collection Group Draft. // Azure REST API version: 2023-11-01. // -// Other available API versions: 2024-01-01, 2024-03-01. +// Other available API versions: 2024-01-01, 2024-03-01, 2024-05-01. func LookupFirewallPolicyRuleCollectionGroupDraft(ctx *pulumi.Context, args *LookupFirewallPolicyRuleCollectionGroupDraftArgs, opts ...pulumi.InvokeOption) (*LookupFirewallPolicyRuleCollectionGroupDraftResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupFirewallPolicyRuleCollectionGroupDraftResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFlowLog.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFlowLog.go index 34e025093..a74ace6c9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFlowLog.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getFlowLog.go @@ -14,7 +14,7 @@ import ( // Gets a flow log resource by name. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupFlowLog(ctx *pulumi.Context, args *LookupFlowLogArgs, opts ...pulumi.InvokeOption) (*LookupFlowLogResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupFlowLogResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubRouteTable.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubRouteTable.go index 999e330c7..7d99a872c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubRouteTable.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubRouteTable.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a RouteTable. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupHubRouteTable(ctx *pulumi.Context, args *LookupHubRouteTableArgs, opts ...pulumi.InvokeOption) (*LookupHubRouteTableResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupHubRouteTableResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubVirtualNetworkConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubVirtualNetworkConnection.go index 960a18a0b..394d1cc59 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubVirtualNetworkConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getHubVirtualNetworkConnection.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a HubVirtualNetworkConnection. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupHubVirtualNetworkConnection(ctx *pulumi.Context, args *LookupHubVirtualNetworkConnectionArgs, opts ...pulumi.InvokeOption) (*LookupHubVirtualNetworkConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupHubVirtualNetworkConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getInboundNatRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getInboundNatRule.go index d8a888b42..bc0fb2e39 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getInboundNatRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getInboundNatRule.go @@ -14,7 +14,7 @@ import ( // Gets the specified load balancer inbound NAT rule. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupInboundNatRule(ctx *pulumi.Context, args *LookupInboundNatRuleArgs, opts ...pulumi.InvokeOption) (*LookupInboundNatRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupInboundNatRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpAllocation.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpAllocation.go index e2fb8c88c..754a5ebd9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpAllocation.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpAllocation.go @@ -14,7 +14,7 @@ import ( // Gets the specified IpAllocation by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupIpAllocation(ctx *pulumi.Context, args *LookupIpAllocationArgs, opts ...pulumi.InvokeOption) (*LookupIpAllocationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupIpAllocationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpGroup.go index 817e70161..d04f206e4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpGroup.go @@ -14,7 +14,7 @@ import ( // Gets the specified ipGroups. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupIpGroup(ctx *pulumi.Context, args *LookupIpGroupArgs, opts ...pulumi.InvokeOption) (*LookupIpGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupIpGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPool.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPool.go index 85d0ae156..341ba376d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPool.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPool.go @@ -13,6 +13,8 @@ import ( // Instance of Pool resource. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func LookupIpamPool(ctx *pulumi.Context, args *LookupIpamPoolArgs, opts ...pulumi.InvokeOption) (*LookupIpamPoolResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupIpamPoolResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPoolUsage.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPoolUsage.go index 3a1b40eab..bf62c25e6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPoolUsage.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getIpamPoolUsage.go @@ -13,6 +13,8 @@ import ( // IpamPool usage information. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func GetIpamPoolUsage(ctx *pulumi.Context, args *GetIpamPoolUsageArgs, opts ...pulumi.InvokeOption) (*GetIpamPoolUsageResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetIpamPoolUsageResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancer.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancer.go index 63bd9d57c..294c34a5b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancer.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancer.go @@ -14,7 +14,7 @@ import ( // Gets the specified load balancer. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2018-06-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-06-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupLoadBalancer(ctx *pulumi.Context, args *LookupLoadBalancerArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupLoadBalancerResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancerBackendAddressPool.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancerBackendAddressPool.go index b27ffd018..380ac8a57 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancerBackendAddressPool.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLoadBalancerBackendAddressPool.go @@ -14,7 +14,7 @@ import ( // Gets load balancer backend address pool. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupLoadBalancerBackendAddressPool(ctx *pulumi.Context, args *LookupLoadBalancerBackendAddressPoolArgs, opts ...pulumi.InvokeOption) (*LookupLoadBalancerBackendAddressPoolResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupLoadBalancerBackendAddressPoolResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLocalNetworkGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLocalNetworkGateway.go index c2cedfa03..f792a5386 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLocalNetworkGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getLocalNetworkGateway.go @@ -14,7 +14,7 @@ import ( // Gets the specified local network gateway in a resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-06-01, 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupLocalNetworkGateway(ctx *pulumi.Context, args *LookupLocalNetworkGatewayArgs, opts ...pulumi.InvokeOption) (*LookupLocalNetworkGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupLocalNetworkGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getManagementGroupNetworkManagerConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getManagementGroupNetworkManagerConnection.go index cd028b74b..153a3cc5d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getManagementGroupNetworkManagerConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getManagementGroupNetworkManagerConnection.go @@ -14,7 +14,7 @@ import ( // Get a specified connection created by this management group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupManagementGroupNetworkManagerConnection(ctx *pulumi.Context, args *LookupManagementGroupNetworkManagerConnectionArgs, opts ...pulumi.InvokeOption) (*LookupManagementGroupNetworkManagerConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupManagementGroupNetworkManagerConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatGateway.go index 2c0e98429..b6bcfdc22 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatGateway.go @@ -14,7 +14,7 @@ import ( // Gets the specified nat gateway in a specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNatGateway(ctx *pulumi.Context, args *LookupNatGatewayArgs, opts ...pulumi.InvokeOption) (*LookupNatGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNatGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatRule.go index 366ef1b31..c50b4e0a6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNatRule.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a nat ruleGet. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNatRule(ctx *pulumi.Context, args *LookupNatRuleArgs, opts ...pulumi.InvokeOption) (*LookupNatRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNatRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkGroup.go index da73c7d3c..9d775e6c6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkGroup.go @@ -14,7 +14,7 @@ import ( // Gets the specified network group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkGroup(ctx *pulumi.Context, args *LookupNetworkGroupArgs, opts ...pulumi.InvokeOption) (*LookupNetworkGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterface.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterface.go index fbce9cc8c..88bb4d86d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterface.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterface.go @@ -14,7 +14,7 @@ import ( // Gets information about the specified network interface. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2018-07-01, 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkInterface(ctx *pulumi.Context, args *LookupNetworkInterfaceArgs, opts ...pulumi.InvokeOption) (*LookupNetworkInterfaceResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkInterfaceResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterfaceTapConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterfaceTapConfiguration.go index 55d82b4ed..475f750fd 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterfaceTapConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkInterfaceTapConfiguration.go @@ -14,7 +14,7 @@ import ( // Get the specified tap configuration on a network interface. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkInterfaceTapConfiguration(ctx *pulumi.Context, args *LookupNetworkInterfaceTapConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupNetworkInterfaceTapConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkInterfaceTapConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManager.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManager.go index ab554b799..8e3784201 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManager.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManager.go @@ -14,7 +14,7 @@ import ( // Gets the specified Network Manager. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. func LookupNetworkManager(ctx *pulumi.Context, args *LookupNetworkManagerArgs, opts ...pulumi.InvokeOption) (*LookupNetworkManagerResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkManagerResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManagerRoutingConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManagerRoutingConfiguration.go index a080756b2..3748b6bd6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManagerRoutingConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkManagerRoutingConfiguration.go @@ -13,6 +13,8 @@ import ( // Retrieves a network manager routing configuration. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. func LookupNetworkManagerRoutingConfiguration(ctx *pulumi.Context, args *LookupNetworkManagerRoutingConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupNetworkManagerRoutingConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkManagerRoutingConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkProfile.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkProfile.go index 897d6105d..9b89254da 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkProfile.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkProfile.go @@ -14,7 +14,7 @@ import ( // Gets the specified network profile in a specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkProfile(ctx *pulumi.Context, args *LookupNetworkProfileArgs, opts ...pulumi.InvokeOption) (*LookupNetworkProfileResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkProfileResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkSecurityGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkSecurityGroup.go index 12701f5b2..1349e1724 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkSecurityGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkSecurityGroup.go @@ -14,7 +14,7 @@ import ( // Gets the specified network security group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkSecurityGroup(ctx *pulumi.Context, args *LookupNetworkSecurityGroupArgs, opts ...pulumi.InvokeOption) (*LookupNetworkSecurityGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkSecurityGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkVirtualAppliance.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkVirtualAppliance.go index c9c00c988..2f3e97c2b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkVirtualAppliance.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkVirtualAppliance.go @@ -14,7 +14,7 @@ import ( // Gets the specified Network Virtual Appliance. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkVirtualAppliance(ctx *pulumi.Context, args *LookupNetworkVirtualApplianceArgs, opts ...pulumi.InvokeOption) (*LookupNetworkVirtualApplianceResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkVirtualApplianceResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkWatcher.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkWatcher.go index 5da3cdfc4..46e5eea96 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkWatcher.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getNetworkWatcher.go @@ -14,7 +14,7 @@ import ( // Gets the specified network watcher by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-01-01, 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupNetworkWatcher(ctx *pulumi.Context, args *LookupNetworkWatcherArgs, opts ...pulumi.InvokeOption) (*LookupNetworkWatcherResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupNetworkWatcherResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGateway.go index 8f4ea1643..bcff5a96d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGateway.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a virtual wan p2s vpn gateway. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupP2sVpnGateway(ctx *pulumi.Context, args *LookupP2sVpnGatewayArgs, opts ...pulumi.InvokeOption) (*LookupP2sVpnGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupP2sVpnGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealth.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealth.go index d4145c250..b1fbfde01 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealth.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealth.go @@ -14,7 +14,7 @@ import ( // Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetP2sVpnGatewayP2sVpnConnectionHealth(ctx *pulumi.Context, args *GetP2sVpnGatewayP2sVpnConnectionHealthArgs, opts ...pulumi.InvokeOption) (*GetP2sVpnGatewayP2sVpnConnectionHealthResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetP2sVpnGatewayP2sVpnConnectionHealthResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealthDetailed.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealthDetailed.go index eadd21f47..f5addc373 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealthDetailed.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getP2sVpnGatewayP2sVpnConnectionHealthDetailed.go @@ -14,7 +14,7 @@ import ( // Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetP2sVpnGatewayP2sVpnConnectionHealthDetailed(ctx *pulumi.Context, args *GetP2sVpnGatewayP2sVpnConnectionHealthDetailedArgs, opts ...pulumi.InvokeOption) (*GetP2sVpnGatewayP2sVpnConnectionHealthDetailedResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetP2sVpnGatewayP2sVpnConnectionHealthDetailedResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPacketCapture.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPacketCapture.go index f3a21e981..706b795b3 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPacketCapture.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPacketCapture.go @@ -14,7 +14,7 @@ import ( // Gets a packet capture session by name. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-01-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPacketCapture(ctx *pulumi.Context, args *LookupPacketCaptureArgs, opts ...pulumi.InvokeOption) (*LookupPacketCaptureResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPacketCaptureResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateDnsZoneGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateDnsZoneGroup.go index 48e646065..b0015b372 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateDnsZoneGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateDnsZoneGroup.go @@ -14,7 +14,7 @@ import ( // Gets the private dns zone group resource by specified private dns zone group name. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPrivateDnsZoneGroup(ctx *pulumi.Context, args *LookupPrivateDnsZoneGroupArgs, opts ...pulumi.InvokeOption) (*LookupPrivateDnsZoneGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPrivateDnsZoneGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateEndpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateEndpoint.go index 9071fee8e..399d8a6d4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateEndpoint.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateEndpoint.go @@ -14,7 +14,7 @@ import ( // Gets the specified private endpoint by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPrivateEndpoint(ctx *pulumi.Context, args *LookupPrivateEndpointArgs, opts ...pulumi.InvokeOption) (*LookupPrivateEndpointResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPrivateEndpointResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkService.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkService.go index a9ace8f44..d233db63f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkService.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkService.go @@ -14,7 +14,7 @@ import ( // Gets the specified private link service by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPrivateLinkService(ctx *pulumi.Context, args *LookupPrivateLinkServiceArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinkServiceResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPrivateLinkServiceResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkServicePrivateEndpointConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkServicePrivateEndpointConnection.go index 52bff1a7e..ea06bd070 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkServicePrivateEndpointConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPrivateLinkServicePrivateEndpointConnection.go @@ -14,7 +14,7 @@ import ( // Get the specific private end point connection by specific private link service in the resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPrivateLinkServicePrivateEndpointConnection(ctx *pulumi.Context, args *LookupPrivateLinkServicePrivateEndpointConnectionArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinkServicePrivateEndpointConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPrivateLinkServicePrivateEndpointConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getProfile.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getProfile.go index 288578419..72fea7f0d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getProfile.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getProfile.go @@ -14,7 +14,7 @@ import ( // Gets a Traffic Manager profile. // Azure REST API version: 2022-04-01. // -// Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview. +// Other available API versions: 2022-04-01-preview. func LookupProfile(ctx *pulumi.Context, args *LookupProfileArgs, opts ...pulumi.InvokeOption) (*LookupProfileResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupProfileResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPAddress.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPAddress.go index e7b352001..d5738a6c8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPAddress.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPAddress.go @@ -14,7 +14,7 @@ import ( // Gets the specified public IP address in a specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-03-30, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPublicIPAddress(ctx *pulumi.Context, args *LookupPublicIPAddressArgs, opts ...pulumi.InvokeOption) (*LookupPublicIPAddressResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPublicIPAddressResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPPrefix.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPPrefix.go index e2bede633..a9e2f12cd 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPPrefix.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getPublicIPPrefix.go @@ -14,7 +14,7 @@ import ( // Gets the specified public IP prefix in a specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupPublicIPPrefix(ctx *pulumi.Context, args *LookupPublicIPPrefixArgs, opts ...pulumi.InvokeOption) (*LookupPublicIPPrefixResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupPublicIPPrefixResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisIntent.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisIntent.go index 4e1953fd0..26be61bec 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisIntent.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisIntent.go @@ -13,6 +13,8 @@ import ( // Configuration information or intent on which to do the analysis on. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func LookupReachabilityAnalysisIntent(ctx *pulumi.Context, args *LookupReachabilityAnalysisIntentArgs, opts ...pulumi.InvokeOption) (*LookupReachabilityAnalysisIntentResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupReachabilityAnalysisIntentResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisRun.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisRun.go index b460c3f42..00c30ea3e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisRun.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getReachabilityAnalysisRun.go @@ -13,6 +13,8 @@ import ( // Configuration information for analysis run. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func LookupReachabilityAnalysisRun(ctx *pulumi.Context, args *LookupReachabilityAnalysisRunArgs, opts ...pulumi.InvokeOption) (*LookupReachabilityAnalysisRunResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupReachabilityAnalysisRunResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRecordSet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRecordSet.go index aa381b386..46e34febe 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRecordSet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRecordSet.go @@ -14,7 +14,7 @@ import ( // Gets a record set. // Azure REST API version: 2018-05-01. // -// Other available API versions: 2015-05-04-preview, 2016-04-01, 2023-07-01-preview. +// Other available API versions: 2023-07-01-preview. func LookupRecordSet(ctx *pulumi.Context, args *LookupRecordSetArgs, opts ...pulumi.InvokeOption) (*LookupRecordSetResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRecordSetResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoute.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoute.go index a4e2338b2..5501a2727 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoute.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoute.go @@ -14,7 +14,7 @@ import ( // Gets the specified route from a route table. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupRoute(ctx *pulumi.Context, args *LookupRouteArgs, opts ...pulumi.InvokeOption) (*LookupRouteResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRouteResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilter.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilter.go index d60fda433..0ff1354df 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilter.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilter.go @@ -14,7 +14,7 @@ import ( // Gets the specified route filter. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupRouteFilter(ctx *pulumi.Context, args *LookupRouteFilterArgs, opts ...pulumi.InvokeOption) (*LookupRouteFilterResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRouteFilterResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilterRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilterRule.go index 31acf53aa..dd4d80e52 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilterRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteFilterRule.go @@ -14,7 +14,7 @@ import ( // Gets the specified rule from a route filter. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2017-03-01, 2017-10-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupRouteFilterRule(ctx *pulumi.Context, args *LookupRouteFilterRuleArgs, opts ...pulumi.InvokeOption) (*LookupRouteFilterRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRouteFilterRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteMap.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteMap.go index c29d73abd..845e29266 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteMap.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteMap.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a RouteMap. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupRouteMap(ctx *pulumi.Context, args *LookupRouteMapArgs, opts ...pulumi.InvokeOption) (*LookupRouteMapResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRouteMapResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteTable.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteTable.go index bae60ecab..ce6b761ed 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteTable.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRouteTable.go @@ -14,7 +14,7 @@ import ( // Gets the specified route table. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupRouteTable(ctx *pulumi.Context, args *LookupRouteTableArgs, opts ...pulumi.InvokeOption) (*LookupRouteTableResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRouteTableResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingIntent.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingIntent.go index 6b1c7aa37..8675f2d3b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingIntent.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingIntent.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a RoutingIntent. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupRoutingIntent(ctx *pulumi.Context, args *LookupRoutingIntentArgs, opts ...pulumi.InvokeOption) (*LookupRoutingIntentResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRoutingIntentResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRule.go index 3249a860b..4a1df9975 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRule.go @@ -13,6 +13,8 @@ import ( // Gets a network manager routing configuration routing rule. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. func LookupRoutingRule(ctx *pulumi.Context, args *LookupRoutingRuleArgs, opts ...pulumi.InvokeOption) (*LookupRoutingRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRoutingRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRuleCollection.go index 0affca60f..f5caba5ba 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getRoutingRuleCollection.go @@ -13,6 +13,8 @@ import ( // Gets a network manager routing configuration rule collection. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. func LookupRoutingRuleCollection(ctx *pulumi.Context, args *LookupRoutingRuleCollectionArgs, opts ...pulumi.InvokeOption) (*LookupRoutingRuleCollectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupRoutingRuleCollectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getScopeConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getScopeConnection.go index 411dc7491..90463f538 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getScopeConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getScopeConnection.go @@ -14,7 +14,7 @@ import ( // Get specified scope connection created by this Network Manager. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupScopeConnection(ctx *pulumi.Context, args *LookupScopeConnectionArgs, opts ...pulumi.InvokeOption) (*LookupScopeConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupScopeConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityAdminConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityAdminConfiguration.go index e7edb561b..8ad30e6dd 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityAdminConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityAdminConfiguration.go @@ -14,7 +14,7 @@ import ( // Retrieves a network manager security admin configuration. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. func LookupSecurityAdminConfiguration(ctx *pulumi.Context, args *LookupSecurityAdminConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupSecurityAdminConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSecurityAdminConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityPartnerProvider.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityPartnerProvider.go index 6f757bd8c..19127e23a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityPartnerProvider.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityPartnerProvider.go @@ -14,7 +14,7 @@ import ( // Gets the specified Security Partner Provider. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupSecurityPartnerProvider(ctx *pulumi.Context, args *LookupSecurityPartnerProviderArgs, opts ...pulumi.InvokeOption) (*LookupSecurityPartnerProviderResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSecurityPartnerProviderResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityRule.go index de5353b84..8923f5268 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityRule.go @@ -14,7 +14,7 @@ import ( // Get the specified network security rule. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2017-03-01, 2019-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupSecurityRule(ctx *pulumi.Context, args *LookupSecurityRuleArgs, opts ...pulumi.InvokeOption) (*LookupSecurityRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSecurityRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserConfiguration.go index 6d3d32b6f..7d935bedc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserConfiguration.go @@ -14,7 +14,7 @@ import ( // Retrieves a network manager security user configuration. // Azure REST API version: 2022-04-01-preview. // -// Other available API versions: 2021-05-01-preview, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2024-03-01, 2024-05-01. func LookupSecurityUserConfiguration(ctx *pulumi.Context, args *LookupSecurityUserConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupSecurityUserConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSecurityUserConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRule.go index e7f3b4d59..ecb964af7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRule.go @@ -13,6 +13,8 @@ import ( // Gets a security user rule. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. func LookupSecurityUserRule(ctx *pulumi.Context, args *LookupSecurityUserRuleArgs, opts ...pulumi.InvokeOption) (*LookupSecurityUserRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSecurityUserRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRuleCollection.go index 3c5b1acf3..9008b8e18 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSecurityUserRuleCollection.go @@ -13,6 +13,8 @@ import ( // Gets a network manager security user configuration rule collection. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. func LookupSecurityUserRuleCollection(ctx *pulumi.Context, args *LookupSecurityUserRuleCollectionArgs, opts ...pulumi.InvokeOption) (*LookupSecurityUserRuleCollectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSecurityUserRuleCollectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicy.go index 4e78e5b95..89a618251 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicy.go @@ -14,7 +14,7 @@ import ( // Gets the specified service Endpoint Policies in a specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupServiceEndpointPolicy(ctx *pulumi.Context, args *LookupServiceEndpointPolicyArgs, opts ...pulumi.InvokeOption) (*LookupServiceEndpointPolicyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupServiceEndpointPolicyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicyDefinition.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicyDefinition.go index 8e24d3a0e..1f50030cb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicyDefinition.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getServiceEndpointPolicyDefinition.go @@ -14,7 +14,7 @@ import ( // Get the specified service endpoint policy definitions from service endpoint policy. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupServiceEndpointPolicyDefinition(ctx *pulumi.Context, args *LookupServiceEndpointPolicyDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupServiceEndpointPolicyDefinitionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupServiceEndpointPolicyDefinitionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticCidr.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticCidr.go index 7835a6199..62a62f205 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticCidr.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticCidr.go @@ -13,6 +13,8 @@ import ( // Instance of StaticCidr resource. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func LookupStaticCidr(ctx *pulumi.Context, args *LookupStaticCidrArgs, opts ...pulumi.InvokeOption) (*LookupStaticCidrResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupStaticCidrResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticMember.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticMember.go index 143e93c6e..d142202ac 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticMember.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getStaticMember.go @@ -14,7 +14,7 @@ import ( // Gets the specified static member. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupStaticMember(ctx *pulumi.Context, args *LookupStaticMemberArgs, opts ...pulumi.InvokeOption) (*LookupStaticMemberResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupStaticMemberResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubnet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubnet.go index a86d26866..b433688ce 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubnet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubnet.go @@ -14,7 +14,7 @@ import ( // Gets the specified subnet by virtual network and resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-02-01, 2019-06-01, 2019-08-01, 2020-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-02-01, 2019-06-01, 2019-08-01, 2020-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupSubnet(ctx *pulumi.Context, args *LookupSubnetArgs, opts ...pulumi.InvokeOption) (*LookupSubnetResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSubnetResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubscriptionNetworkManagerConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubscriptionNetworkManagerConnection.go index 41a7d0e6b..c34183106 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubscriptionNetworkManagerConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getSubscriptionNetworkManagerConnection.go @@ -14,7 +14,7 @@ import ( // Get a specified connection created by this subscription. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupSubscriptionNetworkManagerConnection(ctx *pulumi.Context, args *LookupSubscriptionNetworkManagerConnectionArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionNetworkManagerConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupSubscriptionNetworkManagerConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getTrafficManagerUserMetricsKey.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getTrafficManagerUserMetricsKey.go index b4040a613..f31895ae2 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getTrafficManagerUserMetricsKey.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getTrafficManagerUserMetricsKey.go @@ -14,7 +14,7 @@ import ( // Get the subscription-level key used for Real User Metrics collection. // Azure REST API version: 2022-04-01. // -// Other available API versions: 2017-09-01-preview, 2022-04-01-preview. +// Other available API versions: 2022-04-01-preview. func LookupTrafficManagerUserMetricsKey(ctx *pulumi.Context, args *LookupTrafficManagerUserMetricsKeyArgs, opts ...pulumi.InvokeOption) (*LookupTrafficManagerUserMetricsKeyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupTrafficManagerUserMetricsKeyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVerifierWorkspace.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVerifierWorkspace.go index a6a7c09de..d92822108 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVerifierWorkspace.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVerifierWorkspace.go @@ -13,6 +13,8 @@ import ( // Instance of Verifier Workspace. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func LookupVerifierWorkspace(ctx *pulumi.Context, args *LookupVerifierWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupVerifierWorkspaceResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVerifierWorkspaceResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualApplianceSite.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualApplianceSite.go index 238ecd0de..4eb72ef2d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualApplianceSite.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualApplianceSite.go @@ -14,7 +14,7 @@ import ( // Gets the specified Virtual Appliance Site. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualApplianceSite(ctx *pulumi.Context, args *LookupVirtualApplianceSiteArgs, opts ...pulumi.InvokeOption) (*LookupVirtualApplianceSiteResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualApplianceSiteResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHub.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHub.go index db1b027cc..bf6072e37 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHub.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHub.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a VirtualHub. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-07-01, 2020-04-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2020-04-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualHub(ctx *pulumi.Context, args *LookupVirtualHubArgs, opts ...pulumi.InvokeOption) (*LookupVirtualHubResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualHubResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubBgpConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubBgpConnection.go index 3f71b1463..83d3625e9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubBgpConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubBgpConnection.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a Virtual Hub Bgp Connection. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualHubBgpConnection(ctx *pulumi.Context, args *LookupVirtualHubBgpConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVirtualHubBgpConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualHubBgpConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubIpConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubIpConfiguration.go index 33a22f50f..c44fc53c9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubIpConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubIpConfiguration.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a Virtual Hub Ip configuration. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualHubIpConfiguration(ctx *pulumi.Context, args *LookupVirtualHubIpConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupVirtualHubIpConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualHubIpConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubRouteTableV2.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubRouteTableV2.go index 4af619bcf..828242db9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubRouteTableV2.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualHubRouteTableV2.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a VirtualHubRouteTableV2. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualHubRouteTableV2(ctx *pulumi.Context, args *LookupVirtualHubRouteTableV2Args, opts ...pulumi.InvokeOption) (*LookupVirtualHubRouteTableV2Result, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualHubRouteTableV2Result diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetwork.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetwork.go index 8fd0c25a8..cde7dd343 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetwork.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetwork.go @@ -14,7 +14,7 @@ import ( // Gets the specified virtual network by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2015-05-01-preview, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualNetwork(ctx *pulumi.Context, args *LookupVirtualNetworkArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualNetworkResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGateway.go index da89b037c..c112f736d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGateway.go @@ -14,7 +14,7 @@ import ( // Gets the specified virtual network gateway by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-06-01, 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualNetworkGateway(ctx *pulumi.Context, args *LookupVirtualNetworkGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualNetworkGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayAdvertisedRoutes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayAdvertisedRoutes.go index edc0f6c89..5ba8aa48a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayAdvertisedRoutes.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayAdvertisedRoutes.go @@ -14,7 +14,7 @@ import ( // This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayAdvertisedRoutes(ctx *pulumi.Context, args *GetVirtualNetworkGatewayAdvertisedRoutesArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayAdvertisedRoutesResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayAdvertisedRoutesResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayBgpPeerStatus.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayBgpPeerStatus.go index 4a01ddb69..b030a523d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayBgpPeerStatus.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayBgpPeerStatus.go @@ -14,7 +14,7 @@ import ( // The GetBgpPeerStatus operation retrieves the status of all BGP peers. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayBgpPeerStatus(ctx *pulumi.Context, args *GetVirtualNetworkGatewayBgpPeerStatusArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayBgpPeerStatusResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayBgpPeerStatusResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnection.go index bde252e10..7035499bb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnection.go @@ -14,7 +14,7 @@ import ( // Gets the specified virtual network gateway connection by resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualNetworkGatewayConnection(ctx *pulumi.Context, args *LookupVirtualNetworkGatewayConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkGatewayConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualNetworkGatewayConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnectionIkeSas.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnectionIkeSas.go index 40da2fc32..5197f88b0 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnectionIkeSas.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayConnectionIkeSas.go @@ -14,7 +14,7 @@ import ( // Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayConnectionIkeSas(ctx *pulumi.Context, args *GetVirtualNetworkGatewayConnectionIkeSasArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayConnectionIkeSasResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayConnectionIkeSasResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayLearnedRoutes.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayLearnedRoutes.go index 109e547c8..9fc83f8f3 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayLearnedRoutes.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayLearnedRoutes.go @@ -14,7 +14,7 @@ import ( // This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayLearnedRoutes(ctx *pulumi.Context, args *GetVirtualNetworkGatewayLearnedRoutesArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayLearnedRoutesResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayLearnedRoutesResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayNatRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayNatRule.go index 837f1f2b1..701f4bb65 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayNatRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayNatRule.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a nat rule. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualNetworkGatewayNatRule(ctx *pulumi.Context, args *LookupVirtualNetworkGatewayNatRuleArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkGatewayNatRuleResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualNetworkGatewayNatRuleResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnProfilePackageUrl.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnProfilePackageUrl.go index b2653e7f3..a5d7fda67 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnProfilePackageUrl.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnProfilePackageUrl.go @@ -14,7 +14,7 @@ import ( // Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayVpnProfilePackageUrl(ctx *pulumi.Context, args *GetVirtualNetworkGatewayVpnProfilePackageUrlArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayVpnProfilePackageUrlResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayVpnProfilePackageUrlResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientConnectionHealth.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientConnectionHealth.go index a9a0a0b9b..d05bf59fb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientConnectionHealth.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientConnectionHealth.go @@ -14,7 +14,7 @@ import ( // Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayVpnclientConnectionHealth(ctx *pulumi.Context, args *GetVirtualNetworkGatewayVpnclientConnectionHealthArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayVpnclientConnectionHealthResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayVpnclientConnectionHealthResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientIpsecParameters.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientIpsecParameters.go index 1a527c280..d31bc37ec 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientIpsecParameters.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkGatewayVpnclientIpsecParameters.go @@ -14,7 +14,7 @@ import ( // The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVirtualNetworkGatewayVpnclientIpsecParameters(ctx *pulumi.Context, args *GetVirtualNetworkGatewayVpnclientIpsecParametersArgs, opts ...pulumi.InvokeOption) (*GetVirtualNetworkGatewayVpnclientIpsecParametersResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVirtualNetworkGatewayVpnclientIpsecParametersResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkPeering.go index a5809ac30..4f3c0b99e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkPeering.go @@ -14,7 +14,7 @@ import ( // Gets the specified virtual network peering. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualNetworkPeering(ctx *pulumi.Context, args *LookupVirtualNetworkPeeringArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkPeeringResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualNetworkPeeringResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkTap.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkTap.go index 10a31368f..b0f676a5c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkTap.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualNetworkTap.go @@ -14,7 +14,7 @@ import ( // Gets information about the specified virtual network tap. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualNetworkTap(ctx *pulumi.Context, args *LookupVirtualNetworkTapArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkTapResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualNetworkTapResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouter.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouter.go index 475707a22..099af3a3d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouter.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouter.go @@ -14,7 +14,7 @@ import ( // Gets the specified Virtual Router. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualRouter(ctx *pulumi.Context, args *LookupVirtualRouterArgs, opts ...pulumi.InvokeOption) (*LookupVirtualRouterResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualRouterResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouterPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouterPeering.go index ef5848c22..e13e2a508 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouterPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualRouterPeering.go @@ -14,7 +14,7 @@ import ( // Gets the specified Virtual Router Peering. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualRouterPeering(ctx *pulumi.Context, args *LookupVirtualRouterPeeringArgs, opts ...pulumi.InvokeOption) (*LookupVirtualRouterPeeringResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualRouterPeeringResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualWan.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualWan.go index 0ff194d5c..746af5873 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualWan.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVirtualWan.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a VirtualWAN. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVirtualWan(ctx *pulumi.Context, args *LookupVirtualWanArgs, opts ...pulumi.InvokeOption) (*LookupVirtualWanResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVirtualWanResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnConnection.go index de744db49..54bd47cdf 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnConnection.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a vpn connection. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-04-01, 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVpnConnection(ctx *pulumi.Context, args *LookupVpnConnectionArgs, opts ...pulumi.InvokeOption) (*LookupVpnConnectionResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVpnConnectionResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnGateway.go index 04d89540f..790a2ffac 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnGateway.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a virtual wan vpn gateway. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVpnGateway(ctx *pulumi.Context, args *LookupVpnGatewayArgs, opts ...pulumi.InvokeOption) (*LookupVpnGatewayResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVpnGatewayResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnLinkConnectionIkeSas.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnLinkConnectionIkeSas.go index a0d4a2c4f..fee22cd40 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnLinkConnectionIkeSas.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnLinkConnectionIkeSas.go @@ -14,7 +14,7 @@ import ( // Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func GetVpnLinkConnectionIkeSas(ctx *pulumi.Context, args *GetVpnLinkConnectionIkeSasArgs, opts ...pulumi.InvokeOption) (*GetVpnLinkConnectionIkeSasResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv GetVpnLinkConnectionIkeSasResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnServerConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnServerConfiguration.go index 6e25df722..9c407a362 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnServerConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnServerConfiguration.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a VpnServerConfiguration. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVpnServerConfiguration(ctx *pulumi.Context, args *LookupVpnServerConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupVpnServerConfigurationResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVpnServerConfigurationResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnSite.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnSite.go index d86001ae9..63af8a736 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnSite.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getVpnSite.go @@ -14,7 +14,7 @@ import ( // Retrieves the details of a VPN site. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupVpnSite(ctx *pulumi.Context, args *LookupVpnSiteArgs, opts ...pulumi.InvokeOption) (*LookupVpnSiteResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupVpnSiteResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getWebApplicationFirewallPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getWebApplicationFirewallPolicy.go index 52d4d9181..c15cb28b8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getWebApplicationFirewallPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getWebApplicationFirewallPolicy.go @@ -14,7 +14,7 @@ import ( // Retrieve protection policy with specified name within a resource group. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func LookupWebApplicationFirewallPolicy(ctx *pulumi.Context, args *LookupWebApplicationFirewallPolicyArgs, opts ...pulumi.InvokeOption) (*LookupWebApplicationFirewallPolicyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupWebApplicationFirewallPolicyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getZone.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getZone.go index c0182cdbe..d84a0ee7a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getZone.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/getZone.go @@ -14,7 +14,7 @@ import ( // Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. // Azure REST API version: 2018-05-01. // -// Other available API versions: 2015-05-04-preview, 2016-04-01, 2023-07-01-preview. +// Other available API versions: 2023-07-01-preview. func LookupZone(ctx *pulumi.Context, args *LookupZoneArgs, opts ...pulumi.InvokeOption) (*LookupZoneResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupZoneResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubRouteTable.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubRouteTable.go index b5731bd2d..866ae2284 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubRouteTable.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubRouteTable.go @@ -15,7 +15,7 @@ import ( // RouteTable resource in a virtual hub. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type HubRouteTable struct { pulumi.CustomResourceState @@ -120,6 +120,9 @@ func NewHubRouteTable(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:HubRouteTable"), }, + { + Type: pulumi.String("azure-native:network/v20240501:HubRouteTable"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubVirtualNetworkConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubVirtualNetworkConnection.go index 7c2beeae5..68f66bbca 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubVirtualNetworkConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/hubVirtualNetworkConnection.go @@ -15,7 +15,7 @@ import ( // HubVirtualNetworkConnection Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type HubVirtualNetworkConnection struct { pulumi.CustomResourceState @@ -117,6 +117,9 @@ func NewHubVirtualNetworkConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:HubVirtualNetworkConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:HubVirtualNetworkConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/inboundNatRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/inboundNatRule.go index 6ba07e066..7d80da0d8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/inboundNatRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/inboundNatRule.go @@ -15,7 +15,7 @@ import ( // Inbound NAT rule of the load balancer. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type InboundNatRule struct { pulumi.CustomResourceState @@ -203,6 +203,9 @@ func NewInboundNatRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:InboundNatRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:InboundNatRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/interfaceEndpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/interfaceEndpoint.go index a5bf9f002..72d731930 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/interfaceEndpoint.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/interfaceEndpoint.go @@ -163,6 +163,9 @@ func NewInterfaceEndpoint(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:InterfaceEndpoint"), }, + { + Type: pulumi.String("azure-native:network/v20240501:InterfaceEndpoint"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipAllocation.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipAllocation.go index f5e2fba2c..a75e360dc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipAllocation.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipAllocation.go @@ -15,7 +15,7 @@ import ( // IpAllocation resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type IpAllocation struct { pulumi.CustomResourceState @@ -131,6 +131,9 @@ func NewIpAllocation(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:IpAllocation"), }, + { + Type: pulumi.String("azure-native:network/v20240501:IpAllocation"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipGroup.go index 2869261d2..327db39e4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipGroup.go @@ -15,7 +15,7 @@ import ( // The IpGroups resource information. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type IpGroup struct { pulumi.CustomResourceState @@ -131,6 +131,9 @@ func NewIpGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:IpGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:IpGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipamPool.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipamPool.go index 001db3ee9..3cc969f18 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipamPool.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/ipamPool.go @@ -14,6 +14,8 @@ import ( // Instance of Pool resource. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. type IpamPool struct { pulumi.CustomResourceState @@ -48,6 +50,9 @@ func NewIpamPool(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240101preview:IpamPool"), }, + { + Type: pulumi.String("azure-native:network/v20240501:IpamPool"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveConnectivityConfigurations.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveConnectivityConfigurations.go index 3bf414d0a..99c96ab10 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveConnectivityConfigurations.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveConnectivityConfigurations.go @@ -14,7 +14,7 @@ import ( // Lists active connectivity configurations in a network manager. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func ListActiveConnectivityConfigurations(ctx *pulumi.Context, args *ListActiveConnectivityConfigurationsArgs, opts ...pulumi.InvokeOption) (*ListActiveConnectivityConfigurationsResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListActiveConnectivityConfigurationsResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveSecurityAdminRules.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveSecurityAdminRules.go index e43a56a56..f4786d01f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveSecurityAdminRules.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listActiveSecurityAdminRules.go @@ -14,7 +14,7 @@ import ( // Lists active security admin rules in a network manager. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func ListActiveSecurityAdminRules(ctx *pulumi.Context, args *ListActiveSecurityAdminRulesArgs, opts ...pulumi.InvokeOption) (*ListActiveSecurityAdminRulesResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListActiveSecurityAdminRulesResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignature.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignature.go index 3a83e14bf..6a3f05f2c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignature.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignature.go @@ -14,7 +14,7 @@ import ( // Retrieves the current status of IDPS signatures for the relevant policy // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func ListFirewallPolicyIdpsSignature(ctx *pulumi.Context, args *ListFirewallPolicyIdpsSignatureArgs, opts ...pulumi.InvokeOption) (*ListFirewallPolicyIdpsSignatureResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListFirewallPolicyIdpsSignatureResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignaturesFilterValue.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignaturesFilterValue.go index 8bf707643..1a6dea114 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignaturesFilterValue.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listFirewallPolicyIdpsSignaturesFilterValue.go @@ -14,7 +14,7 @@ import ( // Retrieves the current filter values for the signatures overrides // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func ListFirewallPolicyIdpsSignaturesFilterValue(ctx *pulumi.Context, args *ListFirewallPolicyIdpsSignaturesFilterValueArgs, opts ...pulumi.InvokeOption) (*ListFirewallPolicyIdpsSignaturesFilterValueResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListFirewallPolicyIdpsSignaturesFilterValueResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listIpamPoolAssociatedResources.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listIpamPoolAssociatedResources.go index a08cf9549..c844b708a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listIpamPoolAssociatedResources.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listIpamPoolAssociatedResources.go @@ -13,6 +13,8 @@ import ( // List of PoolAssociation // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. func ListIpamPoolAssociatedResources(ctx *pulumi.Context, args *ListIpamPoolAssociatedResourcesArgs, opts ...pulumi.InvokeOption) (*ListIpamPoolAssociatedResourcesResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListIpamPoolAssociatedResourcesResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerDeploymentStatus.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerDeploymentStatus.go index 77cc04e30..a61a775a1 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerDeploymentStatus.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerDeploymentStatus.go @@ -14,7 +14,7 @@ import ( // Post to List of Network Manager Deployment Status. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. func ListNetworkManagerDeploymentStatus(ctx *pulumi.Context, args *ListNetworkManagerDeploymentStatusArgs, opts ...pulumi.InvokeOption) (*ListNetworkManagerDeploymentStatusResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListNetworkManagerDeploymentStatusResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveConnectivityConfigurations.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveConnectivityConfigurations.go index de994a79d..6f4560ba5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveConnectivityConfigurations.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveConnectivityConfigurations.go @@ -14,7 +14,7 @@ import ( // List all effective connectivity configurations applied on a virtual network. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-05-01-preview, 2022-02-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2022-02-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func ListNetworkManagerEffectiveConnectivityConfigurations(ctx *pulumi.Context, args *ListNetworkManagerEffectiveConnectivityConfigurationsArgs, opts ...pulumi.InvokeOption) (*ListNetworkManagerEffectiveConnectivityConfigurationsResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListNetworkManagerEffectiveConnectivityConfigurationsResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveSecurityAdminRules.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveSecurityAdminRules.go index 5c8234ebc..1202cd846 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveSecurityAdminRules.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listNetworkManagerEffectiveSecurityAdminRules.go @@ -14,7 +14,7 @@ import ( // List all effective security admin rules applied on a virtual network. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2021-05-01-preview, 2022-02-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2022-02-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. func ListNetworkManagerEffectiveSecurityAdminRules(ctx *pulumi.Context, args *ListNetworkManagerEffectiveSecurityAdminRulesArgs, opts ...pulumi.InvokeOption) (*ListNetworkManagerEffectiveSecurityAdminRulesResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListNetworkManagerEffectiveSecurityAdminRulesResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listVpnLinkConnectionDefaultSharedKey.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listVpnLinkConnectionDefaultSharedKey.go index bf7a058da..c324c9a78 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listVpnLinkConnectionDefaultSharedKey.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/listVpnLinkConnectionDefaultSharedKey.go @@ -13,6 +13,8 @@ import ( // Gets the value of the shared key of VpnLink connection specified. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. func ListVpnLinkConnectionDefaultSharedKey(ctx *pulumi.Context, args *ListVpnLinkConnectionDefaultSharedKeyArgs, opts ...pulumi.InvokeOption) (*ListVpnLinkConnectionDefaultSharedKeyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListVpnLinkConnectionDefaultSharedKeyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancer.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancer.go index c1b7615b7..53aa15e8b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancer.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancer.go @@ -15,7 +15,7 @@ import ( // LoadBalancer resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2018-06-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-06-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type LoadBalancer struct { pulumi.CustomResourceState @@ -223,6 +223,9 @@ func NewLoadBalancer(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:LoadBalancer"), }, + { + Type: pulumi.String("azure-native:network/v20240501:LoadBalancer"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancerBackendAddressPool.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancerBackendAddressPool.go index 28bcea039..8e8c92334 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancerBackendAddressPool.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/loadBalancerBackendAddressPool.go @@ -15,7 +15,7 @@ import ( // Pool of backend IP addresses. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type LoadBalancerBackendAddressPool struct { pulumi.CustomResourceState @@ -132,6 +132,9 @@ func NewLoadBalancerBackendAddressPool(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:LoadBalancerBackendAddressPool"), }, + { + Type: pulumi.String("azure-native:network/v20240501:LoadBalancerBackendAddressPool"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/localNetworkGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/localNetworkGateway.go index 6d272f11c..c3297fd86 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/localNetworkGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/localNetworkGateway.go @@ -15,7 +15,7 @@ import ( // A common class for general resource information. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2016-06-01, 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type LocalNetworkGateway struct { pulumi.CustomResourceState @@ -210,6 +210,9 @@ func NewLocalNetworkGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:LocalNetworkGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:LocalNetworkGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/managementGroupNetworkManagerConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/managementGroupNetworkManagerConnection.go index 37fdf8aad..fb6bcb37a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/managementGroupNetworkManagerConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/managementGroupNetworkManagerConnection.go @@ -15,7 +15,7 @@ import ( // The Network Manager Connection resource // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-05-01-preview. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ManagementGroupNetworkManagerConnection struct { pulumi.CustomResourceState @@ -89,6 +89,9 @@ func NewManagementGroupNetworkManagerConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ManagementGroupNetworkManagerConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ManagementGroupNetworkManagerConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natGateway.go index cd871c4d2..ceb236aad 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natGateway.go @@ -15,7 +15,7 @@ import ( // Nat Gateway resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NatGateway struct { pulumi.CustomResourceState @@ -154,6 +154,9 @@ func NewNatGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NatGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NatGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natRule.go index fdf334365..6035770a4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/natRule.go @@ -15,7 +15,7 @@ import ( // VpnGatewayNatRule Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NatRule struct { pulumi.CustomResourceState @@ -112,6 +112,9 @@ func NewNatRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NatRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NatRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkGroup.go index 94217301c..a16e20cf7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkGroup.go @@ -15,7 +15,7 @@ import ( // The network group resource // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2022-04-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkGroup struct { pulumi.CustomResourceState @@ -100,6 +100,9 @@ func NewNetworkGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterface.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterface.go index a83eb72e4..2fcfd5225 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterface.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterface.go @@ -15,7 +15,7 @@ import ( // A network interface in a resource group. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2018-07-01, 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2019-02-01, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkInterface struct { pulumi.CustomResourceState @@ -247,6 +247,9 @@ func NewNetworkInterface(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkInterface"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkInterface"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterfaceTapConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterfaceTapConfiguration.go index fa920ed87..245b45c35 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterfaceTapConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkInterfaceTapConfiguration.go @@ -15,7 +15,7 @@ import ( // Tap configuration in a Network Interface. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkInterfaceTapConfiguration struct { pulumi.CustomResourceState @@ -156,6 +156,9 @@ func NewNetworkInterfaceTapConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkInterfaceTapConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkInterfaceTapConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManager.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManager.go index c9d1770cb..d8a94b63d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManager.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManager.go @@ -15,7 +15,7 @@ import ( // The Managed Network resource // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-02-01-preview, 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. type NetworkManager struct { pulumi.CustomResourceState @@ -114,6 +114,9 @@ func NewNetworkManager(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkManager"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkManager"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManagerRoutingConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManagerRoutingConfiguration.go index 9c5cdda34..6ee4cb274 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManagerRoutingConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkManagerRoutingConfiguration.go @@ -14,6 +14,8 @@ import ( // Defines the routing configuration // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. type NetworkManagerRoutingConfiguration struct { pulumi.CustomResourceState @@ -50,6 +52,9 @@ func NewNetworkManagerRoutingConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkManagerRoutingConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkManagerRoutingConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkProfile.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkProfile.go index d5989ba5f..f29a18888 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkProfile.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkProfile.go @@ -15,7 +15,7 @@ import ( // Network profile resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkProfile struct { pulumi.CustomResourceState @@ -158,6 +158,9 @@ func NewNetworkProfile(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkProfile"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkProfile"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkSecurityGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkSecurityGroup.go index 952142985..3143c7c84 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkSecurityGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkSecurityGroup.go @@ -15,7 +15,7 @@ import ( // NetworkSecurityGroup resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkSecurityGroup struct { pulumi.CustomResourceState @@ -217,6 +217,9 @@ func NewNetworkSecurityGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkSecurityGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkSecurityGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkVirtualAppliance.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkVirtualAppliance.go index 5613f4338..d4f761d96 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkVirtualAppliance.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkVirtualAppliance.go @@ -15,7 +15,7 @@ import ( // NetworkVirtualAppliance Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-04-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkVirtualAppliance struct { pulumi.CustomResourceState @@ -151,6 +151,9 @@ func NewNetworkVirtualAppliance(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkVirtualAppliance"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkVirtualAppliance"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkWatcher.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkWatcher.go index 78fb0323f..51cc52354 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkWatcher.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/networkWatcher.go @@ -15,7 +15,7 @@ import ( // Network watcher in a resource group. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-01-01, 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2022-05-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type NetworkWatcher struct { pulumi.CustomResourceState @@ -191,6 +191,9 @@ func NewNetworkWatcher(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:NetworkWatcher"), }, + { + Type: pulumi.String("azure-native:network/v20240501:NetworkWatcher"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/p2sVpnGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/p2sVpnGateway.go index 4ff9108b8..abd09a09e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/p2sVpnGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/p2sVpnGateway.go @@ -15,7 +15,7 @@ import ( // P2SVpnGateway Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type P2sVpnGateway struct { pulumi.CustomResourceState @@ -166,6 +166,9 @@ func NewP2sVpnGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:P2sVpnGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:P2sVpnGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/packetCapture.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/packetCapture.go index f1b22cf67..6df281568 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/packetCapture.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/packetCapture.go @@ -15,7 +15,7 @@ import ( // Information about packet capture session. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-01-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PacketCapture struct { pulumi.CustomResourceState @@ -219,6 +219,9 @@ func NewPacketCapture(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PacketCapture"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PacketCapture"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateDnsZoneGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateDnsZoneGroup.go index bdc1b5f76..fe2656077 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateDnsZoneGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateDnsZoneGroup.go @@ -15,7 +15,7 @@ import ( // Private dns zone group resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PrivateDnsZoneGroup struct { pulumi.CustomResourceState @@ -115,6 +115,9 @@ func NewPrivateDnsZoneGroup(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PrivateDnsZoneGroup"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PrivateDnsZoneGroup"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateEndpoint.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateEndpoint.go index 7081fb5bf..ed63042e5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateEndpoint.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateEndpoint.go @@ -15,7 +15,7 @@ import ( // Private endpoint resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PrivateEndpoint struct { pulumi.CustomResourceState @@ -173,6 +173,9 @@ func NewPrivateEndpoint(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PrivateEndpoint"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PrivateEndpoint"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkService.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkService.go index a200d9acf..89d2505f1 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkService.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkService.go @@ -15,7 +15,7 @@ import ( // Private link service resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-08-01, 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2021-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PrivateLinkService struct { pulumi.CustomResourceState @@ -157,6 +157,9 @@ func NewPrivateLinkService(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PrivateLinkService"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PrivateLinkService"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkServicePrivateEndpointConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkServicePrivateEndpointConnection.go index 18e874361..5d5aa7d03 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkServicePrivateEndpointConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/privateLinkServicePrivateEndpointConnection.go @@ -15,7 +15,7 @@ import ( // PrivateEndpointConnection resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PrivateLinkServicePrivateEndpointConnection struct { pulumi.CustomResourceState @@ -132,6 +132,9 @@ func NewPrivateLinkServicePrivateEndpointConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PrivateLinkServicePrivateEndpointConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PrivateLinkServicePrivateEndpointConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/profile.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/profile.go index b37f7c8c2..d578c95dd 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/profile.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/profile.go @@ -15,7 +15,7 @@ import ( // Class representing a Traffic Manager profile. // Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01. // -// Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview. +// Other available API versions: 2022-04-01-preview. type Profile struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPAddress.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPAddress.go index b2df5bc24..99eaa5539 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPAddress.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPAddress.go @@ -15,7 +15,7 @@ import ( // Public IP address resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2016-03-30, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PublicIPAddress struct { pulumi.CustomResourceState @@ -239,6 +239,9 @@ func NewPublicIPAddress(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PublicIPAddress"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PublicIPAddress"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPPrefix.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPPrefix.go index 11bee8324..8de9d4d67 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPPrefix.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/publicIPPrefix.go @@ -15,7 +15,7 @@ import ( // Public IP prefix resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type PublicIPPrefix struct { pulumi.CustomResourceState @@ -179,6 +179,9 @@ func NewPublicIPPrefix(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:PublicIPPrefix"), }, + { + Type: pulumi.String("azure-native:network/v20240501:PublicIPPrefix"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/pulumi-plugin.json index 3825324d5..634987edb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "azure-native", - "version": "2.64.2" + "version": "2.76.0" } diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisIntent.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisIntent.go index f4e4fcb38..f2fa52a9e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisIntent.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisIntent.go @@ -14,6 +14,8 @@ import ( // Configuration information or intent on which to do the analysis on. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. type ReachabilityAnalysisIntent struct { pulumi.CustomResourceState @@ -50,6 +52,9 @@ func NewReachabilityAnalysisIntent(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240101preview:ReachabilityAnalysisIntent"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ReachabilityAnalysisIntent"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisRun.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisRun.go index 0cb6c02d0..23ac326f4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisRun.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/reachabilityAnalysisRun.go @@ -14,6 +14,8 @@ import ( // Configuration information for analysis run. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. type ReachabilityAnalysisRun struct { pulumi.CustomResourceState @@ -50,6 +52,9 @@ func NewReachabilityAnalysisRun(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240101preview:ReachabilityAnalysisRun"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ReachabilityAnalysisRun"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/recordSet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/recordSet.go index 0d35b6f38..11bf753f3 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/recordSet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/recordSet.go @@ -15,7 +15,7 @@ import ( // Describes a DNS record set (a collection of DNS records with the same name and type). // Azure REST API version: 2018-05-01. Prior API version in Azure Native 1.x: 2018-05-01. // -// Other available API versions: 2015-05-04-preview, 2016-04-01, 2023-07-01-preview. +// Other available API versions: 2023-07-01-preview. type RecordSet struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/route.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/route.go index 99bdb1109..cb3bbd708 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/route.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/route.go @@ -15,7 +15,7 @@ import ( // Route resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type Route struct { pulumi.CustomResourceState @@ -213,6 +213,9 @@ func NewRoute(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:Route"), }, + { + Type: pulumi.String("azure-native:network/v20240501:Route"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilter.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilter.go index 169612494..73d282dfa 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilter.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilter.go @@ -15,7 +15,7 @@ import ( // Route Filter Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type RouteFilter struct { pulumi.CustomResourceState @@ -194,6 +194,9 @@ func NewRouteFilter(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RouteFilter"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RouteFilter"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilterRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilterRule.go index 3ea976622..067d205a1 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilterRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeFilterRule.go @@ -15,7 +15,7 @@ import ( // Route Filter Rule Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2017-03-01, 2017-10-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type RouteFilterRule struct { pulumi.CustomResourceState @@ -202,6 +202,9 @@ func NewRouteFilterRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RouteFilterRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RouteFilterRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeMap.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeMap.go index 1714a5b0c..4d219477a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeMap.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeMap.go @@ -15,7 +15,7 @@ import ( // The RouteMap child resource of a Virtual hub. // Azure REST API version: 2023-02-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type RouteMap struct { pulumi.CustomResourceState @@ -85,6 +85,9 @@ func NewRouteMap(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RouteMap"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RouteMap"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeTable.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeTable.go index 59504720f..a69af12b8 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeTable.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routeTable.go @@ -15,7 +15,7 @@ import ( // Route table resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type RouteTable struct { pulumi.CustomResourceState @@ -211,6 +211,9 @@ func NewRouteTable(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RouteTable"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RouteTable"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingIntent.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingIntent.go index c7d03201e..da0761e95 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingIntent.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingIntent.go @@ -15,7 +15,7 @@ import ( // The routing intent child resource of a Virtual hub. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-01-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type RoutingIntent struct { pulumi.CustomResourceState @@ -90,6 +90,9 @@ func NewRoutingIntent(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RoutingIntent"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RoutingIntent"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRule.go index de4350e76..0f8f66bda 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRule.go @@ -14,6 +14,8 @@ import ( // Network routing rule. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. type RoutingRule struct { pulumi.CustomResourceState @@ -66,6 +68,9 @@ func NewRoutingRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RoutingRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RoutingRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRuleCollection.go index 83e274ecc..d077251cc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/routingRuleCollection.go @@ -14,6 +14,8 @@ import ( // Defines the routing rule collection. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. type RoutingRuleCollection struct { pulumi.CustomResourceState @@ -60,6 +62,9 @@ func NewRoutingRuleCollection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:RoutingRuleCollection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:RoutingRuleCollection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/scopeConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/scopeConnection.go index 7949d249a..d4ab791c7 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/scopeConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/scopeConnection.go @@ -15,7 +15,7 @@ import ( // The Scope Connections resource // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-02-01-preview. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ScopeConnection struct { pulumi.CustomResourceState @@ -97,6 +97,9 @@ func NewScopeConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ScopeConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ScopeConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityAdminConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityAdminConfiguration.go index cc4f043af..7ce26df8d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityAdminConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityAdminConfiguration.go @@ -15,7 +15,7 @@ import ( // Defines the security admin configuration // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-01-01-preview, 2024-03-01, 2024-05-01. type SecurityAdminConfiguration struct { pulumi.CustomResourceState @@ -105,6 +105,9 @@ func NewSecurityAdminConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SecurityAdminConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SecurityAdminConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityPartnerProvider.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityPartnerProvider.go index f0bf938ab..094e92d53 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityPartnerProvider.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityPartnerProvider.go @@ -15,7 +15,7 @@ import ( // Security Partner Provider resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type SecurityPartnerProvider struct { pulumi.CustomResourceState @@ -122,6 +122,9 @@ func NewSecurityPartnerProvider(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SecurityPartnerProvider"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SecurityPartnerProvider"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityRule.go index 4f162182d..0a5957075 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityRule.go @@ -15,7 +15,7 @@ import ( // Network security rule. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2017-03-01, 2019-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type SecurityRule struct { pulumi.CustomResourceState @@ -244,6 +244,9 @@ func NewSecurityRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SecurityRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SecurityRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserConfiguration.go index 241837fdf..7824a1911 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserConfiguration.go @@ -15,7 +15,7 @@ import ( // Defines the security user configuration // Azure REST API version: 2022-04-01-preview. Prior API version in Azure Native 1.x: 2021-02-01-preview. // -// Other available API versions: 2021-05-01-preview, 2024-03-01. +// Other available API versions: 2021-05-01-preview, 2024-03-01, 2024-05-01. type SecurityUserConfiguration struct { pulumi.CustomResourceState @@ -64,6 +64,9 @@ func NewSecurityUserConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SecurityUserConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SecurityUserConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRule.go index 3a1c8e53c..10428e685 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRule.go @@ -14,6 +14,8 @@ import ( // Network security user rule. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. type SecurityUserRule struct { pulumi.CustomResourceState @@ -86,6 +88,9 @@ func NewSecurityUserRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SecurityUserRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SecurityUserRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRuleCollection.go index e3cb19dd3..00f25f752 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/securityUserRuleCollection.go @@ -14,6 +14,8 @@ import ( // Defines the security user rule collection. // Azure REST API version: 2024-03-01. +// +// Other available API versions: 2024-05-01. type SecurityUserRuleCollection struct { pulumi.CustomResourceState @@ -70,6 +72,9 @@ func NewSecurityUserRuleCollection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SecurityUserRuleCollection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SecurityUserRuleCollection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicy.go index 0e526ed97..f3676678f 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicy.go @@ -15,7 +15,7 @@ import ( // Service End point policy resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ServiceEndpointPolicy struct { pulumi.CustomResourceState @@ -167,6 +167,9 @@ func NewServiceEndpointPolicy(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ServiceEndpointPolicy"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ServiceEndpointPolicy"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicyDefinition.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicyDefinition.go index f82d5e82c..9e381f5e5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicyDefinition.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/serviceEndpointPolicyDefinition.go @@ -15,7 +15,7 @@ import ( // Service Endpoint policy definitions. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type ServiceEndpointPolicyDefinition struct { pulumi.CustomResourceState @@ -160,6 +160,9 @@ func NewServiceEndpointPolicyDefinition(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:ServiceEndpointPolicyDefinition"), }, + { + Type: pulumi.String("azure-native:network/v20240501:ServiceEndpointPolicyDefinition"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticCidr.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticCidr.go index bf83201a1..c2a0eb2f2 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticCidr.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticCidr.go @@ -14,6 +14,8 @@ import ( // Instance of StaticCidr resource. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. type StaticCidr struct { pulumi.CustomResourceState @@ -47,6 +49,9 @@ func NewStaticCidr(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240101preview:StaticCidr"), }, + { + Type: pulumi.String("azure-native:network/v20240501:StaticCidr"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticMember.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticMember.go index 1792e26b7..0798d28a9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticMember.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/staticMember.go @@ -15,7 +15,7 @@ import ( // StaticMember Item. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-02-01-preview. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type StaticMember struct { pulumi.CustomResourceState @@ -100,6 +100,9 @@ func NewStaticMember(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:StaticMember"), }, + { + Type: pulumi.String("azure-native:network/v20240501:StaticMember"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subnet.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subnet.go index 261859c02..9fc3a8cfb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subnet.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subnet.go @@ -15,7 +15,7 @@ import ( // Subnet in a virtual network resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-02-01, 2019-06-01, 2019-08-01, 2020-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-02-01, 2019-06-01, 2019-08-01, 2020-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type Subnet struct { pulumi.CustomResourceState @@ -244,6 +244,9 @@ func NewSubnet(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:Subnet"), }, + { + Type: pulumi.String("azure-native:network/v20240501:Subnet"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subscriptionNetworkManagerConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subscriptionNetworkManagerConnection.go index 6f5cd9d99..806acf9be 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subscriptionNetworkManagerConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/subscriptionNetworkManagerConnection.go @@ -14,7 +14,7 @@ import ( // The Network Manager Connection resource // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-02-01-preview. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type SubscriptionNetworkManagerConnection struct { pulumi.CustomResourceState @@ -88,6 +88,9 @@ func NewSubscriptionNetworkManagerConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:SubscriptionNetworkManagerConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:SubscriptionNetworkManagerConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/trafficManagerUserMetricsKey.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/trafficManagerUserMetricsKey.go index b714288e9..5a234a27a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/trafficManagerUserMetricsKey.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/trafficManagerUserMetricsKey.go @@ -14,7 +14,7 @@ import ( // Class representing Traffic Manager User Metrics. // Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01. // -// Other available API versions: 2017-09-01-preview, 2022-04-01-preview. +// Other available API versions: 2022-04-01-preview. type TrafficManagerUserMetricsKey struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRule.go index 19547ffdc..edb41bacb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRule.go @@ -93,6 +93,9 @@ func NewUserRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:UserRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:UserRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRuleCollection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRuleCollection.go index 1673770b8..e0eaa0362 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRuleCollection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/userRuleCollection.go @@ -70,6 +70,9 @@ func NewUserRuleCollection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:UserRuleCollection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:UserRuleCollection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/verifierWorkspace.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/verifierWorkspace.go index 40f109d14..c3858da5c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/verifierWorkspace.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/verifierWorkspace.go @@ -14,6 +14,8 @@ import ( // Instance of Verifier Workspace. // Azure REST API version: 2024-01-01-preview. +// +// Other available API versions: 2024-05-01. type VerifierWorkspace struct { pulumi.CustomResourceState @@ -48,6 +50,9 @@ func NewVerifierWorkspace(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240101preview:VerifierWorkspace"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VerifierWorkspace"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualApplianceSite.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualApplianceSite.go index f1eecc947..2831f566a 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualApplianceSite.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualApplianceSite.go @@ -15,7 +15,7 @@ import ( // Virtual Appliance Site resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualApplianceSite struct { pulumi.CustomResourceState @@ -113,6 +113,9 @@ func NewVirtualApplianceSite(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualApplianceSite"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualApplianceSite"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHub.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHub.go index 6219d98a7..66870638d 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHub.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHub.go @@ -15,7 +15,7 @@ import ( // VirtualHub Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-07-01, 2020-04-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2020-04-01, 2020-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualHub struct { pulumi.CustomResourceState @@ -205,6 +205,9 @@ func NewVirtualHub(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualHub"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualHub"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubBgpConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubBgpConnection.go index e49db2aea..193948f03 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubBgpConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubBgpConnection.go @@ -15,7 +15,7 @@ import ( // Virtual Appliance Site resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualHubBgpConnection struct { pulumi.CustomResourceState @@ -117,6 +117,9 @@ func NewVirtualHubBgpConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualHubBgpConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualHubBgpConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubIpConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubIpConfiguration.go index 68a45a294..b66a62bbb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubIpConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubIpConfiguration.go @@ -15,7 +15,7 @@ import ( // IpConfigurations. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualHubIpConfiguration struct { pulumi.CustomResourceState @@ -120,6 +120,9 @@ func NewVirtualHubIpConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualHubIpConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualHubIpConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubRouteTableV2.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubRouteTableV2.go index 9aa987b0d..81909acd0 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubRouteTableV2.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualHubRouteTableV2.go @@ -15,7 +15,7 @@ import ( // VirtualHubRouteTableV2 Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualHubRouteTableV2 struct { pulumi.CustomResourceState @@ -126,6 +126,9 @@ func NewVirtualHubRouteTableV2(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualHubRouteTableV2"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualHubRouteTableV2"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetwork.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetwork.go index 6be294d2d..f8ca639a4 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetwork.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetwork.go @@ -15,7 +15,7 @@ import ( // Virtual Network resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2015-05-01-preview, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualNetwork struct { pulumi.CustomResourceState @@ -237,6 +237,9 @@ func NewVirtualNetwork(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualNetwork"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualNetwork"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGateway.go index 81a08516d..91a7eaa64 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGateway.go @@ -15,7 +15,7 @@ import ( // A common class for general resource information. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2016-06-01, 2016-09-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualNetworkGateway struct { pulumi.CustomResourceState @@ -248,6 +248,9 @@ func NewVirtualNetworkGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualNetworkGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualNetworkGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayConnection.go index a9818c815..0ab0ed9de 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayConnection.go @@ -15,7 +15,7 @@ import ( // A common class for general resource information. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2016-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualNetworkGatewayConnection struct { pulumi.CustomResourceState @@ -258,6 +258,9 @@ func NewVirtualNetworkGatewayConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualNetworkGatewayConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualNetworkGatewayConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayNatRule.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayNatRule.go index 1138c4a48..c7b7eb358 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayNatRule.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkGatewayNatRule.go @@ -15,7 +15,7 @@ import ( // VirtualNetworkGatewayNatRule Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-03-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualNetworkGatewayNatRule struct { pulumi.CustomResourceState @@ -102,6 +102,9 @@ func NewVirtualNetworkGatewayNatRule(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualNetworkGatewayNatRule"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualNetworkGatewayNatRule"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkPeering.go index c8148a0cc..7fd218f78 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkPeering.go @@ -15,7 +15,7 @@ import ( // Peerings in a virtual network resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-06-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualNetworkPeering struct { pulumi.CustomResourceState @@ -219,6 +219,9 @@ func NewVirtualNetworkPeering(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualNetworkPeering"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualNetworkPeering"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkTap.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkTap.go index d6f404545..c1ca65e78 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkTap.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualNetworkTap.go @@ -15,7 +15,7 @@ import ( // Virtual Network Tap resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualNetworkTap struct { pulumi.CustomResourceState @@ -168,6 +168,9 @@ func NewVirtualNetworkTap(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualNetworkTap"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualNetworkTap"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouter.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouter.go index d173c905a..f74578bd9 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouter.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouter.go @@ -15,7 +15,7 @@ import ( // VirtualRouter Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-01-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualRouter struct { pulumi.CustomResourceState @@ -141,6 +141,9 @@ func NewVirtualRouter(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualRouter"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualRouter"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouterPeering.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouterPeering.go index 32971cc6c..87c2a135b 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouterPeering.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualRouterPeering.go @@ -15,7 +15,7 @@ import ( // Virtual Router Peering resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-01-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualRouterPeering struct { pulumi.CustomResourceState @@ -134,6 +134,9 @@ func NewVirtualRouterPeering(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualRouterPeering"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualRouterPeering"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualWan.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualWan.go index e841b3ad1..49891faa5 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualWan.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/virtualWan.go @@ -15,7 +15,7 @@ import ( // VirtualWAN Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VirtualWan struct { pulumi.CustomResourceState @@ -173,6 +173,9 @@ func NewVirtualWan(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VirtualWan"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VirtualWan"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnConnection.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnConnection.go index 206e5c3d2..a78178888 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnConnection.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnConnection.go @@ -15,7 +15,7 @@ import ( // VpnConnection Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-04-01, 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VpnConnection struct { pulumi.CustomResourceState @@ -194,6 +194,9 @@ func NewVpnConnection(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VpnConnection"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VpnConnection"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnGateway.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnGateway.go index 43ed6813d..c6853090e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnGateway.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnGateway.go @@ -15,7 +15,7 @@ import ( // VpnGateway Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VpnGateway struct { pulumi.CustomResourceState @@ -177,6 +177,9 @@ func NewVpnGateway(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VpnGateway"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VpnGateway"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnServerConfiguration.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnServerConfiguration.go index 70cb9742d..a488cdfc2 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnServerConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnServerConfiguration.go @@ -15,7 +15,7 @@ import ( // VpnServerConfiguration Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VpnServerConfiguration struct { pulumi.CustomResourceState @@ -154,6 +154,9 @@ func NewVpnServerConfiguration(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VpnServerConfiguration"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VpnServerConfiguration"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnSite.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnSite.go index cbd8b6ab0..a53449b73 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnSite.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/vpnSite.go @@ -15,7 +15,7 @@ import ( // VpnSite Resource. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type VpnSite struct { pulumi.CustomResourceState @@ -179,6 +179,9 @@ func NewVpnSite(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:VpnSite"), }, + { + Type: pulumi.String("azure-native:network/v20240501:VpnSite"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/webApplicationFirewallPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/webApplicationFirewallPolicy.go index 0d1e63b6e..6896f8894 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/webApplicationFirewallPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/webApplicationFirewallPolicy.go @@ -15,7 +15,7 @@ import ( // Defines web application firewall policy. // Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01. // -// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. +// Other available API versions: 2019-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01. type WebApplicationFirewallPolicy struct { pulumi.CustomResourceState @@ -163,6 +163,9 @@ func NewWebApplicationFirewallPolicy(ctx *pulumi.Context, { Type: pulumi.String("azure-native:network/v20240301:WebApplicationFirewallPolicy"), }, + { + Type: pulumi.String("azure-native:network/v20240501:WebApplicationFirewallPolicy"), + }, }) opts = append(opts, aliases) opts = utilities.PkgResourceDefaultOpts(opts) diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/zone.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/zone.go index 8c2c3059e..2ab064359 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/zone.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/network/v2/zone.go @@ -15,7 +15,7 @@ import ( // Describes a DNS zone. // Azure REST API version: 2018-05-01. Prior API version in Azure Native 1.x: 2018-05-01. // -// Other available API versions: 2015-05-04-preview, 2016-04-01, 2023-07-01-preview. +// Other available API versions: 2023-07-01-preview. type Zone struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/deployment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/deployment.go index e5e460cfb..9ab106707 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/deployment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/deployment.go @@ -15,7 +15,7 @@ import ( // Deployment information. // Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-01-01. // -// Other available API versions: 2016-07-01, 2023-07-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01. type Deployment struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getDeployment.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getDeployment.go index 5ce25f556..300587d8e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getDeployment.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getDeployment.go @@ -14,7 +14,7 @@ import ( // Gets a deployment. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2016-07-01, 2023-07-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01. func LookupDeployment(ctx *pulumi.Context, args *LookupDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupDeploymentResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupDeploymentResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResource.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResource.go index 907ac89cd..e4216f3d6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResource.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResource.go @@ -14,7 +14,7 @@ import ( // Gets a resource. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2015-11-01, 2023-07-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01. func LookupResource(ctx *pulumi.Context, args *LookupResourceArgs, opts ...pulumi.InvokeOption) (*LookupResourceResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupResourceResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResourceGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResourceGroup.go index 21b7674d5..064a95469 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResourceGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/getResourceGroup.go @@ -14,7 +14,7 @@ import ( // Gets a resource group. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2018-02-01, 2023-07-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01. func LookupResourceGroup(ctx *pulumi.Context, args *LookupResourceGroupArgs, opts ...pulumi.InvokeOption) (*LookupResourceGroupResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupResourceGroupResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/pulumi-plugin.json index 3825324d5..634987edb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "azure-native", - "version": "2.64.2" + "version": "2.76.0" } diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resource.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resource.go index eeb539f5f..49c101b92 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resource.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resource.go @@ -15,7 +15,7 @@ import ( // Resource information. // Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2019-05-01. // -// Other available API versions: 2015-11-01, 2023-07-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01. type Resource struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resourceGroup.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resourceGroup.go index 649b8f2fc..783f9d704 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resourceGroup.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/resources/v2/resourceGroup.go @@ -14,7 +14,7 @@ import ( // Resource group information. // Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2019-05-01. // -// Other available API versions: 2018-02-01, 2023-07-01, 2024-03-01, 2024-07-01. +// Other available API versions: 2023-07-01, 2024-03-01, 2024-07-01. type ResourceGroup struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blob.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blob.go index e9dc94a28..6cbd124bc 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blob.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blob.go @@ -92,7 +92,7 @@ type blobArgs struct { BlobName *string `pulumi:"blobName"` // The name of the storage container in which this blob should be created. ContainerName string `pulumi:"containerName"` - // The MD5 sum of the blob contents. Cannot be defined if blob type is Append. + // The MD5 sum of the blob contents, base64-encoded. Cannot be defined if blob type is Append. ContentMd5 *string `pulumi:"contentMd5"` // The content type of the storage blob. Defaults to `application/octet-stream`. ContentType *string `pulumi:"contentType"` @@ -116,7 +116,7 @@ type BlobArgs struct { BlobName pulumi.StringPtrInput // The name of the storage container in which this blob should be created. ContainerName pulumi.StringInput - // The MD5 sum of the blob contents. Cannot be defined if blob type is Append. + // The MD5 sum of the blob contents, base64-encoded. Cannot be defined if blob type is Append. ContentMd5 pulumi.StringPtrInput // The content type of the storage blob. Defaults to `application/octet-stream`. ContentType pulumi.StringPtrInput diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blobContainerImmutabilityPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blobContainerImmutabilityPolicy.go index 199b83f63..5f3b11eb6 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blobContainerImmutabilityPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/blobContainerImmutabilityPolicy.go @@ -15,7 +15,7 @@ import ( // The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. // Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01. // -// Other available API versions: 2019-04-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. type BlobContainerImmutabilityPolicy struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getBlobContainerImmutabilityPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getBlobContainerImmutabilityPolicy.go index d083ee76e..e620369ca 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getBlobContainerImmutabilityPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getBlobContainerImmutabilityPolicy.go @@ -14,7 +14,7 @@ import ( // Gets the existing immutability policy along with the corresponding ETag in response headers and body. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2019-04-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. func LookupBlobContainerImmutabilityPolicy(ctx *pulumi.Context, args *LookupBlobContainerImmutabilityPolicyArgs, opts ...pulumi.InvokeOption) (*LookupBlobContainerImmutabilityPolicyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupBlobContainerImmutabilityPolicyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getManagementPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getManagementPolicy.go index 6416f0394..15f87dff2 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getManagementPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getManagementPolicy.go @@ -14,7 +14,7 @@ import ( // Gets the managementpolicy associated with the specified storage account. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2018-03-01-preview, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. func LookupManagementPolicy(ctx *pulumi.Context, args *LookupManagementPolicyArgs, opts ...pulumi.InvokeOption) (*LookupManagementPolicyResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupManagementPolicyResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getStorageAccount.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getStorageAccount.go index 8cf249599..593f11a72 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getStorageAccount.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/getStorageAccount.go @@ -14,7 +14,7 @@ import ( // Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2015-05-01-preview, 2015-06-15, 2018-11-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. func LookupStorageAccount(ctx *pulumi.Context, args *LookupStorageAccountArgs, opts ...pulumi.InvokeOption) (*LookupStorageAccountResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv LookupStorageAccountResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountKeys.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountKeys.go index b5f443a0a..15d34b703 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountKeys.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountKeys.go @@ -14,7 +14,7 @@ import ( // Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2015-05-01-preview, 2015-06-15, 2018-11-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. func ListStorageAccountKeys(ctx *pulumi.Context, args *ListStorageAccountKeysArgs, opts ...pulumi.InvokeOption) (*ListStorageAccountKeysResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListStorageAccountKeysResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountSAS.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountSAS.go index 3e207794c..e367e0a1c 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountSAS.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountSAS.go @@ -14,7 +14,7 @@ import ( // List SAS credentials of a storage account. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2018-11-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. func ListStorageAccountSAS(ctx *pulumi.Context, args *ListStorageAccountSASArgs, opts ...pulumi.InvokeOption) (*ListStorageAccountSASResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListStorageAccountSASResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountServiceSAS.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountServiceSAS.go index 12e98b3f5..f802ef714 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountServiceSAS.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/listStorageAccountServiceSAS.go @@ -14,7 +14,7 @@ import ( // List service SAS credentials of a specific resource. // Azure REST API version: 2022-09-01. // -// Other available API versions: 2018-11-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. func ListStorageAccountServiceSAS(ctx *pulumi.Context, args *ListStorageAccountServiceSASArgs, opts ...pulumi.InvokeOption) (*ListStorageAccountServiceSASResult, error) { opts = utilities.PkgInvokeDefaultOpts(opts) var rv ListStorageAccountServiceSASResult diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/managementPolicy.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/managementPolicy.go index cf0addecf..b338b9839 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/managementPolicy.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/managementPolicy.go @@ -15,7 +15,7 @@ import ( // The Get Storage Account ManagementPolicies operation response. // Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01. // -// Other available API versions: 2018-03-01-preview, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. type ManagementPolicy struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/pulumi-plugin.json index 3825324d5..634987edb 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "azure-native", - "version": "2.64.2" + "version": "2.76.0" } diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/storageAccount.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/storageAccount.go index d787f386d..70aabfe6e 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/storageAccount.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/storage/v2/storageAccount.go @@ -15,7 +15,7 @@ import ( // The storage account. // Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01. // -// Other available API versions: 2015-05-01-preview, 2015-06-15, 2018-11-01, 2023-01-01, 2023-04-01, 2023-05-01. +// Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01. type StorageAccount struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-azure-native-sdk/v2/utilities/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-azure-native-sdk/v2/utilities/pulumiUtilities.go index 82912b673..c75433b43 100644 --- a/vendor/github.com/pulumi/pulumi-azure-native-sdk/v2/utilities/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-azure-native-sdk/v2/utilities/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("2.64.2") + version := semver.MustParse("2.76.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("2.64.2") + version := semver.MustParse("2.76.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/internal/pulumiUtilities.go index fa9026b10..4c3c69fc0 100644 --- a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("0.11.1") + version := semver.MustParse("1.0.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("0.11.1") + version := semver.MustParse("1.0.1") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/command.go b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/command.go index 19160d2ee..df7bfaeef 100644 --- a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/command.go +++ b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/command.go @@ -12,11 +12,114 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// A command to run on a remote host. -// The connection is established via ssh. +// A command to run on a remote host. The connection is established via ssh. +// +// ## Example Usage +// +// ### A Basic Example +// This program connects to a server and runs the `hostname` command. The output is then available via the `stdout` property. +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-command/sdk/go/command/remote" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// server := cfg.Require("server") +// userName := cfg.Require("userName") +// privateKey := cfg.Require("privateKey") +// hostnameCmd, err := remote.NewCommand(ctx, "hostnameCmd", &remote.CommandArgs{ +// Create: pulumi.String("hostname"), +// Connection: &remote.ConnectionArgs{ +// Host: pulumi.String(server), +// User: pulumi.String(userName), +// PrivateKey: pulumi.String(privateKey), +// }, +// }) +// if err != nil { +// return err +// } +// ctx.Export("hostname", hostnameCmd.Stdout) +// return nil +// }) +// } +// +// ``` +// +// ### Triggers +// This example defines several trigger values of various kinds. Changes to any of them will cause `cmd` to be re-run. +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-command/sdk/go/command/local" +// "github.com/pulumi/pulumi-command/sdk/go/command/remote" +// "github.com/pulumi/pulumi-random/sdk/v4/go/random" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// str := pulumi.String("foo") +// +// fileAsset := pulumi.NewFileAsset("Pulumi.yaml") +// +// rand, err := random.NewRandomString(ctx, "rand", &random.RandomStringArgs{ +// Length: pulumi.Int(5), +// }) +// if err != nil { +// return err +// } +// +// localFile, err := local.NewCommand(ctx, "localFile", &local.CommandArgs{ +// Create: pulumi.String("touch foo.txt"), +// ArchivePaths: pulumi.StringArray{ +// pulumi.String("*.txt"), +// }, +// }) +// if err != nil { +// return err +// } +// +// _, err = remote.NewCommand(ctx, "cmd", &remote.CommandArgs{ +// Connection: &remote.ConnectionArgs{ +// Host: pulumi.String("insert host here"), +// }, +// Create: pulumi.String("echo create > op.txt"), +// Delete: pulumi.String("echo delete >> op.txt"), +// Triggers: pulumi.Array{ +// str, +// rand.Result, +// fileAsset, +// localFile.Archive, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` type Command struct { pulumi.CustomResourceState + // If the previous command's stdout and stderr (as generated by the prior create/update) is + // injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. + // Defaults to true. + AddPreviousOutputInEnv pulumi.BoolPtrOutput `pulumi:"addPreviousOutputInEnv"` // The parameters with which to connect to the remote host. Connection ConnectionOutput `pulumi:"connection"` // The command to run on create. @@ -40,7 +143,10 @@ type Command struct { Stdin pulumi.StringPtrOutput `pulumi:"stdin"` // The standard output of the command's process Stdout pulumi.StringOutput `pulumi:"stdout"` - // Trigger replacements on changes to this input. + // Trigger a resource replacement on changes to any of these values. The + // trigger values can be of any type. If a value is different in the current update compared to the + // previous update, the resource will be replaced, i.e., the "create" command will be re-run. + // Please see the resource documentation for examples. Triggers pulumi.ArrayOutput `pulumi:"triggers"` // The command to run on update, if empty, create will // run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR @@ -59,6 +165,9 @@ func NewCommand(ctx *pulumi.Context, if args.Connection == nil { return nil, errors.New("invalid value for required argument 'Connection'") } + if args.AddPreviousOutputInEnv == nil { + args.AddPreviousOutputInEnv = pulumi.BoolPtr(true) + } args.Connection = args.Connection.ToConnectionOutput().ApplyT(func(v Connection) Connection { return *v.Defaults() }).(ConnectionOutput) if args.Connection != nil { args.Connection = pulumi.ToSecret(args.Connection).(ConnectionInput) @@ -104,6 +213,10 @@ func (CommandState) ElementType() reflect.Type { } type commandArgs struct { + // If the previous command's stdout and stderr (as generated by the prior create/update) is + // injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. + // Defaults to true. + AddPreviousOutputInEnv *bool `pulumi:"addPreviousOutputInEnv"` // The parameters with which to connect to the remote host. Connection Connection `pulumi:"connection"` // The command to run on create. @@ -123,7 +236,10 @@ type commandArgs struct { Logging *Logging `pulumi:"logging"` // Pass a string to the command's process as standard in Stdin *string `pulumi:"stdin"` - // Trigger replacements on changes to this input. + // Trigger a resource replacement on changes to any of these values. The + // trigger values can be of any type. If a value is different in the current update compared to the + // previous update, the resource will be replaced, i.e., the "create" command will be re-run. + // Please see the resource documentation for examples. Triggers []interface{} `pulumi:"triggers"` // The command to run on update, if empty, create will // run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR @@ -134,6 +250,10 @@ type commandArgs struct { // The set of arguments for constructing a Command resource. type CommandArgs struct { + // If the previous command's stdout and stderr (as generated by the prior create/update) is + // injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. + // Defaults to true. + AddPreviousOutputInEnv pulumi.BoolPtrInput // The parameters with which to connect to the remote host. Connection ConnectionInput // The command to run on create. @@ -153,7 +273,10 @@ type CommandArgs struct { Logging LoggingPtrInput // Pass a string to the command's process as standard in Stdin pulumi.StringPtrInput - // Trigger replacements on changes to this input. + // Trigger a resource replacement on changes to any of these values. The + // trigger values can be of any type. If a value is different in the current update compared to the + // previous update, the resource will be replaced, i.e., the "create" command will be re-run. + // Please see the resource documentation for examples. Triggers pulumi.ArrayInput // The command to run on update, if empty, create will // run again. The environment variables PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR @@ -249,6 +372,13 @@ func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOu return o } +// If the previous command's stdout and stderr (as generated by the prior create/update) is +// injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. +// Defaults to true. +func (o CommandOutput) AddPreviousOutputInEnv() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Command) pulumi.BoolPtrOutput { return v.AddPreviousOutputInEnv }).(pulumi.BoolPtrOutput) +} + // The parameters with which to connect to the remote host. func (o CommandOutput) Connection() ConnectionOutput { return o.ApplyT(func(v *Command) ConnectionOutput { return v.Connection }).(ConnectionOutput) @@ -296,7 +426,10 @@ func (o CommandOutput) Stdout() pulumi.StringOutput { return o.ApplyT(func(v *Command) pulumi.StringOutput { return v.Stdout }).(pulumi.StringOutput) } -// Trigger replacements on changes to this input. +// Trigger a resource replacement on changes to any of these values. The +// trigger values can be of any type. If a value is different in the current update compared to the +// previous update, the resource will be replaced, i.e., the "create" command will be re-run. +// Please see the resource documentation for examples. func (o CommandOutput) Triggers() pulumi.ArrayOutput { return o.ApplyT(func(v *Command) pulumi.ArrayOutput { return v.Triggers }).(pulumi.ArrayOutput) } diff --git a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyFile.go b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyFile.go index ce2dcdd94..2215164d4 100644 --- a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyFile.go +++ b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyFile.go @@ -13,6 +13,8 @@ import ( ) // Copy a local file to a remote host. +// +// Deprecated: This resource is deprecated and will be removed in a future release. Please use the `CopyToRemote` resource instead. type CopyFile struct { pulumi.CustomResourceState diff --git a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyToRemote.go b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyToRemote.go new file mode 100644 index 000000000..f0b0c5eae --- /dev/null +++ b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/copyToRemote.go @@ -0,0 +1,328 @@ +// 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 remote + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-command/sdk/go/command/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Copy an Asset or Archive to a remote host. +// +// ## Example usage +// +// This example copies a local directory to a remote host via SSH. For brevity, the remote server is assumed to exist, but it could also be provisioned in the same Pulumi program. +// +// ```go +// package main +// +// import ( +// +// "fmt" +// +// "github.com/pulumi/pulumi-command/sdk/go/command/remote" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// serverPublicIp := cfg.Require("serverPublicIp") +// userName := cfg.Require("userName") +// privateKey := cfg.Require("privateKey") +// payload := cfg.Require("payload") +// destDir := cfg.Require("destDir") +// +// archive := pulumi.NewFileArchive(payload) +// +// conn := remote.ConnectionArgs{ +// Host: pulumi.String(serverPublicIp), +// User: pulumi.String(userName), +// PrivateKey: pulumi.String(privateKey), +// } +// +// copy, err := remote.NewCopyToRemote(ctx, "copy", &remote.CopyToRemoteArgs{ +// Connection: conn, +// Source: archive, +// }) +// if err != nil { +// return err +// } +// +// find, err := remote.NewCommand(ctx, "find", &remote.CommandArgs{ +// Connection: conn, +// Create: pulumi.String(fmt.Sprintf("find %v/%v | sort", destDir, payload)), +// Triggers: pulumi.Array{ +// archive, +// }, +// }, pulumi.DependsOn([]pulumi.Resource{ +// copy, +// })) +// if err != nil { +// return err +// } +// +// ctx.Export("remoteContents", find.Stdout) +// return nil +// }) +// } +// +// ``` +type CopyToRemote struct { + pulumi.CustomResourceState + + // The parameters with which to connect to the remote host. + Connection ConnectionOutput `pulumi:"connection"` + // The destination path on the remote host. The last element of the path will be created if it doesn't exist but it's an error when additional elements don't exist. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail. + RemotePath pulumi.StringOutput `pulumi:"remotePath"` + // An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be path-based, i.e., be a `FileAsset` or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files. + Source pulumi.AssetOrArchiveOutput `pulumi:"source"` + // Trigger replacements on changes to this input. + Triggers pulumi.ArrayOutput `pulumi:"triggers"` +} + +// NewCopyToRemote registers a new resource with the given unique name, arguments, and options. +func NewCopyToRemote(ctx *pulumi.Context, + name string, args *CopyToRemoteArgs, opts ...pulumi.ResourceOption) (*CopyToRemote, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Connection == nil { + return nil, errors.New("invalid value for required argument 'Connection'") + } + if args.RemotePath == nil { + return nil, errors.New("invalid value for required argument 'RemotePath'") + } + if args.Source == nil { + return nil, errors.New("invalid value for required argument 'Source'") + } + args.Connection = args.Connection.ToConnectionOutput().ApplyT(func(v Connection) Connection { return *v.Defaults() }).(ConnectionOutput) + if args.Connection != nil { + args.Connection = pulumi.ToSecret(args.Connection).(ConnectionInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "connection", + }) + opts = append(opts, secrets) + replaceOnChanges := pulumi.ReplaceOnChanges([]string{ + "triggers[*]", + }) + opts = append(opts, replaceOnChanges) + opts = internal.PkgResourceDefaultOpts(opts) + var resource CopyToRemote + err := ctx.RegisterResource("command:remote:CopyToRemote", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCopyToRemote gets an existing CopyToRemote 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 GetCopyToRemote(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CopyToRemoteState, opts ...pulumi.ResourceOption) (*CopyToRemote, error) { + var resource CopyToRemote + err := ctx.ReadResource("command:remote:CopyToRemote", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CopyToRemote resources. +type copyToRemoteState struct { +} + +type CopyToRemoteState struct { +} + +func (CopyToRemoteState) ElementType() reflect.Type { + return reflect.TypeOf((*copyToRemoteState)(nil)).Elem() +} + +type copyToRemoteArgs struct { + // The parameters with which to connect to the remote host. + Connection Connection `pulumi:"connection"` + // The destination path on the remote host. The last element of the path will be created if it doesn't exist but it's an error when additional elements don't exist. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail. + RemotePath string `pulumi:"remotePath"` + // An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be path-based, i.e., be a `FileAsset` or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files. + Source pulumi.AssetOrArchive `pulumi:"source"` + // Trigger replacements on changes to this input. + Triggers []interface{} `pulumi:"triggers"` +} + +// The set of arguments for constructing a CopyToRemote resource. +type CopyToRemoteArgs struct { + // The parameters with which to connect to the remote host. + Connection ConnectionInput + // The destination path on the remote host. The last element of the path will be created if it doesn't exist but it's an error when additional elements don't exist. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail. + RemotePath pulumi.StringInput + // An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be path-based, i.e., be a `FileAsset` or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files. + Source pulumi.AssetOrArchiveInput + // Trigger replacements on changes to this input. + Triggers pulumi.ArrayInput +} + +func (CopyToRemoteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*copyToRemoteArgs)(nil)).Elem() +} + +type CopyToRemoteInput interface { + pulumi.Input + + ToCopyToRemoteOutput() CopyToRemoteOutput + ToCopyToRemoteOutputWithContext(ctx context.Context) CopyToRemoteOutput +} + +func (*CopyToRemote) ElementType() reflect.Type { + return reflect.TypeOf((**CopyToRemote)(nil)).Elem() +} + +func (i *CopyToRemote) ToCopyToRemoteOutput() CopyToRemoteOutput { + return i.ToCopyToRemoteOutputWithContext(context.Background()) +} + +func (i *CopyToRemote) ToCopyToRemoteOutputWithContext(ctx context.Context) CopyToRemoteOutput { + return pulumi.ToOutputWithContext(ctx, i).(CopyToRemoteOutput) +} + +// CopyToRemoteArrayInput is an input type that accepts CopyToRemoteArray and CopyToRemoteArrayOutput values. +// You can construct a concrete instance of `CopyToRemoteArrayInput` via: +// +// CopyToRemoteArray{ CopyToRemoteArgs{...} } +type CopyToRemoteArrayInput interface { + pulumi.Input + + ToCopyToRemoteArrayOutput() CopyToRemoteArrayOutput + ToCopyToRemoteArrayOutputWithContext(context.Context) CopyToRemoteArrayOutput +} + +type CopyToRemoteArray []CopyToRemoteInput + +func (CopyToRemoteArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CopyToRemote)(nil)).Elem() +} + +func (i CopyToRemoteArray) ToCopyToRemoteArrayOutput() CopyToRemoteArrayOutput { + return i.ToCopyToRemoteArrayOutputWithContext(context.Background()) +} + +func (i CopyToRemoteArray) ToCopyToRemoteArrayOutputWithContext(ctx context.Context) CopyToRemoteArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CopyToRemoteArrayOutput) +} + +// CopyToRemoteMapInput is an input type that accepts CopyToRemoteMap and CopyToRemoteMapOutput values. +// You can construct a concrete instance of `CopyToRemoteMapInput` via: +// +// CopyToRemoteMap{ "key": CopyToRemoteArgs{...} } +type CopyToRemoteMapInput interface { + pulumi.Input + + ToCopyToRemoteMapOutput() CopyToRemoteMapOutput + ToCopyToRemoteMapOutputWithContext(context.Context) CopyToRemoteMapOutput +} + +type CopyToRemoteMap map[string]CopyToRemoteInput + +func (CopyToRemoteMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CopyToRemote)(nil)).Elem() +} + +func (i CopyToRemoteMap) ToCopyToRemoteMapOutput() CopyToRemoteMapOutput { + return i.ToCopyToRemoteMapOutputWithContext(context.Background()) +} + +func (i CopyToRemoteMap) ToCopyToRemoteMapOutputWithContext(ctx context.Context) CopyToRemoteMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CopyToRemoteMapOutput) +} + +type CopyToRemoteOutput struct{ *pulumi.OutputState } + +func (CopyToRemoteOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CopyToRemote)(nil)).Elem() +} + +func (o CopyToRemoteOutput) ToCopyToRemoteOutput() CopyToRemoteOutput { + return o +} + +func (o CopyToRemoteOutput) ToCopyToRemoteOutputWithContext(ctx context.Context) CopyToRemoteOutput { + return o +} + +// The parameters with which to connect to the remote host. +func (o CopyToRemoteOutput) Connection() ConnectionOutput { + return o.ApplyT(func(v *CopyToRemote) ConnectionOutput { return v.Connection }).(ConnectionOutput) +} + +// The destination path on the remote host. The last element of the path will be created if it doesn't exist but it's an error when additional elements don't exist. When the remote path is an existing directory, the source file or directory will be copied into that directory. When the source is a file and the remote path is an existing file, that file will be overwritten. When the source is a directory and the remote path an existing file, the copy will fail. +func (o CopyToRemoteOutput) RemotePath() pulumi.StringOutput { + return o.ApplyT(func(v *CopyToRemote) pulumi.StringOutput { return v.RemotePath }).(pulumi.StringOutput) +} + +// An [asset or an archive](https://www.pulumi.com/docs/concepts/assets-archives/) to upload as the source of the copy. It must be path-based, i.e., be a `FileAsset` or a `FileArchive`. The item will be copied as-is; archives like .tgz will not be unpacked. Directories are copied recursively, overwriting existing files. +func (o CopyToRemoteOutput) Source() pulumi.AssetOrArchiveOutput { + return o.ApplyT(func(v *CopyToRemote) pulumi.AssetOrArchiveOutput { return v.Source }).(pulumi.AssetOrArchiveOutput) +} + +// Trigger replacements on changes to this input. +func (o CopyToRemoteOutput) Triggers() pulumi.ArrayOutput { + return o.ApplyT(func(v *CopyToRemote) pulumi.ArrayOutput { return v.Triggers }).(pulumi.ArrayOutput) +} + +type CopyToRemoteArrayOutput struct{ *pulumi.OutputState } + +func (CopyToRemoteArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CopyToRemote)(nil)).Elem() +} + +func (o CopyToRemoteArrayOutput) ToCopyToRemoteArrayOutput() CopyToRemoteArrayOutput { + return o +} + +func (o CopyToRemoteArrayOutput) ToCopyToRemoteArrayOutputWithContext(ctx context.Context) CopyToRemoteArrayOutput { + return o +} + +func (o CopyToRemoteArrayOutput) Index(i pulumi.IntInput) CopyToRemoteOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CopyToRemote { + return vs[0].([]*CopyToRemote)[vs[1].(int)] + }).(CopyToRemoteOutput) +} + +type CopyToRemoteMapOutput struct{ *pulumi.OutputState } + +func (CopyToRemoteMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CopyToRemote)(nil)).Elem() +} + +func (o CopyToRemoteMapOutput) ToCopyToRemoteMapOutput() CopyToRemoteMapOutput { + return o +} + +func (o CopyToRemoteMapOutput) ToCopyToRemoteMapOutputWithContext(ctx context.Context) CopyToRemoteMapOutput { + return o +} + +func (o CopyToRemoteMapOutput) MapIndex(k pulumi.StringInput) CopyToRemoteOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CopyToRemote { + return vs[0].(map[string]*CopyToRemote)[vs[1].(string)] + }).(CopyToRemoteOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CopyToRemoteInput)(nil)).Elem(), &CopyToRemote{}) + pulumi.RegisterInputType(reflect.TypeOf((*CopyToRemoteArrayInput)(nil)).Elem(), CopyToRemoteArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CopyToRemoteMapInput)(nil)).Elem(), CopyToRemoteMap{}) + pulumi.RegisterOutputType(CopyToRemoteOutput{}) + pulumi.RegisterOutputType(CopyToRemoteArrayOutput{}) + pulumi.RegisterOutputType(CopyToRemoteMapOutput{}) +} diff --git a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/init.go b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/init.go index 4ebe45cd7..297d147ee 100644 --- a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/init.go +++ b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/init.go @@ -25,6 +25,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Command{} case "command:remote:CopyFile": r = &CopyFile{} + case "command:remote:CopyToRemote": + r = &CopyToRemote{} default: return nil, fmt.Errorf("unknown resource type: %s", typ) } diff --git a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/pulumiTypes.go index af60eff57..62d18f403 100644 --- a/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-command/sdk/go/command/remote/pulumiTypes.go @@ -25,7 +25,7 @@ type Connection struct { Password *string `pulumi:"password"` // Max number of seconds for each dial attempt. 0 implies no maximum. Default value is 15 seconds. PerDialTimeout *int `pulumi:"perDialTimeout"` - // The port to connect to. + // The port to connect to. Defaults to 22. Port *float64 `pulumi:"port"` // The contents of an SSH key to use for the connection. This takes preference over the password if provided. PrivateKey *string `pulumi:"privateKey"` @@ -87,7 +87,7 @@ type ConnectionArgs struct { Password pulumi.StringPtrInput `pulumi:"password"` // Max number of seconds for each dial attempt. 0 implies no maximum. Default value is 15 seconds. PerDialTimeout pulumi.IntPtrInput `pulumi:"perDialTimeout"` - // The port to connect to. + // The port to connect to. Defaults to 22. Port pulumi.Float64PtrInput `pulumi:"port"` // The contents of an SSH key to use for the connection. This takes preference over the password if provided. PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` @@ -172,7 +172,7 @@ func (o ConnectionOutput) PerDialTimeout() pulumi.IntPtrOutput { return o.ApplyT(func(v Connection) *int { return v.PerDialTimeout }).(pulumi.IntPtrOutput) } -// The port to connect to. +// The port to connect to. Defaults to 22. func (o ConnectionOutput) Port() pulumi.Float64PtrOutput { return o.ApplyT(func(v Connection) *float64 { return v.Port }).(pulumi.Float64PtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/internal/pulumiUtilities.go index e8ea5590a..c7ba262e1 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("4.16.2") + version := semver.MustParse("4.16.7") 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("4.16.2") + version := semver.MustParse("4.16.7") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/pulumi-plugin.json index 6fd6453bb..76c6cda74 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "random", - "version": "4.16.2" + "version": "4.16.7" } diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomBytes.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomBytes.go index 96e7bc50a..da998dcdb 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomBytes.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomBytes.go @@ -23,7 +23,7 @@ import ( // // import ( // -// "github.com/pulumi/pulumi-azurerm/sdk/v1/go/azurerm" +// "github.com/pulumi/pulumi-azurerm/sdk/go/azurerm" // "github.com/pulumi/pulumi-random/sdk/v4/go/random" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // @@ -37,7 +37,7 @@ import ( // if err != nil { // return err // } -// _, err = index.NewKeyVaultSecret(ctx, "jwt_secret", &index.KeyVaultSecretArgs{ +// _, err = azurerm.NewKeyVaultSecret(ctx, "jwt_secret", &azurerm.KeyVaultSecretArgs{ // KeyVaultId: "some-azure-key-vault-id", // Name: "JwtSecret", // Value: jwtSecret.Base64, diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomId.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomId.go index c3ce48db8..0f8f114aa 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomId.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomId.go @@ -61,9 +61,9 @@ import ( // return fmt.Sprintf("web-server %v", hex), nil // }).(pulumi.StringOutput), // }, -// Ami: server.Keepers.ApplyT(func(keepers interface{}) (*string, error) { +// Ami: pulumi.String(server.Keepers.ApplyT(func(keepers map[string]string) (*string, error) { // return &keepers.AmiId, nil -// }).(pulumi.StringPtrOutput), +// }).(pulumi.StringPtrOutput)), // }) // if err != nil { // return err diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomInteger.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomInteger.go index 56aaf6c7b..88f8aa40a 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomInteger.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomInteger.go @@ -44,9 +44,9 @@ import ( // return err // } // _, err = alb.NewListenerRule(ctx, "main", &alb.ListenerRuleArgs{ -// ListenerArn: priority.Keepers.ApplyT(func(keepers interface{}) (*string, error) { +// ListenerArn: pulumi.String(priority.Keepers.ApplyT(func(keepers map[string]string) (*string, error) { // return &keepers.ListenerArn, nil -// }).(pulumi.StringPtrOutput), +// }).(pulumi.StringPtrOutput)), // Priority: priority.Result, // Actions: alb.ListenerRuleActionArray{ // &alb.ListenerRuleActionArgs{ diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPassword.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPassword.go index 8c04a4dc6..7cf90a0c7 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPassword.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPassword.go @@ -12,10 +12,6 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Identical to random_string. -// -// This resource *does* use a cryptographic random number generator. -// // ## Example Usage // // ```go diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPet.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPet.go index 81f469a1e..d49709010 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPet.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomPet.go @@ -49,9 +49,9 @@ import ( // return fmt.Sprintf("web-server-%v", id), nil // }).(pulumi.StringOutput), // }, -// Ami: server.Keepers.ApplyT(func(keepers interface{}) (*string, error) { +// Ami: pulumi.String(server.Keepers.ApplyT(func(keepers map[string]string) (*string, error) { // return &keepers.AmiId, nil -// }).(pulumi.StringPtrOutput), +// }).(pulumi.StringPtrOutput)), // }) // if err != nil { // return err diff --git a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomUuid.go b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomUuid.go index 2b5917f18..2e29a5067 100644 --- a/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomUuid.go +++ b/vendor/github.com/pulumi/pulumi-random/sdk/v4/go/random/randomUuid.go @@ -20,7 +20,7 @@ import ( // // "fmt" // -// "github.com/pulumi/pulumi-azurerm/sdk/v1/go/azurerm" +// "github.com/pulumi/pulumi-azurerm/sdk/go/azurerm" // "github.com/pulumi/pulumi-random/sdk/v4/go/random" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // @@ -33,8 +33,8 @@ import ( // if err != nil { // return err // } -// _, err = index.NewResourceGroup(ctx, "test", &index.ResourceGroupArgs{ -// Name: pulumi.String(fmt.Sprintf("%v-rg", test.Result)), +// _, err = azurerm.NewResourceGroup(ctx, "test", &azurerm.ResourceGroupArgs{ +// Name: pulumi.Sprintf("%v-rg", test.Result), // Location: "Central US", // }) // if err != nil { diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/certRequest.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/certRequest.go index 77dcec857..1a1cf597a 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/certRequest.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/certRequest.go @@ -34,7 +34,7 @@ import ( // return err // } // _, err = tls.NewCertRequest(ctx, "example", &tls.CertRequestArgs{ -// PrivateKeyPem: invokeFile.Result, +// PrivateKeyPem: pulumi.String(invokeFile.Result), // Subject: &tls.CertRequestSubjectArgs{ // CommonName: pulumi.String("example.com"), // Organization: pulumi.String("ACME Examples, Inc"), @@ -51,7 +51,7 @@ import ( type CertRequest struct { pulumi.CustomResourceState - // The certificate request data in PEM (RFC 1421). + // The certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertRequestPem pulumi.StringOutput `pulumi:"certRequestPem"` // List of DNS names for which a certificate is being requested (i.e. certificate subjects). DnsNames pulumi.StringArrayOutput `pulumi:"dnsNames"` @@ -59,7 +59,7 @@ type CertRequest struct { IpAddresses pulumi.StringArrayOutput `pulumi:"ipAddresses"` // Name of the algorithm used when generating the private key provided in `privateKeyPem`. KeyAlgorithm pulumi.StringOutput `pulumi:"keyAlgorithm"` - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem pulumi.StringOutput `pulumi:"privateKeyPem"` // The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section. Subject CertRequestSubjectPtrOutput `pulumi:"subject"` @@ -107,7 +107,7 @@ func GetCertRequest(ctx *pulumi.Context, // Input properties used for looking up and filtering CertRequest resources. type certRequestState struct { - // The certificate request data in PEM (RFC 1421). + // The certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertRequestPem *string `pulumi:"certRequestPem"` // List of DNS names for which a certificate is being requested (i.e. certificate subjects). DnsNames []string `pulumi:"dnsNames"` @@ -115,7 +115,7 @@ type certRequestState struct { IpAddresses []string `pulumi:"ipAddresses"` // Name of the algorithm used when generating the private key provided in `privateKeyPem`. KeyAlgorithm *string `pulumi:"keyAlgorithm"` - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem *string `pulumi:"privateKeyPem"` // The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section. Subject *CertRequestSubject `pulumi:"subject"` @@ -124,7 +124,7 @@ type certRequestState struct { } type CertRequestState struct { - // The certificate request data in PEM (RFC 1421). + // The certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertRequestPem pulumi.StringPtrInput // List of DNS names for which a certificate is being requested (i.e. certificate subjects). DnsNames pulumi.StringArrayInput @@ -132,7 +132,7 @@ type CertRequestState struct { IpAddresses pulumi.StringArrayInput // Name of the algorithm used when generating the private key provided in `privateKeyPem`. KeyAlgorithm pulumi.StringPtrInput - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem pulumi.StringPtrInput // The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section. Subject CertRequestSubjectPtrInput @@ -149,7 +149,7 @@ type certRequestArgs struct { DnsNames []string `pulumi:"dnsNames"` // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses []string `pulumi:"ipAddresses"` - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem string `pulumi:"privateKeyPem"` // The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section. Subject *CertRequestSubject `pulumi:"subject"` @@ -163,7 +163,7 @@ type CertRequestArgs struct { DnsNames pulumi.StringArrayInput // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses pulumi.StringArrayInput - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem pulumi.StringInput // The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section. Subject CertRequestSubjectPtrInput @@ -258,7 +258,7 @@ func (o CertRequestOutput) ToCertRequestOutputWithContext(ctx context.Context) C return o } -// The certificate request data in PEM (RFC 1421). +// The certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o CertRequestOutput) CertRequestPem() pulumi.StringOutput { return o.ApplyT(func(v *CertRequest) pulumi.StringOutput { return v.CertRequestPem }).(pulumi.StringOutput) } @@ -278,7 +278,7 @@ func (o CertRequestOutput) KeyAlgorithm() pulumi.StringOutput { return o.ApplyT(func(v *CertRequest) pulumi.StringOutput { return v.KeyAlgorithm }).(pulumi.StringOutput) } -// Private key in PEM (RFC 1421) interpolation function. +// Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. func (o CertRequestOutput) PrivateKeyPem() pulumi.StringOutput { return o.ApplyT(func(v *CertRequest) pulumi.StringOutput { return v.PrivateKeyPem }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getCertificate.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getCertificate.go index dafe20d25..d711552db 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getCertificate.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getCertificate.go @@ -47,14 +47,20 @@ type GetCertificateResult struct { func GetCertificateOutput(ctx *pulumi.Context, args GetCertificateOutputArgs, opts ...pulumi.InvokeOption) GetCertificateResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetCertificateResult, error) { + ApplyT(func(v interface{}) (GetCertificateResultOutput, error) { args := v.(GetCertificateArgs) - r, err := GetCertificate(ctx, &args, opts...) - var s GetCertificateResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetCertificateResult + secret, err := ctx.InvokePackageRaw("tls:index/getCertificate:getCertificate", args, &rv, "", opts...) + if err != nil { + return GetCertificateResultOutput{}, err } - return s, err + + output := pulumi.ToOutput(rv).(GetCertificateResultOutput) + if secret { + return pulumi.ToSecret(output).(GetCertificateResultOutput), nil + } + return output, nil }).(GetCertificateResultOutput) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getPublicKey.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getPublicKey.go index c9548e5dd..6bf17931d 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getPublicKey.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/getPublicKey.go @@ -27,34 +27,32 @@ import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // // ) -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := tls.NewPrivateKey(ctx, "ed25519-example", &tls.PrivateKeyArgs{ -// Algorithm: pulumi.String("ED25519"), -// }) -// if err != nil { -// return err -// } -// // Public key loaded from a terraform-generated private key, using the PEM (RFC 1421) format -// _ = tls.GetPublicKeyOutput(ctx, tls.GetPublicKeyOutputArgs{ -// PrivateKeyPem: ed25519_example.PrivateKeyPem, -// }, nil); -// // Public key loaded from filesystem, using the Open SSH (RFC 4716) format -// _, err = tls.GetPublicKey(ctx, invokeFile, err := std.File(ctx, &std.FileArgs{ -// Input: "~/.ssh/id_rsa_rfc4716", -// }, nil) -// if err != nil { -// return err -// } -// &tls.GetPublicKeyArgs{ -// PrivateKeyOpenssh: pulumi.StringRef(invokeFile.Result), -// }, nil); -// if err != nil { -// return err -// } -// return nil -// }) -// } +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := tls.NewPrivateKey(ctx, "ed25519-example", &tls.PrivateKeyArgs{ +// Algorithm: pulumi.String("ED25519"), +// }) +// if err != nil { +// return err +// } +// // Public key loaded from a terraform-generated private key, using the PEM (RFC 1421) format +// _ = tls.GetPublicKeyOutput(ctx, tls.GetPublicKeyOutputArgs{ +// PrivateKeyPem: ed25519_example.PrivateKeyPem, +// }, nil) +// // Public key loaded from filesystem, using the Open SSH (RFC 4716) format +// _, err = tls.GetPublicKey(ctx, &tls.GetPublicKeyArgs{ +// PrivateKeyOpenssh: pulumi.StringRef(std.File(ctx, &std.FileArgs{ +// Input: "~/.ssh/id_rsa_rfc4716", +// }, nil).Result), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func GetPublicKey(ctx *pulumi.Context, args *GetPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetPublicKeyResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) @@ -88,22 +86,28 @@ type GetPublicKeyResult struct { PublicKeyFingerprintMd5 string `pulumi:"publicKeyFingerprintMd5"` // The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g. `SHA256:...`. Only available if the selected private key format is compatible, as per the rules for `publicKeyOpenssh` and ECDSA P224 limitations. PublicKeyFingerprintSha256 string `pulumi:"publicKeyFingerprintSha256"` - // The public key, in OpenSSH PEM (RFC 4716). + // The public key, in [OpenSSH PEM (RFC 4716)](https://datatracker.ietf.org/doc/html/rfc4716) format. This is also known as ['Authorized Keys'](https://www.ssh.com/academy/ssh/authorized_keys/openssh#format-of-the-authorized-keys-file) format. This is not populated for `ECDSA` with curve `P224`, as it is not supported. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyOpenssh string `pulumi:"publicKeyOpenssh"` - // The public key, in PEM (RFC 1421). + // The public key, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyPem string `pulumi:"publicKeyPem"` } func GetPublicKeyOutput(ctx *pulumi.Context, args GetPublicKeyOutputArgs, opts ...pulumi.InvokeOption) GetPublicKeyResultOutput { return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetPublicKeyResult, error) { + ApplyT(func(v interface{}) (GetPublicKeyResultOutput, error) { args := v.(GetPublicKeyArgs) - r, err := GetPublicKey(ctx, &args, opts...) - var s GetPublicKeyResult - if r != nil { - s = *r + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPublicKeyResult + secret, err := ctx.InvokePackageRaw("tls:index/getPublicKey:getPublicKey", args, &rv, "", opts...) + if err != nil { + return GetPublicKeyResultOutput{}, err + } + + output := pulumi.ToOutput(rv).(GetPublicKeyResultOutput) + if secret { + return pulumi.ToSecret(output).(GetPublicKeyResultOutput), nil } - return s, err + return output, nil }).(GetPublicKeyResultOutput) } @@ -164,12 +168,12 @@ func (o GetPublicKeyResultOutput) PublicKeyFingerprintSha256() pulumi.StringOutp return o.ApplyT(func(v GetPublicKeyResult) string { return v.PublicKeyFingerprintSha256 }).(pulumi.StringOutput) } -// The public key, in OpenSSH PEM (RFC 4716). +// The public key, in [OpenSSH PEM (RFC 4716)](https://datatracker.ietf.org/doc/html/rfc4716) format. This is also known as ['Authorized Keys'](https://www.ssh.com/academy/ssh/authorized_keys/openssh#format-of-the-authorized-keys-file) format. This is not populated for `ECDSA` with curve `P224`, as it is not supported. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o GetPublicKeyResultOutput) PublicKeyOpenssh() pulumi.StringOutput { return o.ApplyT(func(v GetPublicKeyResult) string { return v.PublicKeyOpenssh }).(pulumi.StringOutput) } -// The public key, in PEM (RFC 1421). +// The public key, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o GetPublicKeyResultOutput) PublicKeyPem() pulumi.StringOutput { return o.ApplyT(func(v GetPublicKeyResult) string { return v.PublicKeyPem }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/internal/pulumiUtilities.go index 14de64438..2ec7b2e91 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := SdkVersion + version := semver.MustParse("5.0.9") 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 := SdkVersion + version := semver.MustParse("5.0.9") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/locallySignedCert.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/locallySignedCert.go index 9ea20373b..b0b92dc11 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/locallySignedCert.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/locallySignedCert.go @@ -23,16 +23,11 @@ type LocallySignedCert struct { CaKeyAlgorithm pulumi.StringOutput `pulumi:"caKeyAlgorithm"` // Private key of the Certificate Authority (CA) used to sign the certificate, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. CaPrivateKeyPem pulumi.StringOutput `pulumi:"caPrivateKeyPem"` - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem pulumi.StringOutput `pulumi:"certPem"` // Certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. - CertRequestPem pulumi.StringOutput `pulumi:"certRequestPem"` - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) - EarlyRenewalHours pulumi.IntOutput `pulumi:"earlyRenewalHours"` + CertRequestPem pulumi.StringOutput `pulumi:"certRequestPem"` + EarlyRenewalHours pulumi.IntOutput `pulumi:"earlyRenewalHours"` // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate pulumi.BoolOutput `pulumi:"isCaCertificate"` // Is the certificate either expired (i.e. beyond the `validityPeriodHours`) or ready for an early renewal (i.e. within the `earlyRenewalHours`)? @@ -107,16 +102,11 @@ type locallySignedCertState struct { CaKeyAlgorithm *string `pulumi:"caKeyAlgorithm"` // Private key of the Certificate Authority (CA) used to sign the certificate, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. CaPrivateKeyPem *string `pulumi:"caPrivateKeyPem"` - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem *string `pulumi:"certPem"` // Certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. - CertRequestPem *string `pulumi:"certRequestPem"` - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) - EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` + CertRequestPem *string `pulumi:"certRequestPem"` + EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate *bool `pulumi:"isCaCertificate"` // Is the certificate either expired (i.e. beyond the `validityPeriodHours`) or ready for an early renewal (i.e. within the `earlyRenewalHours`)? @@ -140,15 +130,10 @@ type LocallySignedCertState struct { CaKeyAlgorithm pulumi.StringPtrInput // Private key of the Certificate Authority (CA) used to sign the certificate, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. CaPrivateKeyPem pulumi.StringPtrInput - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem pulumi.StringPtrInput // Certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. - CertRequestPem pulumi.StringPtrInput - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) + CertRequestPem pulumi.StringPtrInput EarlyRenewalHours pulumi.IntPtrInput // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate pulumi.BoolPtrInput @@ -176,13 +161,8 @@ type locallySignedCertArgs struct { // Private key of the Certificate Authority (CA) used to sign the certificate, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. CaPrivateKeyPem string `pulumi:"caPrivateKeyPem"` // Certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. - CertRequestPem string `pulumi:"certRequestPem"` - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) - EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` + CertRequestPem string `pulumi:"certRequestPem"` + EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate *bool `pulumi:"isCaCertificate"` // Should the generated certificate include a [subject key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) (default: `false`). @@ -200,12 +180,7 @@ type LocallySignedCertArgs struct { // Private key of the Certificate Authority (CA) used to sign the certificate, in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. CaPrivateKeyPem pulumi.StringInput // Certificate request data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. - CertRequestPem pulumi.StringInput - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) + CertRequestPem pulumi.StringInput EarlyRenewalHours pulumi.IntPtrInput // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate pulumi.BoolPtrInput @@ -322,7 +297,7 @@ func (o LocallySignedCertOutput) CaPrivateKeyPem() pulumi.StringOutput { return o.ApplyT(func(v *LocallySignedCert) pulumi.StringOutput { return v.CaPrivateKeyPem }).(pulumi.StringOutput) } -// Certificate data in PEM (RFC 1421). +// Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o LocallySignedCertOutput) CertPem() pulumi.StringOutput { return o.ApplyT(func(v *LocallySignedCert) pulumi.StringOutput { return v.CertPem }).(pulumi.StringOutput) } @@ -332,11 +307,6 @@ func (o LocallySignedCertOutput) CertRequestPem() pulumi.StringOutput { return o.ApplyT(func(v *LocallySignedCert) pulumi.StringOutput { return v.CertRequestPem }).(pulumi.StringOutput) } -// The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This -// can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old -// certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate -// revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the -// early renewal period. (default: `0`) func (o LocallySignedCertOutput) EarlyRenewalHours() pulumi.IntOutput { return o.ApplyT(func(v *LocallySignedCert) pulumi.IntOutput { return v.EarlyRenewalHours }).(pulumi.IntOutput) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/privateKey.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/privateKey.go index b89ad2681..7a7a7de8e 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/privateKey.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/privateKey.go @@ -29,9 +29,9 @@ type PrivateKey struct { PublicKeyFingerprintMd5 pulumi.StringOutput `pulumi:"publicKeyFingerprintMd5"` // The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g. `SHA256:...`. Only available if the selected private key format is compatible, similarly to `publicKeyOpenssh` and the ECDSA P224 limitations. PublicKeyFingerprintSha256 pulumi.StringOutput `pulumi:"publicKeyFingerprintSha256"` - // The public key data in "Authorized Keys". + // The public key data in ["Authorized Keys"](https://www.ssh.com/academy/ssh/authorized_keys/openssh#format-of-the-authorized-keys-file) format. This is not populated for `ECDSA` with curve `P224`, as it is not supported. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyOpenssh pulumi.StringOutput `pulumi:"publicKeyOpenssh"` - // Public key data in PEM (RFC 1421). + // Public key data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyPem pulumi.StringOutput `pulumi:"publicKeyPem"` // When `algorithm` is `RSA`, the size of the generated RSA key, in bits (default: `2048`). RsaBits pulumi.IntOutput `pulumi:"rsaBits"` @@ -90,9 +90,9 @@ type privateKeyState struct { PublicKeyFingerprintMd5 *string `pulumi:"publicKeyFingerprintMd5"` // The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g. `SHA256:...`. Only available if the selected private key format is compatible, similarly to `publicKeyOpenssh` and the ECDSA P224 limitations. PublicKeyFingerprintSha256 *string `pulumi:"publicKeyFingerprintSha256"` - // The public key data in "Authorized Keys". + // The public key data in ["Authorized Keys"](https://www.ssh.com/academy/ssh/authorized_keys/openssh#format-of-the-authorized-keys-file) format. This is not populated for `ECDSA` with curve `P224`, as it is not supported. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyOpenssh *string `pulumi:"publicKeyOpenssh"` - // Public key data in PEM (RFC 1421). + // Public key data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyPem *string `pulumi:"publicKeyPem"` // When `algorithm` is `RSA`, the size of the generated RSA key, in bits (default: `2048`). RsaBits *int `pulumi:"rsaBits"` @@ -113,9 +113,9 @@ type PrivateKeyState struct { PublicKeyFingerprintMd5 pulumi.StringPtrInput // The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g. `SHA256:...`. Only available if the selected private key format is compatible, similarly to `publicKeyOpenssh` and the ECDSA P224 limitations. PublicKeyFingerprintSha256 pulumi.StringPtrInput - // The public key data in "Authorized Keys". + // The public key data in ["Authorized Keys"](https://www.ssh.com/academy/ssh/authorized_keys/openssh#format-of-the-authorized-keys-file) format. This is not populated for `ECDSA` with curve `P224`, as it is not supported. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyOpenssh pulumi.StringPtrInput - // Public key data in PEM (RFC 1421). + // Public key data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. PublicKeyPem pulumi.StringPtrInput // When `algorithm` is `RSA`, the size of the generated RSA key, in bits (default: `2048`). RsaBits pulumi.IntPtrInput @@ -266,12 +266,12 @@ func (o PrivateKeyOutput) PublicKeyFingerprintSha256() pulumi.StringOutput { return o.ApplyT(func(v *PrivateKey) pulumi.StringOutput { return v.PublicKeyFingerprintSha256 }).(pulumi.StringOutput) } -// The public key data in "Authorized Keys". +// The public key data in ["Authorized Keys"](https://www.ssh.com/academy/ssh/authorized_keys/openssh#format-of-the-authorized-keys-file) format. This is not populated for `ECDSA` with curve `P224`, as it is not supported. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o PrivateKeyOutput) PublicKeyOpenssh() pulumi.StringOutput { return o.ApplyT(func(v *PrivateKey) pulumi.StringOutput { return v.PublicKeyOpenssh }).(pulumi.StringOutput) } -// Public key data in PEM (RFC 1421). +// Public key data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o PrivateKeyOutput) PublicKeyPem() pulumi.StringOutput { return o.ApplyT(func(v *PrivateKey) pulumi.StringOutput { return v.PublicKeyPem }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumi-plugin.json index f0ef778f3..8da8f2bc7 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumi-plugin.json @@ -1,4 +1,5 @@ { "resource": true, - "name": "tls" + "name": "tls", + "version": "5.0.9" } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumiTypes.go index c84ab9a34..ba863f3fc 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/pulumiTypes.go @@ -786,7 +786,7 @@ func (o SelfSignedCertSubjectPtrOutput) StreetAddresses() pulumi.StringArrayOutp } type GetCertificateCertificate struct { - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem string `pulumi:"certPem"` // `true` if the certificate is of a CA (Certificate Authority). IsCa bool `pulumi:"isCa"` @@ -823,7 +823,7 @@ type GetCertificateCertificateInput interface { } type GetCertificateCertificateArgs struct { - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem pulumi.StringInput `pulumi:"certPem"` // `true` if the certificate is of a CA (Certificate Authority). IsCa pulumi.BoolInput `pulumi:"isCa"` @@ -899,7 +899,7 @@ func (o GetCertificateCertificateOutput) ToGetCertificateCertificateOutputWithCo return o } -// Certificate data in PEM (RFC 1421). +// Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o GetCertificateCertificateOutput) CertPem() pulumi.StringOutput { return o.ApplyT(func(v GetCertificateCertificate) string { return v.CertPem }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/selfSignedCert.go b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/selfSignedCert.go index a3d870f67..ffbb255e1 100644 --- a/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/selfSignedCert.go +++ b/vendor/github.com/pulumi/pulumi-tls/sdk/v5/go/tls/selfSignedCert.go @@ -17,23 +17,18 @@ type SelfSignedCert struct { // List of key usages allowed for the issued certificate. Values are defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280) and combine flags defined by both [Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) and [Extended Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). Accepted values: `anyExtended`, `certSigning`, `clientAuth`, `codeSigning`, `contentCommitment`, `crlSigning`, `dataEncipherment`, `decipherOnly`, `digitalSignature`, `emailProtection`, `encipherOnly`, `ipsecEndSystem`, `ipsecTunnel`, `ipsecUser`, `keyAgreement`, `keyEncipherment`, `microsoftCommercialCodeSigning`, `microsoftKernelCodeSigning`, `microsoftServerGatedCrypto`, `netscapeServerGatedCrypto`, `ocspSigning`, `serverAuth`, `timestamping`. AllowedUses pulumi.StringArrayOutput `pulumi:"allowedUses"` - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem pulumi.StringOutput `pulumi:"certPem"` // List of DNS names for which a certificate is being requested (i.e. certificate subjects). - DnsNames pulumi.StringArrayOutput `pulumi:"dnsNames"` - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) - EarlyRenewalHours pulumi.IntOutput `pulumi:"earlyRenewalHours"` + DnsNames pulumi.StringArrayOutput `pulumi:"dnsNames"` + EarlyRenewalHours pulumi.IntOutput `pulumi:"earlyRenewalHours"` // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses pulumi.StringArrayOutput `pulumi:"ipAddresses"` // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate pulumi.BoolOutput `pulumi:"isCaCertificate"` // Name of the algorithm used when generating the private key provided in `privateKeyPem`. KeyAlgorithm pulumi.StringOutput `pulumi:"keyAlgorithm"` - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem pulumi.StringOutput `pulumi:"privateKeyPem"` // Is the certificate either expired (i.e. beyond the `validityPeriodHours`) or ready for an early renewal (i.e. within the `earlyRenewalHours`)? ReadyForRenewal pulumi.BoolOutput `pulumi:"readyForRenewal"` @@ -101,23 +96,18 @@ func GetSelfSignedCert(ctx *pulumi.Context, type selfSignedCertState struct { // List of key usages allowed for the issued certificate. Values are defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280) and combine flags defined by both [Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) and [Extended Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). Accepted values: `anyExtended`, `certSigning`, `clientAuth`, `codeSigning`, `contentCommitment`, `crlSigning`, `dataEncipherment`, `decipherOnly`, `digitalSignature`, `emailProtection`, `encipherOnly`, `ipsecEndSystem`, `ipsecTunnel`, `ipsecUser`, `keyAgreement`, `keyEncipherment`, `microsoftCommercialCodeSigning`, `microsoftKernelCodeSigning`, `microsoftServerGatedCrypto`, `netscapeServerGatedCrypto`, `ocspSigning`, `serverAuth`, `timestamping`. AllowedUses []string `pulumi:"allowedUses"` - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem *string `pulumi:"certPem"` // List of DNS names for which a certificate is being requested (i.e. certificate subjects). - DnsNames []string `pulumi:"dnsNames"` - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) - EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` + DnsNames []string `pulumi:"dnsNames"` + EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses []string `pulumi:"ipAddresses"` // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate *bool `pulumi:"isCaCertificate"` // Name of the algorithm used when generating the private key provided in `privateKeyPem`. KeyAlgorithm *string `pulumi:"keyAlgorithm"` - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem *string `pulumi:"privateKeyPem"` // Is the certificate either expired (i.e. beyond the `validityPeriodHours`) or ready for an early renewal (i.e. within the `earlyRenewalHours`)? ReadyForRenewal *bool `pulumi:"readyForRenewal"` @@ -140,15 +130,10 @@ type selfSignedCertState struct { type SelfSignedCertState struct { // List of key usages allowed for the issued certificate. Values are defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280) and combine flags defined by both [Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) and [Extended Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). Accepted values: `anyExtended`, `certSigning`, `clientAuth`, `codeSigning`, `contentCommitment`, `crlSigning`, `dataEncipherment`, `decipherOnly`, `digitalSignature`, `emailProtection`, `encipherOnly`, `ipsecEndSystem`, `ipsecTunnel`, `ipsecUser`, `keyAgreement`, `keyEncipherment`, `microsoftCommercialCodeSigning`, `microsoftKernelCodeSigning`, `microsoftServerGatedCrypto`, `netscapeServerGatedCrypto`, `ocspSigning`, `serverAuth`, `timestamping`. AllowedUses pulumi.StringArrayInput - // Certificate data in PEM (RFC 1421). + // Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. CertPem pulumi.StringPtrInput // List of DNS names for which a certificate is being requested (i.e. certificate subjects). - DnsNames pulumi.StringArrayInput - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) + DnsNames pulumi.StringArrayInput EarlyRenewalHours pulumi.IntPtrInput // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses pulumi.StringArrayInput @@ -156,7 +141,7 @@ type SelfSignedCertState struct { IsCaCertificate pulumi.BoolPtrInput // Name of the algorithm used when generating the private key provided in `privateKeyPem`. KeyAlgorithm pulumi.StringPtrInput - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem pulumi.StringPtrInput // Is the certificate either expired (i.e. beyond the `validityPeriodHours`) or ready for an early renewal (i.e. within the `earlyRenewalHours`)? ReadyForRenewal pulumi.BoolPtrInput @@ -184,18 +169,13 @@ type selfSignedCertArgs struct { // List of key usages allowed for the issued certificate. Values are defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280) and combine flags defined by both [Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) and [Extended Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). Accepted values: `anyExtended`, `certSigning`, `clientAuth`, `codeSigning`, `contentCommitment`, `crlSigning`, `dataEncipherment`, `decipherOnly`, `digitalSignature`, `emailProtection`, `encipherOnly`, `ipsecEndSystem`, `ipsecTunnel`, `ipsecUser`, `keyAgreement`, `keyEncipherment`, `microsoftCommercialCodeSigning`, `microsoftKernelCodeSigning`, `microsoftServerGatedCrypto`, `netscapeServerGatedCrypto`, `ocspSigning`, `serverAuth`, `timestamping`. AllowedUses []string `pulumi:"allowedUses"` // List of DNS names for which a certificate is being requested (i.e. certificate subjects). - DnsNames []string `pulumi:"dnsNames"` - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) - EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` + DnsNames []string `pulumi:"dnsNames"` + EarlyRenewalHours *int `pulumi:"earlyRenewalHours"` // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses []string `pulumi:"ipAddresses"` // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate *bool `pulumi:"isCaCertificate"` - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem string `pulumi:"privateKeyPem"` // Should the generated certificate include an [authority key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.1): for self-signed certificates this is the same value as the [subject key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) (default: `false`). SetAuthorityKeyId *bool `pulumi:"setAuthorityKeyId"` @@ -214,18 +194,13 @@ type SelfSignedCertArgs struct { // List of key usages allowed for the issued certificate. Values are defined in [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280) and combine flags defined by both [Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) and [Extended Key Usages](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). Accepted values: `anyExtended`, `certSigning`, `clientAuth`, `codeSigning`, `contentCommitment`, `crlSigning`, `dataEncipherment`, `decipherOnly`, `digitalSignature`, `emailProtection`, `encipherOnly`, `ipsecEndSystem`, `ipsecTunnel`, `ipsecUser`, `keyAgreement`, `keyEncipherment`, `microsoftCommercialCodeSigning`, `microsoftKernelCodeSigning`, `microsoftServerGatedCrypto`, `netscapeServerGatedCrypto`, `ocspSigning`, `serverAuth`, `timestamping`. AllowedUses pulumi.StringArrayInput // List of DNS names for which a certificate is being requested (i.e. certificate subjects). - DnsNames pulumi.StringArrayInput - // The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This - // can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old - // certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate - // revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the - // early renewal period. (default: `0`) + DnsNames pulumi.StringArrayInput EarlyRenewalHours pulumi.IntPtrInput // List of IP addresses for which a certificate is being requested (i.e. certificate subjects). IpAddresses pulumi.StringArrayInput // Is the generated certificate representing a Certificate Authority (CA) (default: `false`). IsCaCertificate pulumi.BoolPtrInput - // Private key in PEM (RFC 1421) interpolation function. + // Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. PrivateKeyPem pulumi.StringInput // Should the generated certificate include an [authority key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.1): for self-signed certificates this is the same value as the [subject key identifier](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.2) (default: `false`). SetAuthorityKeyId pulumi.BoolPtrInput @@ -331,7 +306,7 @@ func (o SelfSignedCertOutput) AllowedUses() pulumi.StringArrayOutput { return o.ApplyT(func(v *SelfSignedCert) pulumi.StringArrayOutput { return v.AllowedUses }).(pulumi.StringArrayOutput) } -// Certificate data in PEM (RFC 1421). +// Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`. func (o SelfSignedCertOutput) CertPem() pulumi.StringOutput { return o.ApplyT(func(v *SelfSignedCert) pulumi.StringOutput { return v.CertPem }).(pulumi.StringOutput) } @@ -341,11 +316,6 @@ func (o SelfSignedCertOutput) DnsNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *SelfSignedCert) pulumi.StringArrayOutput { return v.DnsNames }).(pulumi.StringArrayOutput) } -// The resource will consider the certificate to have expired the given number of hours before its actual expiry time. This -// can be useful to deploy an updated certificate in advance of the expiration of the current certificate. However, the old -// certificate remains valid until its true expiration time, since this resource does not (and cannot) support certificate -// revocation. Also, this advance update can only be performed should the Terraform configuration be applied during the -// early renewal period. (default: `0`) func (o SelfSignedCertOutput) EarlyRenewalHours() pulumi.IntOutput { return o.ApplyT(func(v *SelfSignedCert) pulumi.IntOutput { return v.EarlyRenewalHours }).(pulumi.IntOutput) } @@ -365,7 +335,7 @@ func (o SelfSignedCertOutput) KeyAlgorithm() pulumi.StringOutput { return o.ApplyT(func(v *SelfSignedCert) pulumi.StringOutput { return v.KeyAlgorithm }).(pulumi.StringOutput) } -// Private key in PEM (RFC 1421) interpolation function. +// Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function. func (o SelfSignedCertOutput) PrivateKeyPem() pulumi.StringOutput { return o.ApplyT(func(v *SelfSignedCert) pulumi.StringOutput { return v.PrivateKeyPem }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/.version b/vendor/github.com/pulumi/pulumi/sdk/v3/.version index 2ab0dc8a7..92ab603e8 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/.version +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/.version @@ -1 +1 @@ -3.135.0 +3.142.0 diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optdestroy/optdestroy.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optdestroy/optdestroy.go index 0d93dae52..b0567fbce 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optdestroy/optdestroy.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optdestroy/optdestroy.go @@ -130,6 +130,13 @@ func Remove() Option { }) } +// ConfigFile specifies a file to use for configuration values rather than detecting the file name +func ConfigFile(path string) Option { + return optionFunc(func(opts *Options) { + opts.ConfigFile = path + }) +} + // Option is a parameter to be applied to a Stack.Destroy() operation type Option interface { ApplyOption(*Options) @@ -173,6 +180,8 @@ type Options struct { // Remove the stack and its configuration after all resources in the stack // have been deleted. Remove bool + // Run using the configuration values in the specified file rather than detecting the file name + ConfigFile string } type optionFunc func(*Options) diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview/optpreview.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview/optpreview.go index 328eec05d..7a2d17fc6 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview/optpreview.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview/optpreview.go @@ -150,6 +150,13 @@ func AttachDebugger() Option { }) } +// ConfigFile specifies a file to use for configuration values rather than detecting the file name +func ConfigFile(path string) Option { + return optionFunc(func(opts *Options) { + opts.ConfigFile = path + }) +} + // Option is a parameter to be applied to a Stack.Preview() operation type Option interface { ApplyOption(*Options) @@ -202,6 +209,8 @@ type Options struct { ImportFile string // Run the process under a debugger, and pause until a debugger is attached AttachDebugger bool + // Run using the configuration values in the specified file rather than detecting the file name + ConfigFile string } type optionFunc func(*Options) diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh/optrefresh.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh/optrefresh.go index 4ffb3eec3..22177b031 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh/optrefresh.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh/optrefresh.go @@ -108,6 +108,13 @@ func SuppressOutputs() Option { }) } +// ConfigFile specifies a file to use for configuration values rather than detecting the file name +func ConfigFile(path string) Option { + return optionFunc(func(opts *Options) { + opts.ConfigFile = path + }) +} + // Option is a parameter to be applied to a Stack.Refresh() operation type Option interface { ApplyOption(*Options) @@ -144,6 +151,8 @@ type Options struct { SuppressProgress bool // Suppress display of stack outputs (in case they contain sensitive values) SuppressOutputs bool + // Run using the configuration values in the specified file rather than detecting the file name + ConfigFile string } type optionFunc func(*Options) diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optup/optup.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optup/optup.go index 42316d067..075d9ba3e 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optup/optup.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/optup/optup.go @@ -157,6 +157,13 @@ func AttachDebugger() Option { }) } +// ConfigFile specifies a file to use for configuration values rather than detecting the file name +func ConfigFile(path string) Option { + return optionFunc(func(opts *Options) { + opts.ConfigFile = path + }) +} + // Option is a parameter to be applied to a Stack.Up() operation type Option interface { ApplyOption(*Options) @@ -211,6 +218,8 @@ type Options struct { ContinueOnError bool // AttachDebugger will run the process under a debugger, and pause until a debugger is attached AttachDebugger bool + // Run using the configuration values in the specified file rather than detecting the file name + ConfigFile string } type optionFunc func(*Options) diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/remote_stack.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/remote_stack.go index 08f62a013..1744c6dc5 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/remote_stack.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/auto/remote_stack.go @@ -146,7 +146,6 @@ func (s *RemoteStack) History(ctx context.Context, pageSize, page int) ([]Update // Cancel stops a stack's currently running update. It returns an error if no update is currently running. // Note that this operation is _very dangerous_, and may leave the stack in an inconsistent state // if a resource operation was pending when the update was canceled. -// This command is not supported for diy backends. func (s *RemoteStack) Cancel(ctx context.Context) error { return s.stack.Cancel(ctx) } 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 38765f27e..ee65b39cd 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 @@ -283,6 +283,9 @@ func (s *Stack) Preview(ctx context.Context, opts ...optpreview.Option) (Preview if preOpts.AttachDebugger { sharedArgs = append(sharedArgs, "--attach-debugger") } + if preOpts.ConfigFile != "" { + sharedArgs = append(sharedArgs, "--config-file="+preOpts.ConfigFile) + } // Apply the remote args, if needed. sharedArgs = append(sharedArgs, s.remoteArgs()...) @@ -420,6 +423,9 @@ func (s *Stack) Up(ctx context.Context, opts ...optup.Option) (UpResult, error) if upOpts.AttachDebugger { sharedArgs = append(sharedArgs, "--attach-debugger") } + if upOpts.ConfigFile != "" { + sharedArgs = append(sharedArgs, "--config-file="+upOpts.ConfigFile) + } // Apply the remote args, if needed. sharedArgs = append(sharedArgs, s.remoteArgs()...) @@ -746,6 +752,9 @@ func refreshOptsToCmd(o *optrefresh.Options, s *Stack, isPreview bool) []string if o.SuppressProgress { args = append(args, "--suppress-progress") } + if o.ConfigFile != "" { + args = append(args, "--config-file="+o.ConfigFile) + } // Apply the remote args, if needed. args = append(args, s.remoteArgs()...) @@ -935,6 +944,9 @@ func destroyOptsToCmd(destroyOpts *optdestroy.Options, s *Stack) []string { if destroyOpts.ContinueOnError { args = append(args, "--continue-on-error") } + if destroyOpts.ConfigFile != "" { + args = append(args, "--config-file="+destroyOpts.ConfigFile) + } execKind := constant.ExecKindAutoLocal if s.Workspace().Program() != nil { @@ -1117,7 +1129,6 @@ func (s *Stack) Info(ctx context.Context) (StackSummary, error) { // Cancel stops a stack's currently running update. It returns an error if no update is currently running. // Note that this operation is _very dangerous_, and may leave the stack in an inconsistent state // if a resource operation was pending when the update was canceled. -// This command is not supported for diy backends. func (s *Stack) Cancel(ctx context.Context) error { stdout, stderr, errCode, err := s.runPulumiCmdSync( ctx, @@ -1693,7 +1704,7 @@ func (fw *fileWatcher) Close() { if runtime.GOOS == "windows" { time.Sleep(300 * time.Millisecond) } else { - time.Sleep(50 * time.Millisecond) + time.Sleep(150 * time.Millisecond) } //nolint:errcheck diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/updates.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/updates.go index 1c8ed354f..191533411 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/updates.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/updates.go @@ -70,6 +70,12 @@ type UpdateMetadata struct { Environment map[string]string `json:"environment"` } +// EscEnvironmentMetadata describes the ESC Environments used in an update. +type EscEnvironmentMetadata struct { + // This will be in the format of "[project/]name[@tag/version]" + ID string `json:"id"` +} + type MessageSeverity string const ( diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/diag/errors.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/diag/errors.go index 1516d9ff7..87f0221de 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/diag/errors.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/diag/errors.go @@ -90,3 +90,7 @@ func GetDuplicateResourceAliasedError(urn resource.URN) *Diag { "Duplicate resource URN '%v' conflicting with alias on resource with URN '%v'", ) } + +func GetCallFailedError() *Diag { + return newError("", 2017, "call to function '%v' failed: %v") +} diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go index 344c8863a..3d9bbc34d 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go @@ -25,6 +25,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/common/diag" "github.com/pulumi/pulumi/sdk/v3/go/common/diag/colors" "github.com/pulumi/pulumi/sdk/v3/go/common/resource/config" + "github.com/pulumi/pulumi/sdk/v3/go/common/tokens" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" "github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil" "github.com/pulumi/pulumi/sdk/v3/go/common/workspace" @@ -103,6 +104,15 @@ func NewContextWithContext( statusD = diag.DefaultSink(io.Discard, io.Discard, diag.FormatOptions{Color: colors.Never}) } + var projectName tokens.PackageName + projPath, err := workspace.DetectProjectPath() + if err == nil && projPath != "" { + project, err := workspace.LoadProject(projPath) + if err == nil { + projectName = project.Name + } + } + pctx := &Context{ Diag: d, StatusDiag: statusD, @@ -115,7 +125,7 @@ func NewContextWithContext( baseContext: ctx, } if host == nil { - h, err := NewDefaultHost(pctx, runtimeOptions, disableProviderPreview, plugins, config, debugging) + h, err := NewDefaultHost(pctx, runtimeOptions, disableProviderPreview, plugins, config, debugging, projectName) if err != nil { return nil, err } @@ -124,6 +134,11 @@ func NewContextWithContext( return pctx, nil } +// Base returns this plugin context's base context; this is useful for things like cancellation. +func (ctx *Context) Base() context.Context { + return ctx.baseContext +} + // Request allocates a request sub-context. func (ctx *Context) Request() context.Context { c := ctx.baseContext diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go index 479e14707..1e236c2c7 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go @@ -99,7 +99,7 @@ type Host interface { // NewDefaultHost implements the standard plugin logic, using the standard installation root to find them. func NewDefaultHost(ctx *Context, runtimeOptions map[string]interface{}, disableProviderPreview bool, plugins *workspace.Plugins, config map[config.Key]string, - debugging DebugEventEmitter, + debugging DebugEventEmitter, projectName tokens.PackageName, ) (Host, error) { // Create plugin info from providers projectPlugins := make([]workspace.ProjectPlugin, 0) @@ -141,6 +141,7 @@ func NewDefaultHost(ctx *Context, runtimeOptions map[string]interface{}, closer: new(sync.Once), projectPlugins: projectPlugins, debugging: debugging, + projectName: projectName, } // Fire up a gRPC server to listen for requests. This acts as a RPC interface that plugins can use @@ -243,6 +244,7 @@ type defaultHost struct { server *hostServer // the server's RPC machinery. disableProviderPreview bool // true if provider plugins should disable provider preview config map[config.Key]string // the configuration map for the stack, if any. + projectName tokens.PackageName // name of the project debugging DebugEventEmitter // Used to synchronize shutdown with in-progress plugin loads. @@ -396,7 +398,7 @@ func (host *defaultHost) Provider(descriptor workspace.PackageDescriptor) (Provi plug, err := NewProvider( host, host.ctx, tokens.Package(pkg), version, - host.runtimeOptions, host.disableProviderPreview, string(jsonConfig)) + host.runtimeOptions, host.disableProviderPreview, string(jsonConfig), host.projectName) if err == nil && plug != nil { info, infoerr := plug.GetPluginInfo(host.ctx.Request()) if infoerr != nil { 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 e19e9bce9..2cd0d1d42 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 @@ -444,7 +444,7 @@ func (h *langhost) RunPlugin(info RunPluginInfo) (io.Reader, io.Reader, context. ctx, kill := context.WithCancel(h.ctx.Request()) resp, err := h.client.RunPlugin(ctx, &pulumirpc.RunPluginRequest{ - Pwd: minfo.GetProgramDirectory(), + Pwd: info.WorkingDirectory, Args: info.Args, Env: info.Env, Info: minfo, diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/plugin.go index 76c445a33..2daea8655 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/plugin.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/plugin.go @@ -121,12 +121,15 @@ func dialPlugin(portNum int, bin, prefix string, dialOptions []grpc.DialOption) port := strconv.Itoa(portNum) // Now that we have the port, go ahead and create a gRPC client connection to it. - conn, err := grpc.Dial("127.0.0.1:"+port, dialOptions...) + conn, err := grpc.NewClient("127.0.0.1:"+port, dialOptions...) if err != nil { return nil, fmt.Errorf("could not dial plugin [%v] over RPC: %w", bin, err) } - // Now wait for the gRPC connection to the plugin to become ready. + // We want to wait for the gRPC connection to the plugin to become ready before we proceed. To this end, we'll + // manually kick off a Connect() call and then wait until the state of the connection becomes Ready. + conn.Connect() + // TODO[pulumi/pulumi#337]: in theory, this should be unnecessary. gRPC's default WaitForReady behavior // should auto-retry appropriately. On Linux, however, we are observing different behavior. In the meantime // while this bug exists, we'll simply do a bit of waiting of our own up front. @@ -283,17 +286,13 @@ func newPlugin(ctx *Context, pwd, bin, prefix string, kind apitype.PluginKind, } portString += string(b[:n]) } - // Trim any whitespace from the first line (this is to handle things like windows that will write - // "1234\r\n", or slightly odd providers that might add whitespace like "1234 ") - portString = strings.TrimSpace(portString) - - // Parse the output line (minus the '\n') to ensure it's a numeric port. + // Parse the output line to ensure it's a numeric port. var port int - if port, err = strconv.Atoi(portString); err != nil { + if port, err = parsePort(portString); err != nil { killerr := plug.Kill() contract.IgnoreError(killerr) // ignoring the error because the existing one trumps it. return nil, fmt.Errorf( - "%v plugin [%v] wrote a non-numeric port to stdout ('%v'): %w", prefix, bin, port, err) + "%v plugin [%v] wrote an invalid port to stdout: %w", prefix, bin, err) } // After reading the port number, set up a tracer on stdout just so other output doesn't disappear. @@ -311,6 +310,32 @@ func newPlugin(ctx *Context, pwd, bin, prefix string, kind apitype.PluginKind, return plug, nil } +func parsePort(portString string) (int, error) { + // Workaround for https://github.com/dotnet/sdk/issues/44610 + // In .NET 9.0 `dotnet run` will print progress indicators to the terminal, + // even though it should not do this when the output is redirected. + // We strip the control characters here to ensure that the port number is parsed correctly. + //nolint:lll + // https://github.com/dotnet/sdk/pull/42240/files#diff-6860155f1838e13335d417fc2fed7b13ac5ddf3b95d3548c6646618bc59e89e7R11 + portString = strings.ReplaceAll(portString, "\x1b]9;4;3;\x1b\\", "") + portString = strings.ReplaceAll(portString, "\x1b]9;4;0;\x1b\\", "") + + // Trim any whitespace from the first line (this is to handle things like windows that will write + // "1234\r\n", or slightly odd providers that might add whitespace like "1234 ") + portString = strings.TrimSpace(portString) + + // Parse the output line to ensure it's a numeric port. + port, err := strconv.Atoi(portString) + if err != nil { + // strconv.Atoi already includes the string we tried to parse + return 0, fmt.Errorf("could not parse port: %w", err) + } + if port <= 0 || port > 65535 { + return 0, fmt.Errorf("invalid port number: %v", port) + } + return port, nil +} + // execPlugin starts the plugin executable. func execPlugin(ctx *Context, bin, prefix string, kind apitype.PluginKind, pluginArgs []string, pwd string, env []string, @@ -362,7 +387,7 @@ func execPlugin(ctx *Context, bin, prefix string, kind apitype.PluginKind, stdout, stderr, kill, err := runtime.RunPlugin(RunPluginInfo{ Info: info, WorkingDirectory: ctx.Pwd, - Args: pluginArgs, + Args: args, Env: env, }) if err != nil { @@ -401,7 +426,6 @@ func execPlugin(ctx *Context, bin, prefix string, kind apitype.PluginKind, if ok && syscallErr == syscall.ENOENT { return nil, errPluginNotFound } - } return nil, err } 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 366300c8d..b3a2f562f 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 @@ -50,12 +50,15 @@ import ( pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go" ) +// The package name for the NodeJS dynamic provider. +const nodejsDynamicProviderPackage = "pulumi-nodejs" + // The `Type()` for the NodeJS dynamic provider. Logically, this is the same as calling // providers.MakeProviderType(tokens.Package("pulumi-nodejs")), but does not depend on the providers package // (a direct dependency would cause a cyclic import issue. // // This is needed because we have to handle some buggy behavior that previous versions of this provider implemented. -const nodejsDynamicProviderType = "pulumi:providers:pulumi-nodejs" +const nodejsDynamicProviderType = "pulumi:providers:" + nodejsDynamicProviderPackage // The `Type()` for the Kubernetes provider. Logically, this is the same as calling // providers.MakeProviderType(tokens.Package("kubernetes")), but does not depend on the providers package @@ -122,6 +125,7 @@ func GetProviderAttachPort(pkg tokens.Package) (*int, error) { // plugin could not be found, or an error occurs while creating the child process, an error is returned. func NewProvider(host Host, ctx *Context, pkg tokens.Package, version *semver.Version, options map[string]interface{}, disableProviderPreview bool, jsonConfig string, + projectName tokens.PackageName, ) (Provider, error) { // See if this is a provider we just want to attach to var plug *plugin @@ -164,6 +168,15 @@ func NewProvider(host Host, ctx *Context, pkg tokens.Package, version *semver.Ve for k, v := range options { env = append(env, fmt.Sprintf("PULUMI_RUNTIME_%s=%v", strings.ToUpper(k), v)) } + if projectName != "" { + if pkg == tokens.Package(nodejsDynamicProviderPackage) { + // The Node.js SDK uses PULUMI_NODEJS_PROJECT to set the project name. + // Eventually, we should standardize on PULUMI_PROJECT for all SDKs. + // Also see `constructEnv` in sdk/go/common/resource/plugin/analyzer_plugin.go + env = append(env, fmt.Sprintf("PULUMI_NODEJS_PROJECT=%s", projectName)) + } + env = append(env, fmt.Sprintf("PULUMI_PROJECT=%s", projectName)) + } if jsonConfig != "" { env = append(env, "PULUMI_CONFIG="+jsonConfig) } @@ -1463,7 +1476,7 @@ func (p *provider) Construct(ctx context.Context, req ConstructRequest) (Constru // If the provider is not fully configured. Pretend we are the provider and call RegisterResource to get the URN. if !pcfg.known { // Connect to the resource monitor and create an appropriate client. - conn, err := grpc.Dial( + conn, err := grpc.NewClient( req.Info.MonitorAddress, grpc.WithTransportCredentials(insecure.NewCredentials()), rpcutil.GrpcChannelOptions(), @@ -1478,12 +1491,13 @@ func (p *provider) Construct(ctx context.Context, req ConstructRequest) (Constru Parent: string(req.Parent), }) if err != nil { - return ConstructResult{}, err + rpcError := rpcerror.Convert(err) + logging.V(7).Infof("%s failed: %v", label, rpcError.Message()) + return ConstructResult{}, rpcError } return ConstructResult{ URN: resource.URN(resp.GetUrn()), }, nil - } if !pcfg.acceptSecrets { 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 567f12037..2bacab783 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 @@ -27,6 +27,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/common/resource" "github.com/pulumi/pulumi/sdk/v3/go/common/resource/config" "github.com/pulumi/pulumi/sdk/v3/go/common/tokens" + "github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/rpcerror" pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go" ) @@ -732,7 +733,7 @@ func (p *providerServer) Construct(ctx context.Context, Options: options, }) if err != nil { - return nil, err + return nil, rpcerror.WrapDetailedError(err) } opts := p.marshalOptions("outputs") @@ -864,6 +865,7 @@ func (p *providerServer) Call(ctx context.Context, req *pulumirpc.CallRequest) ( Options: options, }) if err != nil { + err = rpcerror.WrapDetailedError(err) return nil, err } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/slice/slice.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/slice/slice.go index 64bd4b326..aaca4d5b9 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/slice/slice.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/slice/slice.go @@ -26,9 +26,9 @@ func Prealloc[T any](capacity int) []T { // Map applies the given function to each element of the given slice and returns a new slice with the results. func Map[T, U any](s []T, f func(T) U) []U { - r := make([]U, len(s)) - for i, v := range s { - r[i] = f(v) + r := Prealloc[U](len(s)) + for _, v := range s { + r = append(r, f(v)) } return r } @@ -36,7 +36,7 @@ func Map[T, U any](s []T, f func(T) U) []U { // MapError applies the given function to each element of the given slice and returns a new slice with the // results. If any element returns an error that error is returned, as well as the slice of results so far. func MapError[T, U any](s []T, f func(T) (U, error)) ([]U, error) { - r := make([]U, 0, len(s)) + r := Prealloc[U](len(s)) for _, v := range s { var err error u, err := f(v) diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/profile.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/profile.go index e6edaad89..42ec31ccf 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/profile.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/profile.go @@ -20,6 +20,7 @@ import ( "runtime" "runtime/pprof" "runtime/trace" + "time" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" ) @@ -43,6 +44,7 @@ func InitProfiling(prefix string, memProfileRate int) error { if memProfileRate > 0 { runtime.MemProfileRate = memProfileRate + go memoryProfileWriteLoop(prefix) } return nil @@ -52,16 +54,41 @@ func CloseProfiling(prefix string) error { pprof.StopCPUProfile() trace.Stop() + // get up-to-date statistics + return writeMemoryProfile(prefix) +} + +func writeMemoryProfile(prefix string) error { mem, err := os.Create(fmt.Sprintf("%s.%v.mem", prefix, os.Getpid())) if err != nil { return fmt.Errorf("could not create memory profile: %w", err) } defer contract.IgnoreClose(mem) - runtime.GC() // get up-to-date statistics + runtime.GC() if err = pprof.Lookup("allocs").WriteTo(mem, 0); err != nil { return fmt.Errorf("could not write memory profile: %w", err) } - return nil } + +func memoryProfileWriteLoop(prefix string) { + // Every 5 seconds write a memory profile (in case we crash before we get a chance) + for i := 0; ; i++ { + time.Sleep(5 * time.Second) + + mem, err := os.Create(fmt.Sprintf("%s.%v.mem.%d", prefix, os.Getpid(), i)) + if err != nil { + fmt.Fprintf(os.Stderr, "could not create memory profile: %s\n", err.Error()) + return + } + defer mem.Close() + + runtime.GC() // get up-to-date statistics + if err = pprof.Lookup("allocs").WriteTo(mem, 0); err != nil { + fmt.Fprintf(os.Stderr, "could not create memory profile: %s\n", err.Error()) + } + + os.Remove(fmt.Sprintf("%s.%v.mem.%d", prefix, os.Getpid(), i-1)) + } +} 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 776a36bfc..985fd349f 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 @@ -15,6 +15,7 @@ package gitutil import ( + "context" "errors" "fmt" "net/url" @@ -321,7 +322,6 @@ func (p *urlAuthParser) Parse(remoteURL string) (string, transport.AuthMethod, e } cacheAuthMethod = true return remoteURL, auth, err - } // For non-SSH URLs, see if there is basic auth info. Strip it from the @@ -430,14 +430,14 @@ func expandHomeDir(path string) (string, error) { } // GitCloneAndCheckoutCommit clones the Git repository and checkouts the specified commit. -func GitCloneAndCheckoutCommit(url string, commit plumbing.Hash, path string) error { +func GitCloneAndCheckoutCommit(ctx context.Context, url string, commit plumbing.Hash, path string) error { logging.V(10).Infof("Attempting to clone from %s at commit %v and path %s", url, commit, path) u, auth, err := parseAuthURL(url) if err != nil { return err } - repo, err := git.PlainClone(path, false, &git.CloneOptions{ + repo, err := git.PlainCloneContext(ctx, path, false, &git.CloneOptions{ URL: u, Auth: auth, }) @@ -456,20 +456,27 @@ func GitCloneAndCheckoutCommit(url string, commit plumbing.Hash, path string) er }) } -func GitCloneOrPull(rawurl string, referenceName plumbing.ReferenceName, path string, shallow bool) error { +// GitCloneOrPull pulls the repo located at rawurl into the directory specified by path. If the repo already +// exists, it will be updated to referenceName, otherwise it will be cloned, and referenceName will be checked +// out. If shallow is true, a shallow clone will be performed. +func GitCloneOrPull( + ctx context.Context, rawurl string, referenceName plumbing.ReferenceName, path string, shallow bool, +) error { logging.V(10).Infof("Attempting to clone from %s at ref %s", rawurl, referenceName) // TODO: https://github.com/go-git/go-git/pull/613 should have resolved the issue preventing this from cloning. if u, err := parseGitRepoURLParts(rawurl); err == nil && u.Hostname == AzureDevOpsHostName { // system-installed git is used to clone Azure DevOps repositories // due to https://github.com/go-git/go-git/issues/64 - return gitCloneOrPullSystemGit(rawurl, referenceName, path, shallow) + return gitCloneOrPullSystemGit(ctx, rawurl, referenceName, path, shallow) } - return gitCloneOrPull(rawurl, referenceName, path, shallow) + return gitCloneOrPull(ctx, rawurl, referenceName, path, shallow) } // GitCloneOrPull clones or updates the specified referenceName (branch or tag) of a Git repository. -func gitCloneOrPull(url string, referenceName plumbing.ReferenceName, path string, shallow bool) error { +func gitCloneOrPull( + ctx context.Context, url string, referenceName plumbing.ReferenceName, path string, shallow bool, +) error { // For shallow clones, use a depth of 1. depth := 0 if shallow { @@ -481,7 +488,7 @@ func gitCloneOrPull(url string, referenceName plumbing.ReferenceName, path strin return err } // Attempt to clone the repo. - _, cloneErr := git.PlainClone(path, false, &git.CloneOptions{ + _, cloneErr := git.PlainCloneContext(ctx, path, false, &git.CloneOptions{ URL: u, Auth: auth, ReferenceName: referenceName, @@ -565,7 +572,9 @@ func gitCloneOrPull(url string, referenceName plumbing.ReferenceName, path strin } // gitCloneOrPullSystemGit uses the `git` command to pull or clone repositories. -func gitCloneOrPullSystemGit(url string, referenceName plumbing.ReferenceName, path string, shallow bool) error { +func gitCloneOrPullSystemGit( + ctx context.Context, url string, referenceName plumbing.ReferenceName, path string, shallow bool, +) error { // Assume repo already exists, pull changes. gitArgs := []string{ "pull", @@ -582,7 +591,7 @@ func gitCloneOrPullSystemGit(url string, referenceName plumbing.ReferenceName, p } } - cmd := exec.Command("git", gitArgs...) + cmd := exec.CommandContext(ctx, "git", gitArgs...) cmd.Dir = path if err := cmd.Run(); err != nil { diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/health.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/health.go index 0abb10a13..0526719c5 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/health.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/health.go @@ -27,7 +27,7 @@ import ( // Healthcheck will poll the address at duration intervals and then call cancel once it reports unhealthy func Healthcheck(context context.Context, addr string, duration time.Duration, cancel context.CancelFunc) error { - conn, err := grpc.Dial( + conn, err := grpc.NewClient( addr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithUnaryInterceptor(OpenTracingClientInterceptor()), diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/rpcerror/rpcerror.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/rpcerror/rpcerror.go index 51aa69b77..1fc66510a 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/rpcerror/rpcerror.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/rpcerror/rpcerror.go @@ -37,6 +37,7 @@ import ( "google.golang.org/protobuf/runtime/protoiface" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" + perrors "github.com/pulumi/pulumi/sdk/v3/go/pulumi/errors" pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go" ) @@ -44,10 +45,11 @@ import ( // It contains a gRPC error code, a message, and a chain of "wrapped" // errors that led to the final dispatch of this particular error message. type Error struct { - code codes.Code - message string - cause *ErrorCause - details []interface{} + code codes.Code + message string + cause *ErrorCause + inputPropertiesErrors []perrors.InputPropertyErrorDetails + details []interface{} } var _ error = (*Error)(nil) @@ -83,6 +85,12 @@ func (r *Error) Details() []interface{} { return r.details } +// InputPropertiesErrors returns the list of input properties error that +// were attached to this error. +func (r *Error) InputPropertiesErrors() []perrors.InputPropertyErrorDetails { + return r.inputPropertiesErrors +} + // ErrorCause represents a root cause of an error that ultimately caused // an RPC endpoint to issue an error. ErrorCauses are optionally attached // to Errors. @@ -146,6 +154,25 @@ func Wrapf(code codes.Code, err error, messageFormat string, args ...interface{} return status.Err() } +func WrapDetailedError(err error) error { + var iperr *perrors.InputPropertiesError + if errors.As(err, &iperr) { + status := status.New(codes.InvalidArgument, iperr.Message) + errorDetails := pulumirpc.InputPropertiesError{} + for _, e := range iperr.Errors { + errorDetails.Errors = append(errorDetails.Errors, &pulumirpc.InputPropertiesError_PropertyError{ + PropertyPath: e.PropertyPath, + Reason: e.Reason, + }) + } + status, newErr := status.WithDetails(&errorDetails) + contract.AssertNoErrorf(newErr, "error adding details to status") + return status.Err() + } + status := status.New(codes.Unknown, err.Error()) + return status.Err() +} + // WithDetails adds arbitrary protobuf payloads to errors created by this package. // These errors will be accessible by calling `Details` on `Error` instances created // by `FromError`. @@ -177,6 +204,15 @@ func FromError(err error) (*Error, bool) { rpcError.message = status.Message() rpcError.details = status.Details() for _, details := range status.Details() { + if d, ok := details.(*pulumirpc.InputPropertiesError); ok { + rpcError.inputPropertiesErrors = make([]perrors.InputPropertyErrorDetails, len(d.Errors)) + for i, e := range d.GetErrors() { + rpcError.inputPropertiesErrors[i] = perrors.InputPropertyErrorDetails{ + PropertyPath: e.GetPropertyPath(), + Reason: e.GetReason(), + } + } + } if errorCause, ok := details.(*pulumirpc.ErrorCause); ok { contract.Assertf(rpcError.cause == nil, "RPC endpoint sent more than one ErrorCause") rpcError.cause = &ErrorCause{ diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/yamlutil/edit.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/yamlutil/edit.go index bbf9a67a3..c1e34d684 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/yamlutil/edit.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/yamlutil/edit.go @@ -26,7 +26,7 @@ type HasRawValue interface { // Edit does a deep comparison on original and new and returns a YAML document that modifies only // the nodes changed between original and new. -func Edit(original []byte, new interface{}) ([]byte, error) { +func Edit(original []byte, newValue interface{}) ([]byte, error) { var err error var oldDoc yaml.Node err = yaml.Unmarshal(original, &oldDoc) @@ -34,97 +34,123 @@ func Edit(original []byte, new interface{}) ([]byte, error) { return nil, err } - newBytes, err := yaml.Marshal(new) + newBytes, err := yaml.Marshal(newValue) if err != nil { return nil, err } - var newValue yaml.Node - err = yaml.Unmarshal(newBytes, &newValue) + var newNode yaml.Node + err = yaml.Unmarshal(newBytes, &newNode) if err != nil { return nil, err } - newValue, err = editNodes(&oldDoc, &newValue) + newNode, err = editNodes(&oldDoc, &newNode) if err != nil { return nil, err } - return YamlEncode(&newValue) + return YamlEncode(&newNode) } -func editNodes(original, new *yaml.Node) (yaml.Node, error) { - if original.Kind != new.Kind { - return *new, nil +func editNodes(original, newNode *yaml.Node) (yaml.Node, error) { + if original.Kind != newNode.Kind { + return *newNode, nil } ret := *original - ret.Tag = new.Tag - ret.Value = new.Value + ret.Tag = newNode.Tag + ret.Value = newNode.Value switch original.Kind { case yaml.DocumentNode, yaml.SequenceNode: var minLen int var content []*yaml.Node - if len(new.Content) < len(original.Content) { - minLen = len(new.Content) - } else { - minLen = len(original.Content) - } + minLen = min(len(newNode.Content), len(original.Content)) for i := 0; i < minLen; i++ { - item, err := editNodes(original.Content[i], new.Content[i]) + item, err := editNodes(original.Content[i], newNode.Content[i]) if err != nil { return ret, err } content = append(content, &item) } // Any excess nodes in the new value are copied verbatim - content = append(content, new.Content[minLen:]...) + content = append(content, newNode.Content[minLen:]...) ret.Content = content return ret, nil case yaml.MappingNode: - origKeys := make(map[string]int) - newKeys := make(map[string]int) - var newKeyList []string - - var content []*yaml.Node - for i := 0; i < len(original.Content); i += 2 { - origKeys[original.Content[i].Value] = i - } - for i := 0; i < len(new.Content); i += 2 { - value := new.Content[i].Value - newKeys[value] = i - newKeyList = append(newKeyList, value) - } - for _, k := range newKeyList { - newIdx := newKeys[k] - origIdx, has := origKeys[k] - var err error - var key yaml.Node - var value yaml.Node - if has { - key, err = editNodes(original.Content[origIdx], new.Content[newIdx]) - if err != nil { - return ret, err - } - value, err = editNodes(original.Content[origIdx+1], new.Content[newIdx+1]) - if err != nil { - return ret, err - } - } else { - key = *new.Content[newIdx] - value = *new.Content[newIdx+1] - } - content = append(content, &key) - content = append(content, &value) + content, err := handleMappingNode(original, newNode) + if err != nil { + return ret, err } ret.Content = content return ret, nil case yaml.ScalarNode, yaml.AliasNode: - ret.Content = new.Content + ret.Content = newNode.Content return ret, nil } return yaml.Node{}, errors.New("unknown node type") } + +func handleMappingNode(original, newNode *yaml.Node) ([]*yaml.Node, error) { + origKeys := make(map[string]int) + newKeys := make(map[string]int) + var origKeyList, newKeyList []string + + content := make([]*yaml.Node, 0, len(newNode.Content)) + // In each of the Content slices, the keys are at even indices and the values + // are at odd indices, so we iterate by 2 each time. + for i := 0; i < len(original.Content); i += 2 { + origKeys[original.Content[i].Value] = i + origKeyList = append(origKeyList, original.Content[i].Value) + } + for i := 0; i < len(newNode.Content); i += 2 { + newKey := newNode.Content[i].Value + _, inOriginal := origKeys[newNode.Content[i].Value] + newKeys[newKey] = i + + // Keep a list of all the keys that are not in the original to add them to + // the end, (see pulumi/pulumi#14860). + if !inOriginal { + newKeyList = append(newKeyList, newKey) + } + } + + // Process in original key order, so that we preserve the order of keys in + // the file. Add and modify all the keys in the original first, then new + // add keys. + for _, k := range origKeyList { + origIdx := origKeys[k] + newIdx, stillPresent := newKeys[k] + if !stillPresent { + // Key was in the original but not in the new value, so we skip it. + continue + } + + key, err := editNodes(original.Content[origIdx], newNode.Content[newIdx]) + if err != nil { + return nil, err + } + value, err := editNodes(original.Content[origIdx+1], newNode.Content[newIdx+1]) + if err != nil { + return nil, err + } + + content = append(content, &key) + content = append(content, &value) + } + + // Apply keys that were not in the original at the end. + for _, k := range newKeyList { + newIdx := newKeys[k] + key := *newNode.Content[newIdx] + value := *newNode.Content[newIdx+1] + + content = append(content, &key) + content = append(content, &value) + } + + return content, nil +} diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go index c0d542672..183f84aa7 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go @@ -184,8 +184,8 @@ func GetStoredCredentials() (Credentials, error) { var creds Credentials if err = json.Unmarshal(c, &creds); err != nil { - return Credentials{}, fmt.Errorf("failed to read Pulumi credentials file. Please re-run "+ - "`pulumi login` to reset your credentials file: %w", err) + return Credentials{}, fmt.Errorf("failed to read Pulumi credentials file. Please fix "+ + "or delete invalid credentials file: '%s': %w", credsFile, err) } secrets := slice.Prealloc[string](len(creds.AccessTokens)) diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go index bac190738..7498c9f2c 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go @@ -190,12 +190,16 @@ func (err *MissingError) Error() string { // PluginSource deals with downloading a specific version of a plugin, or looking up the latest version of it. type PluginSource interface { // Download fetches an io.ReadCloser for this plugin and also returns the size of the response (if known). - Download( + // The context supplied enables I/O to be canceled as needed. + Download(ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error)) (io.ReadCloser, int64, error) + // GetLatestVersion tries to find the latest version for this plugin. This is currently only supported for - // plugins we can get from github releases. - GetLatestVersion(getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error)) (*semver.Version, error) + // plugins we can get from GitHub releases. The context supplied enables I/O to be canceled as needed. + GetLatestVersion(ctx context.Context, + getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error)) (*semver.Version, error) + // A base URL that can uniquely identify the source. Has the same structure as the PluginDownloadURL // schema option. Example: "github://api.github.com/pulumi/pulumi-aws". URL() string @@ -217,6 +221,7 @@ func newGetPulumiSource(name string, kind apitype.PluginKind) *getPulumiSource { } func (source *getPulumiSource) Download( + ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (io.ReadCloser, int64, error) { @@ -226,7 +231,7 @@ func (source *getPulumiSource) Download( serverURL, url.QueryEscape(standardAssetName(source.name, source.kind, version, opSy, arch))) - req, err := buildHTTPRequest(endpoint, "") + req, err := buildHTTPRequest(ctx, endpoint, "") if err != nil { return nil, -1, err } @@ -270,13 +275,13 @@ func newGitlabSource(url *url.URL, name string, kind apitype.PluginKind) (*gitla }, nil } -func (source *gitlabSource) newHTTPRequest(url, accept string) (*http.Request, error) { +func (source *gitlabSource) newHTTPRequest(ctx context.Context, url, accept string) (*http.Request, error) { var authorization string if source.token != "" { authorization = "Bearer " + source.token } - req, err := buildHTTPRequest(url, authorization) + req, err := buildHTTPRequest(ctx, url, authorization) if err != nil { return nil, err } @@ -285,13 +290,14 @@ func (source *gitlabSource) newHTTPRequest(url, accept string) (*http.Request, e } func (source *gitlabSource) GetLatestVersion( + ctx context.Context, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (*semver.Version, error) { releaseURL := fmt.Sprintf( "https://%s/api/v4/projects/%s/releases/permalink/latest", source.host, source.project) logging.V(9).Infof("plugin GitLab releases url: %s", releaseURL) - req, err := source.newHTTPRequest(releaseURL, "application/json") + req, err := source.newHTTPRequest(ctx, releaseURL, "application/json") if err != nil { return nil, err } @@ -316,6 +322,7 @@ func (source *gitlabSource) GetLatestVersion( } func (source *gitlabSource) Download( + ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (io.ReadCloser, int64, error) { @@ -326,7 +333,7 @@ func (source *gitlabSource) Download( source.host, source.project, version, assetName) logging.V(1).Infof("%s downloading from %s", source.name, assetURL) - req, err := source.newHTTPRequest(assetURL, "application/octet-stream") + req, err := source.newHTTPRequest(ctx, assetURL, "application/octet-stream") if err != nil { return nil, -1, err } @@ -420,13 +427,13 @@ func newGithubSource(url *url.URL, name string, kind apitype.PluginKind) (*githu }, nil } -func (source *githubSource) newHTTPRequest(url, accept string) (*http.Request, error) { +func (source *githubSource) newHTTPRequest(ctx context.Context, url, accept string) (*http.Request, error) { var authorization string if source.token != "" { authorization = "token " + source.token } - req, err := buildHTTPRequest(url, authorization) + req, err := buildHTTPRequest(ctx, url, authorization) if err != nil { return nil, err } @@ -434,11 +441,16 @@ func (source *githubSource) newHTTPRequest(url, accept string) (*http.Request, e return req, nil } +func isRateLimitError(downErr *downloadError) bool { + return downErr.code == 403 && downErr.header.Get("x-ratelimit-remaining") == "0" +} + func (source *githubSource) getHTTPResponse( + ctx context.Context, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), url, accept string, ) (io.ReadCloser, int64, error) { - req, err := source.newHTTPRequest(url, accept) + req, err := source.newHTTPRequest(ctx, url, accept) if err != nil { return nil, -1, err } @@ -447,24 +459,25 @@ func (source *githubSource) getHTTPResponse( return resp, length, nil } - // Wrap 403 rate limit errors with a more helpful message. + // We handle error responoses differently here based on the type: + // - 403 errors that are also rate limit errors (x-ratelimit-remaining is 0) are wrapped in a more helpful message + // later. + // - If the user has a GITHUB_TOKEN set, 401s and 403s (that are not rate limit errors) are handled by disabling + // the token + // and trying again. This can be useful for example if the user has a fine grained token, which when set doesn't + // allow access to public repositories. + // All other errors are returned as is. var downErr *downloadError - if !errors.As(err, &downErr) || downErr.code != 403 { - // If we see a 401 error and were using a token we'll disable that token and try again - if downErr != nil && downErr.code == 401 && source.token != "" { + if !errors.As(err, &downErr) || !isRateLimitError(downErr) { + // If we see a 401 or 403 error and we're using a token we'll disable that token and try again + if downErr != nil && (downErr.code == 401 || downErr.code == 403) && source.token != "" { source.token = "" source.tokenDisabled = true - return source.getHTTPResponse(getHTTPResponse, url, accept) + return source.getHTTPResponse(ctx, getHTTPResponse, url, accept) } return nil, -1, err } - // This is a rate limiting error only if x-ratelimit-remaining is 0. - // https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#exceeding-the-rate-limit - if downErr.header.Get("x-ratelimit-remaining") != "0" { - return nil, -1, err - } - tryAgain := "." if reset, err := strconv.ParseInt(downErr.header.Get("x-ratelimit-reset"), 10, 64); err == nil { delay := time.Until(time.Unix(reset, 0).UTC()) @@ -486,13 +499,14 @@ func (source *githubSource) getHTTPResponse( } func (source *githubSource) GetLatestVersion( + ctx context.Context, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (*semver.Version, error) { releaseURL := fmt.Sprintf( "https://%s/repos/%s/%s/releases/latest", source.host, source.organization, source.repository) logging.V(9).Infof("plugin GitHub releases url: %s", releaseURL) - resp, length, err := source.getHTTPResponse(getHTTPResponse, releaseURL, "application/json") + resp, length, err := source.getHTTPResponse(ctx, getHTTPResponse, releaseURL, "application/json") if err != nil { return nil, err } @@ -513,6 +527,7 @@ func (source *githubSource) GetLatestVersion( } func (source *githubSource) Download( + ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (io.ReadCloser, int64, error) { @@ -520,7 +535,7 @@ func (source *githubSource) Download( "https://%s/repos/%s/%s/releases/tags/v%s", source.host, source.organization, source.repository, version) logging.V(9).Infof("plugin GitHub releases url: %s", releaseURL) - resp, length, err := source.getHTTPResponse(getHTTPResponse, releaseURL, "application/json") + resp, length, err := source.getHTTPResponse(ctx, getHTTPResponse, releaseURL, "application/json") if err != nil { return nil, -1, err } @@ -550,7 +565,7 @@ func (source *githubSource) Download( } logging.V(1).Infof("%s downloading from %s", source.name, assetURL) - return source.getHTTPResponse(getHTTPResponse, assetURL, "application/octet-stream") + return source.getHTTPResponse(ctx, getHTTPResponse, assetURL, "application/octet-stream") } func (source *githubSource) URL() string { @@ -577,6 +592,7 @@ func newHTTPSource(name string, kind apitype.PluginKind, url *url.URL) *httpSour } func (source *httpSource) GetLatestVersion( + ctx context.Context, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (*semver.Version, error) { return nil, errors.New("GetLatestVersion is not supported for plugins from http sources") @@ -593,6 +609,7 @@ func interpolateURL(serverURL string, name string, version semver.Version, os, a } func (source *httpSource) Download( + ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (io.ReadCloser, int64, error) { @@ -604,7 +621,7 @@ func (source *httpSource) Download( serverURL, url.QueryEscape(fmt.Sprintf("pulumi-%s-%s-v%s-%s-%s.tar.gz", source.kind, source.name, version, opSy, arch))) - req, err := buildHTTPRequest(endpoint, "") + req, err := buildHTTPRequest(ctx, endpoint, "") if err != nil { return nil, -1, err } @@ -635,6 +652,7 @@ func urlMustParse(rawURL string) *url.URL { } func (source *fallbackSource) GetLatestVersion( + ctx context.Context, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (*semver.Version, error) { // Try and get this package from our public pulumi github @@ -642,7 +660,7 @@ func (source *fallbackSource) GetLatestVersion( if err != nil { return nil, err } - version, err := public.GetLatestVersion(getHTTPResponse) + version, err := public.GetLatestVersion(ctx, getHTTPResponse) if err != nil { return nil, err } @@ -651,6 +669,7 @@ func (source *fallbackSource) GetLatestVersion( } func (source *fallbackSource) Download( + ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (io.ReadCloser, int64, error) { @@ -659,7 +678,7 @@ func (source *fallbackSource) Download( if err != nil { return nil, -1, err } - resp, length, err := public.Download(version, opSy, arch, getHTTPResponse) + resp, length, err := public.Download(ctx, version, opSy, arch, getHTTPResponse) if err == nil { return resp, length, nil } @@ -667,7 +686,7 @@ func (source *fallbackSource) Download( // Fallback to get.pulumi.com pulumi := newGetPulumiSource(source.name, source.kind) - return pulumi.Download(version, opSy, arch, getHTTPResponse) + return pulumi.Download(ctx, version, opSy, arch, getHTTPResponse) } func (source *fallbackSource) URL() string { @@ -701,9 +720,10 @@ func newChecksumSource(source PluginSource, checksum map[string][]byte) *checksu } func (source *checksumSource) GetLatestVersion( + ctx context.Context, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (*semver.Version, error) { - return source.source.GetLatestVersion(getHTTPResponse) + return source.source.GetLatestVersion(ctx, getHTTPResponse) } type checksumReader struct { @@ -737,11 +757,12 @@ func (reader *checksumReader) Close() error { } func (source *checksumSource) Download( + ctx context.Context, version semver.Version, opSy string, arch string, getHTTPResponse func(*http.Request) (io.ReadCloser, int64, error), ) (io.ReadCloser, int64, error) { checksum, ok := source.checksum[fmt.Sprintf("%s-%s", opSy, arch)] - response, length, err := source.source.Download(version, opSy, arch, getHTTPResponse) + response, length, err := source.source.Download(ctx, version, opSy, arch, getHTTPResponse) if err != nil { return nil, -1, err } @@ -1000,17 +1021,18 @@ func (spec PluginSpec) GetSource() (PluginSource, error) { } // GetLatestVersion tries to find the latest version for this plugin. This is currently only supported for -// plugins we can get from github releases. -func (spec PluginSpec) GetLatestVersion() (*semver.Version, error) { +// plugins we can get from github releases. The context allows for I/O cancellation. +func (spec PluginSpec) GetLatestVersion(ctx context.Context) (*semver.Version, error) { source, err := spec.GetSource() if err != nil { return nil, err } - return source.GetLatestVersion(getHTTPResponseWithRetry) + return source.GetLatestVersion(ctx, getHTTPResponseWithRetry) } // Download fetches an io.ReadCloser for this plugin and also returns the size of the response (if known). -func (spec PluginSpec) Download() (io.ReadCloser, int64, error) { +// The context allows for I/O cancellation. +func (spec PluginSpec) Download(ctx context.Context) (io.ReadCloser, int64, error) { // Figure out the OS/ARCH pair for the download URL. var opSy string switch runtime.GOOS { @@ -1036,11 +1058,11 @@ func (spec PluginSpec) Download() (io.ReadCloser, int64, error) { if err != nil { return nil, -1, err } - return source.Download(*spec.Version, opSy, arch, getHTTPResponse) + return source.Download(ctx, *spec.Version, opSy, arch, getHTTPResponse) } -func buildHTTPRequest(pluginEndpoint string, authorization string) (*http.Request, error) { - req, err := http.NewRequest("GET", pluginEndpoint, nil) +func buildHTTPRequest(ctx context.Context, pluginEndpoint string, authorization string) (*http.Request, error) { + req, err := http.NewRequestWithContext(ctx, "GET", pluginEndpoint, nil) if err != nil { return nil, err } @@ -1229,9 +1251,9 @@ func (d *pluginDownloader) copyBuffer(dst io.Writer, src io.Reader) (written int } } -func (d *pluginDownloader) tryDownload(pkgPlugin PluginSpec, dst io.WriteCloser) (error, error) { +func (d *pluginDownloader) tryDownload(ctx context.Context, pkgPlugin PluginSpec, dst io.WriteCloser) (error, error) { defer dst.Close() - tarball, expectedByteCount, err := pkgPlugin.Download() + tarball, expectedByteCount, err := pkgPlugin.Download(ctx) if err != nil { return err, nil } @@ -1250,12 +1272,12 @@ func (d *pluginDownloader) tryDownload(pkgPlugin PluginSpec, dst io.WriteCloser) return nil, nil } -func (d *pluginDownloader) tryDownloadToFile(pkgPlugin PluginSpec) (string, error, error) { +func (d *pluginDownloader) tryDownloadToFile(ctx context.Context, pkgPlugin PluginSpec) (string, error, error) { file, err := os.CreateTemp("" /* default temp dir */, "pulumi-plugin-tar") if err != nil { return "", nil, err } - readErr, writeErr := d.tryDownload(pkgPlugin, file) + readErr, writeErr := d.tryDownload(ctx, pkgPlugin, file) logging.V(10).Infof("try downloaded plugin %s to %s: %v %v", pkgPlugin, file.Name(), readErr, writeErr) if readErr != nil || writeErr != nil { err2 := os.Remove(file.Name()) @@ -1273,7 +1295,7 @@ func (d *pluginDownloader) tryDownloadToFile(pkgPlugin PluginSpec) (string, erro return file.Name(), nil, nil } -func (d *pluginDownloader) downloadToFileWithRetry(pkgPlugin PluginSpec) (string, error) { +func (d *pluginDownloader) downloadToFileWithRetry(ctx context.Context, pkgPlugin PluginSpec) (string, error) { delay := 80 * time.Millisecond backoff := 2.0 maxAttempts := 5 @@ -1288,7 +1310,7 @@ func (d *pluginDownloader) downloadToFileWithRetry(pkgPlugin PluginSpec) (string return false, nil, fmt.Errorf("failed all %d attempts", maxAttempts) } - tempFile, readErr, writeErr := d.tryDownloadToFile(pkgPlugin) + tempFile, readErr, writeErr := d.tryDownloadToFile(ctx, pkgPlugin) if readErr == nil && writeErr == nil { return true, tempFile, nil } @@ -1324,12 +1346,10 @@ func (d *pluginDownloader) downloadToFileWithRetry(pkgPlugin PluginSpec) (string return path.(string), nil } -// DownloadToFile downloads the given PluginSpec to a temporary file -// and returns that temporary file. -// -// This has some retry logic to re-attempt the download if it errors for any reason. -func (d *pluginDownloader) DownloadToFile(pkgPlugin PluginSpec) (*os.File, error) { - tarball, err := d.downloadToFileWithRetry(pkgPlugin) +// DownloadToFile downloads the given PluginSpec to a temporary file and returns that temporary file. This has +// some retry logic to re-attempt the download if it errors for any reason. +func (d *pluginDownloader) DownloadToFile(ctx context.Context, pkgPlugin PluginSpec) (*os.File, error) { + tarball, err := d.downloadToFileWithRetry(ctx, pkgPlugin) if err != nil { return nil, fmt.Errorf("failed to download plugin: %s: %w", pkgPlugin, err) } @@ -1341,8 +1361,10 @@ func (d *pluginDownloader) DownloadToFile(pkgPlugin PluginSpec) (*os.File, error } // DownloadToFile downloads the given PluginInfo to a temporary file and returns that temporary file. -// This has some retry logic to re-attempt the download if it errors for any reason. +// This has some retry logic to re-attempt the download if it errors for any reason. The context supplied +// may be used for cancellable I/O. func DownloadToFile( + ctx context.Context, pkgPlugin PluginSpec, wrapper func(stream io.ReadCloser, size int64) io.ReadCloser, retry func(err error, attempt int, limit int, delay time.Duration), @@ -1350,7 +1372,7 @@ func DownloadToFile( return (&pluginDownloader{ WrapStream: wrapper, OnRetry: retry, - }).DownloadToFile(pkgPlugin) + }).DownloadToFile(ctx, pkgPlugin) } type PluginContent interface { 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 469d79713..821e0e4d8 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 @@ -656,7 +656,6 @@ func (proj *Project) Validate() error { inferredTypeName) } } - } else { // when not namespaced by project, there shouldn't be a type, only a value if configType.IsExplicitlyTyped() { 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 index c77fb3091..fe44b7e4f 100644 --- 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 @@ -1,4 +1,4 @@ -// Copyright 2016-2018, Pulumi Corporation. +// Copyright 2016-2024, Pulumi Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,6 +15,7 @@ package workspace import ( + "context" "errors" "fmt" "io/fs" @@ -281,23 +282,25 @@ func isTemplateFileOrDirectory(templateNamePathOrURL string) bool { } // RetrieveTemplates retrieves a "template repository" based on the specified name, path, or URL. -func RetrieveTemplates(templateNamePathOrURL string, offline bool, +func RetrieveTemplates(ctx context.Context, templateNamePathOrURL string, offline bool, templateKind TemplateKind, ) (TemplateRepository, error) { if isZIPTemplateURL(templateNamePathOrURL) { return retrieveZIPTemplates(templateNamePathOrURL) } if IsTemplateURL(templateNamePathOrURL) { - return retrieveURLTemplates(templateNamePathOrURL, offline, templateKind) + return retrieveURLTemplates(ctx, templateNamePathOrURL, offline, templateKind) } if isTemplateFileOrDirectory(templateNamePathOrURL) { return retrieveFileTemplates(templateNamePathOrURL) } - return retrievePulumiTemplates(templateNamePathOrURL, offline, templateKind) + return retrievePulumiTemplates(ctx, templateNamePathOrURL, offline, templateKind) } // retrieveURLTemplates retrieves the "template repository" at the specified URL. -func retrieveURLTemplates(rawurl string, offline bool, templateKind TemplateKind) (TemplateRepository, error) { +func retrieveURLTemplates( + ctx context.Context, rawurl string, offline bool, templateKind TemplateKind, +) (TemplateRepository, error) { if offline { return TemplateRepository{}, fmt.Errorf("cannot use %s offline", rawurl) } @@ -311,7 +314,7 @@ func retrieveURLTemplates(rawurl string, offline bool, templateKind TemplateKind } var fullPath string - if fullPath, err = RetrieveGitFolder(rawurl, temp); err != nil { + if fullPath, err = RetrieveGitFolder(ctx, rawurl, temp); err != nil { return TemplateRepository{}, fmt.Errorf("failed to retrieve git folder: %w", err) } @@ -334,7 +337,9 @@ func retrieveFileTemplates(path string) (TemplateRepository, error) { // 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(templateName string, offline bool, templateKind TemplateKind) (TemplateRepository, error) { +func retrievePulumiTemplates( + ctx context.Context, templateName string, offline bool, templateKind TemplateKind, +) (TemplateRepository, error) { templateName = strings.ToLower(templateName) // Cleanup the template directory. @@ -361,7 +366,7 @@ func retrievePulumiTemplates(templateName string, offline bool, templateKind Tem repo = pulumiPolicyTemplateGitRepository branch = plumbing.NewBranchReferenceName(pulumiPolicyTemplateBranch) } - err := gitutil.GitCloneOrPull(repo, branch, templateDir, false /*shallow*/) + err := gitutil.GitCloneOrPull(ctx, repo, branch, templateDir, false /*shallow*/) if err != nil { return TemplateRepository{}, fmt.Errorf("cloning templates repo: %w", err) } @@ -389,7 +394,7 @@ func retrievePulumiTemplates(templateName string, offline bool, templateKind Tem } // RetrieveGitFolder downloads the repo to path and returns the full path on disk. -func RetrieveGitFolder(rawurl string, path string) (string, error) { +func RetrieveGitFolder(ctx context.Context, rawurl string, path string) (string, error) { url, urlPath, err := gitutil.ParseGitRepoURL(rawurl) if err != nil { return "", err @@ -417,7 +422,7 @@ func RetrieveGitFolder(rawurl string, path string) (string, error) { var cloneErr error for _, ref := range refAttempts { // Attempt the clone. If it succeeds, break - cloneErr = gitutil.GitCloneOrPull(url, ref, path, true /*shallow*/) + cloneErr = gitutil.GitCloneOrPull(ctx, url, ref, path, true /*shallow*/) if cloneErr == nil { break } @@ -425,9 +430,8 @@ func RetrieveGitFolder(rawurl string, path string) (string, error) { if cloneErr != nil { return "", fmt.Errorf("failed to clone ref '%s': %w", refAttempts[len(refAttempts)-1], cloneErr) } - } else { - if cloneErr := gitutil.GitCloneAndCheckoutCommit(url, commit, path); cloneErr != nil { + if cloneErr := gitutil.GitCloneAndCheckoutCommit(ctx, url, commit, path); cloneErr != nil { return "", fmt.Errorf("failed to clone and checkout %s(%s): %w", url, commit, cloneErr) } } @@ -529,6 +533,14 @@ func CopyTemplateFiles( 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) } @@ -554,7 +566,7 @@ func CopyTemplateFiles( // 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 whathever + // least as permissive as 0600 and whatever // permissions the source file or symlink had. var mode os.FileMode sourceStat, err := os.Lstat(source) @@ -737,6 +749,16 @@ func writeAllBytes(filename string, bytes []byte, overwrite bool, mode os.FileMo 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 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 be71bc823..b096b1155 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 @@ -1097,6 +1097,34 @@ func toOutputWithContext( return toOutputTWithContext(ctx, join, outType, v, result, forceSecretVal) } +func OutputWithDependencies(ctx context.Context, o Output, deps ...Resource) Output { + state := o.getState() + mergedDeps := mergeDependencies(state.deps, deps) + resultType := reflect.TypeOf(o) + result := NewOutput(state.join, resultType, mergedDeps...) + go func() { + v, known, secret, deps, err := o.getState().await(ctx) + if err != nil || !known { + result.getState().fulfill(nil, known, secret, deps, err) + return + } + + val := reflect.ValueOf(v) + if !val.IsValid() { + val = reflect.Zero(state.elementType()) + } + + var fulfilledDeps []Resource + fulfilledDeps = append(fulfilledDeps, deps...) + if resultOutput, ok := val.Interface().(Output); ok { + fulfilledDeps = append(fulfilledDeps, resultOutput.getState().dependencies()...) + } + // Fulfill the result. + result.getState().fulfillValue(val, true, secret, fulfilledDeps, nil) + }() + return result +} + // Input is an input value for a Pulumi resource. // // This is an untyped version of the Input type 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 ed11d130d..a74cc31da 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 @@ -90,7 +90,7 @@ func NewContext(ctx context.Context, info RunInfo) (*Context, error) { var monitorConn *grpc.ClientConn var monitor pulumirpc.ResourceMonitorClient if addr := info.MonitorAddr; addr != "" { - conn, err := grpc.Dial( + conn, err := grpc.NewClient( info.MonitorAddr, grpc.WithTransportCredentials(insecure.NewCredentials()), rpcutil.GrpcChannelOptions(), @@ -108,7 +108,7 @@ func NewContext(ctx context.Context, info RunInfo) (*Context, error) { engineConn = info.engineConn engine = pulumirpc.NewEngineClient(engineConn) } else if addr := info.EngineAddr; addr != "" { - conn, err := grpc.Dial( + conn, err := grpc.NewClient( info.EngineAddr, grpc.WithTransportCredentials(insecure.NewCredentials()), rpcutil.GrpcChannelOptions(), diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/errors/errors.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/errors/errors.go new file mode 100644 index 000000000..df881830c --- /dev/null +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/errors/errors.go @@ -0,0 +1,83 @@ +// Copyright 2024, 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 errors + +import "fmt" + +// InputPropertyErrorDetails contains the error details for an input property error. +type InputPropertyErrorDetails struct { + PropertyPath string + Reason string +} + +func (d InputPropertyErrorDetails) String() string { + return fmt.Sprintf("%s: %s", d.PropertyPath, d.Reason) +} + +// InputPropertiesError can be used to indicate that the client has made a request with +// bad input properties. +type InputPropertiesError struct { + Message string + Errors []InputPropertyErrorDetails +} + +// Create a new InputPropertiesError with a single property error. +func NewInputPropertyError(propertyPath string, reason string) *InputPropertiesError { + return NewInputPropertiesError("", InputPropertyErrorDetails{ + PropertyPath: propertyPath, + Reason: reason, + }) +} + +// Create a new InputPropertiesError with a single property error. +func InputPropertyErrorf(propertyPath string, format string, args ...interface{}) *InputPropertiesError { + return NewInputPropertiesError("", InputPropertyErrorDetails{ + PropertyPath: propertyPath, + Reason: fmt.Sprintf(format, args...), + }) +} + +// Create a new InputPropertiesError with a message and a list of property errors. +func NewInputPropertiesError(message string, details ...InputPropertyErrorDetails) *InputPropertiesError { + return &InputPropertiesError{ + Message: message, + Errors: details, + } +} + +// Create a new InputPropertiesError with a message. +func InputPropertiesErrorf(format string, args ...interface{}) *InputPropertiesError { + return NewInputPropertiesError(fmt.Sprintf(format, args...)) +} + +func (ipe *InputPropertiesError) Error() string { + message := ipe.Message + if message != "" && len(ipe.Errors) > 0 { + message += ": " + } + for i, err := range ipe.Errors { + if i == 0 { + message += "\n " + } + message += err.String() + } + return message +} + +// WithDetails adds additional property errors to an existing InputPropertiesError. +func (ipe *InputPropertiesError) WithDetails(details ...InputPropertyErrorDetails) *InputPropertiesError { + ipe.Errors = append(ipe.Errors, details...) + return ipe +} 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 b97e9687e..2d4ef859e 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 @@ -26,9 +26,10 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin" "github.com/pulumi/pulumi/sdk/v3/go/common/slice" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" + "github.com/pulumi/pulumi/sdk/v3/go/common/util/rpcutil/rpcerror" "github.com/pulumi/pulumi/sdk/v3/go/internal" - pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go" + "google.golang.org/grpc" ) @@ -138,7 +139,7 @@ func construct(ctx context.Context, req *pulumirpc.ConstructRequest, engineConn urn, state, err := constructF(pulumiCtx, req.GetType(), req.GetName(), inputs, opts) if err != nil { - return nil, err + return nil, rpcerror.WrapDetailedError(err) } rpcURN, _, _, err := urn.ToURNOutput().awaitURN(ctx) @@ -800,6 +801,7 @@ func call(ctx context.Context, req *pulumirpc.CallRequest, engineConn *grpc.Clie result, failures, err := callF(pulumiCtx, req.GetTok(), args) if err != nil { + err = rpcerror.WrapDetailedError(err) return nil, err } 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 446088e74..f8ea92d0d 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 @@ -518,37 +518,36 @@ type InvokeOptions struct { // should be downloaded. // This will be blank if the URL was inferred automatically. PluginDownloadURL string - - // This is an internal write only field that is used to store the parameterization from the default options. - parameterization []byte } -// NOTE: -// InvokeOptions is part of the public API. -// If you introduce a new option, -// consider what its "snapshot" should look like, -// not the internal representation. -// For example, a list of resources should be []Resource, -// even if it's stored as a map[string]Resource. -// If the snapshot representation diverges from the internal, -// mirror this struct into a private invokeOptions struct. -// See resourceOptions for an example. - // NewInvokeOptions builds a preview of the effect of the provided options. // // Use this to get a read-only snapshot of the collective effect // of a list of [InvokeOption]s. func NewInvokeOptions(opts ...InvokeOption) (*InvokeOptions, error) { - var options InvokeOptions - for _, o := range opts { - if o != nil { - o.applyInvokeOption(&options) - } - } // The error return is currently unused, // but it's foreseeable that we'll need it // if we begin doing option validation at option merge time. - return &options, nil + return invokeOptionsSnapshot(mergeInvokeOptions(opts...)), nil +} + +// invokeOptions is the internal representation of the effect of +// [InvokeOptions]s. +type invokeOptions struct { + Parent Resource + Provider ProviderResource + Version string + PluginDownloadURL string + Parameterization []byte +} + +func invokeOptionsSnapshot(io *invokeOptions) *InvokeOptions { + return &InvokeOptions{ + Parent: io.Parent, + Provider: io.Provider, + Version: io.Version, + PluginDownloadURL: io.PluginDownloadURL, + } } type ResourceOption interface { @@ -556,7 +555,7 @@ type ResourceOption interface { } type InvokeOption interface { - applyInvokeOption(*InvokeOptions) + applyInvokeOption(*invokeOptions) } type ResourceOrInvokeOption interface { @@ -570,19 +569,19 @@ func (o resourceOption) applyResourceOption(opts *resourceOptions) { o(opts) } -type invokeOption func(*InvokeOptions) +type invokeOption func(*invokeOptions) -func (o invokeOption) applyInvokeOption(opts *InvokeOptions) { +func (o invokeOption) applyInvokeOption(opts *invokeOptions) { o(opts) } -type resourceOrInvokeOption func(ro *resourceOptions, io *InvokeOptions) +type resourceOrInvokeOption func(ro *resourceOptions, io *invokeOptions) func (o resourceOrInvokeOption) applyResourceOption(opts *resourceOptions) { o(opts, nil) } -func (o resourceOrInvokeOption) applyInvokeOption(opts *InvokeOptions) { +func (o resourceOrInvokeOption) applyInvokeOption(opts *invokeOptions) { o(nil, opts) } @@ -599,6 +598,16 @@ func merge(opts ...ResourceOption) *resourceOptions { return options } +func mergeInvokeOptions(opts ...InvokeOption) *invokeOptions { + options := &invokeOptions{} + for _, o := range opts { + if o != nil { + o.applyInvokeOption(options) + } + } + return options +} + // AdditionalSecretOutputs specifies a list of output properties to mark as secret. func AdditionalSecretOutputs(o []string) ResourceOption { return resourceOption(func(ro *resourceOptions) { @@ -631,7 +640,7 @@ func Composite(opts ...ResourceOption) ResourceOption { // CompositeInvoke is an invoke option that contains other invoke options. func CompositeInvoke(opts ...InvokeOption) InvokeOption { - return invokeOption(func(ro *InvokeOptions) { + return invokeOption(func(ro *invokeOptions) { for _, o := range opts { o.applyInvokeOption(ro) } @@ -734,7 +743,7 @@ func Import(o IDInput) ResourceOption { // Parent sets the parent resource to which this resource or invoke belongs. func Parent(r Resource) ResourceOrInvokeOption { - return resourceOrInvokeOption(func(ro *resourceOptions, io *InvokeOptions) { + return resourceOrInvokeOption(func(ro *resourceOptions, io *invokeOptions) { switch { case ro != nil: ro.Parent = r @@ -800,7 +809,7 @@ func Protect(o bool) ResourceOption { // Provider sets the provider resource to use for a resource's CRUD operations or an invoke's call. func Provider(r ProviderResource) ResourceOrInvokeOption { - return resourceOrInvokeOption(func(ro *resourceOptions, io *InvokeOptions) { + return resourceOrInvokeOption(func(ro *resourceOptions, io *invokeOptions) { switch { case ro != nil: ro.Provider = r @@ -877,7 +886,7 @@ func URN_(o string) ResourceOption { // operating on this resource. This version overrides the version information inferred from the current package and // should rarely be used. func Version(o string) ResourceOrInvokeOption { - return resourceOrInvokeOption(func(ro *resourceOptions, io *InvokeOptions) { + return resourceOrInvokeOption(func(ro *resourceOptions, io *invokeOptions) { switch { case ro != nil: ro.Version = o @@ -891,7 +900,7 @@ func Version(o string) ResourceOrInvokeOption { // that should be used when operating on this resource. This url overrides the url information // inferred from the current package and should rarely be used. func PluginDownloadURL(o string) ResourceOrInvokeOption { - return resourceOrInvokeOption(func(ro *resourceOptions, io *InvokeOptions) { + return resourceOrInvokeOption(func(ro *resourceOptions, io *invokeOptions) { switch { case ro != nil: ro.PluginDownloadURL = o @@ -918,12 +927,12 @@ func DeletedWith(r Resource) ResourceOption { // If set this resource will be parameterized with the given package reference. func Parameterization(parameter []byte) ResourceOrInvokeOption { - return resourceOrInvokeOption(func(ro *resourceOptions, io *InvokeOptions) { + return resourceOrInvokeOption(func(ro *resourceOptions, io *invokeOptions) { switch { case ro != nil: ro.Parameterization = parameter case io != nil: - io.parameterization = parameter + io.Parameterization = parameter } }) } 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 6c97c6c34..99cd950ad 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 @@ -117,6 +117,17 @@ func ToSecretWithContext(ctx context.Context, input interface{}) Output { // All returns an ArrayOutput that will resolve when all of the provided inputs will resolve. Each element of the // array will contain the resolved value of the corresponding output. The output will be rejected if any of the inputs // is rejected. +// +// For example: +// +// connectionString := pulumi.All(sqlServer.Name, database.Name).ApplyT( +// func (args []interface{}) pulumi.Output { +// return Connection{ +// Server: args[0].(string), +// Database: args[1].(string), +// } +// } +// ) func All(inputs ...interface{}) ArrayOutput { return AllWithContext(context.Background(), inputs...) } @@ -124,16 +135,53 @@ func All(inputs ...interface{}) ArrayOutput { // AllWithContext returns an ArrayOutput that will resolve when all of the provided inputs will resolve. Each // element of the array will contain the resolved value of the corresponding output. The output will be rejected if any // of the inputs is rejected. +// +// For example: +// +// connectionString := pulumi.AllWithContext(ctx.Context(), sqlServer.Name, database.Name).ApplyT( +// func (args []interface{}) pulumi.Output { +// return Connection{ +// Server: args[0].(string), +// Database: args[1].(string), +// } +// } +// ) func AllWithContext(ctx context.Context, inputs ...interface{}) ArrayOutput { return ToOutputWithContext(ctx, inputs).(ArrayOutput) } // JSONMarshal uses "encoding/json".Marshal to serialize the given Output value into a JSON string. +// +// JSONMarshal *does not* support marshaling values that contain nested unknowns. You will need to manually create +// a top level unknown with [pulumi.Input.ApplyT] or [All]. This does not work: +// +// pulumi.JSONMarshal(map[string]any{"key": myResource.Name}) +// +// You need to move the output myResource.Name to a top level output: +// +// pulumi.JSONMarshal(myResource.Name.Apply(func(name string) map[string]any{ +// return map[string]any{"key": name} +// })) +// +// Supporting nested unknowns is tracked in https://github.com/pulumi/pulumi/issues/12460 func JSONMarshal(v interface{}) StringOutput { return JSONMarshalWithContext(context.Background(), v) } // JSONMarshalWithContext uses "encoding/json".Marshal to serialize the given Output value into a JSON string. +// +// JSONMarshalWithContext *does not* support marshaling values that contain nested unknowns. You will need to +// manually create a top level unknown with [pulumi.Input.ApplyT] or [All]. This does not work: +// +// pulumi.JSONMarshalWithContext(ctx.Context(), map[string]any{"key": myResource.Name}) +// +// You need to move the output myResource.Name to a top level output: +// +// pulumi.JSONMarshalWithContext(ctx.Context(), myResource.Name.Apply(func(name string) map[string]any{ +// return map[string]any{"key": name} +// })) +// +// Supporting nested unknowns is tracked in https://github.com/pulumi/pulumi/issues/12460 func JSONMarshalWithContext(ctx context.Context, v interface{}) StringOutput { o := ToOutputWithContext(ctx, v) return o.ApplyTWithContext(ctx, func(_ context.Context, v interface{}) (string, error) { @@ -174,6 +222,14 @@ func ToOutputWithContext(ctx context.Context, v interface{}) Output { return internal.ToOutputWithContext(ctx, v) } +func OutputWithDependencies(ctx context.Context, o Output, deps ...Resource) Output { + r := make([]internal.Resource, len(deps)) + for i, d := range deps { + r[i] = d.(internal.Resource) + } + return internal.OutputWithDependencies(ctx, o, r...) +} + func init() { internal.AnyOutputType = anyOutputType } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/nodejs/npm/pnpm.go b/vendor/github.com/pulumi/pulumi/sdk/v3/nodejs/npm/pnpm.go index 97a1339a5..7e5eb6afa 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/nodejs/npm/pnpm.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/nodejs/npm/pnpm.go @@ -15,6 +15,7 @@ package npm import ( + "bufio" "bytes" "context" "errors" @@ -23,7 +24,6 @@ import ( "os" "os/exec" "path/filepath" - "strings" ) // pnpm is an alternative package manager for Node.js. @@ -84,10 +84,20 @@ func (pnpm *pnpmManager) Pack(ctx context.Context, dir string, stderr io.Writer) if err != nil { return nil, err } - // Next, we try to read the name of the file from stdout. - // packfile is the name of the file containing the tarball, - // as produced by `pnpm pack`. - packFilename := strings.TrimSpace(stdout.String()) + // Next, we try to read the name of the file from stdout. packfile is the name + // of the file containing the tarball, as produced by `pnpm pack`. For pnpm + // versions <9.13, pnpm pack outputs a single line with the name of the + // tarball. On pnpm versions >=9.13, pnpm pack lists all the packed files, and + // the last line is the tarball. + packFilename := "" + scanner := bufio.NewScanner(bytes.NewReader(stdout.Bytes())) + for scanner.Scan() { + packFilename = scanner.Text() + } + if err := scanner.Err(); err != nil { + return nil, fmt.Errorf("failed to read the output of 'pnpm pack': %w", err) + } + packfile := filepath.Join(dir, packFilename) defer os.Remove(packfile) 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 8c83858de..4748c133f 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 @@ -36,15 +36,76 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +// The mode that controls how the provider handles the proposed name. If not specified, defaults to `PROPOSE`. +// - `PROPOSE`: The provider may use the proposed name as a suggestion but is free to modify it. +// - `ENFORCE`: The provider must use exactly the proposed name or return an error. +// - `DISABLE`: The provider should disable automatic naming and return an error if no explicit name +// is provided by user's program. +type CheckRequest_AutonamingOptions_Mode int32 + +const ( + CheckRequest_AutonamingOptions_PROPOSE CheckRequest_AutonamingOptions_Mode = 0 + CheckRequest_AutonamingOptions_ENFORCE CheckRequest_AutonamingOptions_Mode = 1 + CheckRequest_AutonamingOptions_DISABLE CheckRequest_AutonamingOptions_Mode = 2 +) + +// Enum value maps for CheckRequest_AutonamingOptions_Mode. +var ( + CheckRequest_AutonamingOptions_Mode_name = map[int32]string{ + 0: "PROPOSE", + 1: "ENFORCE", + 2: "DISABLE", + } + CheckRequest_AutonamingOptions_Mode_value = map[string]int32{ + "PROPOSE": 0, + "ENFORCE": 1, + "DISABLE": 2, + } +) + +func (x CheckRequest_AutonamingOptions_Mode) Enum() *CheckRequest_AutonamingOptions_Mode { + p := new(CheckRequest_AutonamingOptions_Mode) + *p = x + return p +} + +func (x CheckRequest_AutonamingOptions_Mode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CheckRequest_AutonamingOptions_Mode) Descriptor() protoreflect.EnumDescriptor { + return file_pulumi_provider_proto_enumTypes[0].Descriptor() +} + +func (CheckRequest_AutonamingOptions_Mode) Type() protoreflect.EnumType { + return &file_pulumi_provider_proto_enumTypes[0] +} + +func (x CheckRequest_AutonamingOptions_Mode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CheckRequest_AutonamingOptions_Mode.Descriptor instead. +func (CheckRequest_AutonamingOptions_Mode) EnumDescriptor() ([]byte, []int) { + return file_pulumi_provider_proto_rawDescGZIP(), []int{11, 0, 0} +} + +// The type of property diff kinds. type PropertyDiff_Kind int32 const ( - PropertyDiff_ADD PropertyDiff_Kind = 0 // this property was added - PropertyDiff_ADD_REPLACE PropertyDiff_Kind = 1 // this property was added, and this change requires a replace - PropertyDiff_DELETE PropertyDiff_Kind = 2 // this property was removed - PropertyDiff_DELETE_REPLACE PropertyDiff_Kind = 3 // this property was removed, and this change requires a replace - PropertyDiff_UPDATE PropertyDiff_Kind = 4 // this property's value was changed - PropertyDiff_UPDATE_REPLACE PropertyDiff_Kind = 5 // this property's value was changed, and this change requires a replace + // This property was added. + PropertyDiff_ADD PropertyDiff_Kind = 0 + // This property was added, and this change requires a replace. + PropertyDiff_ADD_REPLACE PropertyDiff_Kind = 1 + // This property was removed. + PropertyDiff_DELETE PropertyDiff_Kind = 2 + // This property was removed, and this change requires a replace. + PropertyDiff_DELETE_REPLACE PropertyDiff_Kind = 3 + // This property's value was changed. + PropertyDiff_UPDATE PropertyDiff_Kind = 4 + // This property's value was changed, and this change requires a replace. + PropertyDiff_UPDATE_REPLACE PropertyDiff_Kind = 5 ) // Enum value maps for PropertyDiff_Kind. @@ -78,11 +139,11 @@ func (x PropertyDiff_Kind) String() string { } func (PropertyDiff_Kind) Descriptor() protoreflect.EnumDescriptor { - return file_pulumi_provider_proto_enumTypes[0].Descriptor() + return file_pulumi_provider_proto_enumTypes[1].Descriptor() } func (PropertyDiff_Kind) Type() protoreflect.EnumType { - return &file_pulumi_provider_proto_enumTypes[0] + return &file_pulumi_provider_proto_enumTypes[1] } func (x PropertyDiff_Kind) Number() protoreflect.EnumNumber { @@ -94,12 +155,17 @@ func (PropertyDiff_Kind) EnumDescriptor() ([]byte, []int) { return file_pulumi_provider_proto_rawDescGZIP(), []int{15, 0} } +// The type of high-level diff results. type DiffResponse_DiffChanges int32 const ( - DiffResponse_DIFF_UNKNOWN DiffResponse_DiffChanges = 0 // unknown whether there are changes or not (legacy behavior). - DiffResponse_DIFF_NONE DiffResponse_DiffChanges = 1 // the diff was performed, and no changes were detected that require an update. - DiffResponse_DIFF_SOME DiffResponse_DiffChanges = 2 // the diff was performed, and changes were detected that require an update or replacement. + // A diff was performed but it is unknown whether there are changes or not. This exists to support legacy + // behaviour and should be generally avoided wherever possible. + DiffResponse_DIFF_UNKNOWN DiffResponse_DiffChanges = 0 + // A diff was performed and there were no changes. An update is not required. + DiffResponse_DIFF_NONE DiffResponse_DiffChanges = 1 + // A diff was performed, and changes were detected that require an update or replacement. + DiffResponse_DIFF_SOME DiffResponse_DiffChanges = 2 ) // Enum value maps for DiffResponse_DiffChanges. @@ -127,11 +193,11 @@ func (x DiffResponse_DiffChanges) String() string { } func (DiffResponse_DiffChanges) Descriptor() protoreflect.EnumDescriptor { - return file_pulumi_provider_proto_enumTypes[1].Descriptor() + return file_pulumi_provider_proto_enumTypes[2].Descriptor() } func (DiffResponse_DiffChanges) Type() protoreflect.EnumType { - return &file_pulumi_provider_proto_enumTypes[1] + return &file_pulumi_provider_proto_enumTypes[2] } func (x DiffResponse_DiffChanges) Number() protoreflect.EnumNumber { @@ -143,6 +209,18 @@ func (DiffResponse_DiffChanges) EnumDescriptor() ([]byte, []int) { return file_pulumi_provider_proto_rawDescGZIP(), []int{16, 0} } +// `ParameterizeRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Parameterize) call. A +// `ParameterizeRequest` may contain either: +// +// * a string array (`ParametersArgs`), intended to represent a set of command-line arguments so as to support +// instantiating a parameterized provider from a command-line invocation (e.g. to generate an SDK). +// * a byte array accompanied by a name and version (`ParametersValue`), intended to represent a parameter embedded in a +// previously generated SDK. +// +// Embedding parameter values in SDKs allows programs to consume parameterized providers without needing to know the +// details of the parameterization. Allowing the representation embedded into an SDK to differ from that supplied on the +// command-line permits providers to implement optimizations for the common, fast-path case (program execution), such as +// embedding a generated schema as opposed to generating it on-demand for each resource registration. type ParameterizeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -212,17 +290,22 @@ type isParameterizeRequest_Parameters interface { } type ParameterizeRequest_Args struct { - Args *ParameterizeRequest_ParametersArgs `protobuf:"bytes,1,opt,name=args,proto3,oneof"` // arguments from the command line. + // Arguments from the command line. + Args *ParameterizeRequest_ParametersArgs `protobuf:"bytes,1,opt,name=args,proto3,oneof"` } type ParameterizeRequest_Value struct { - Value *ParameterizeRequest_ParametersValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"` // values from a generated package. + // Values from a generated SDK. + Value *ParameterizeRequest_ParametersValue `protobuf:"bytes,2,opt,name=value,proto3,oneof"` } func (*ParameterizeRequest_Args) isParameterizeRequest_Parameters() {} func (*ParameterizeRequest_Value) isParameterizeRequest_Parameters() {} +// `ParameterizeResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Parameterize) call. It +// contains a name and version that can be used to identify the sub-package that now exists as a result of +// parameterization. type ParameterizeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -393,17 +476,61 @@ func (x *GetSchemaResponse) GetSchema() string { return "" } +// `ConfigureRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Configure) call. Requests +// include both provider-specific inputs (`variables` or `args`) and provider-agnostic ("protocol") configuration +// (`acceptSecrets`, `acceptResources`, and so on). type ConfigureRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Variables map[string]string `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // a map of configuration keys to values. - Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // the input properties for the provider. Only filled in for newer providers. - AcceptSecrets bool `protobuf:"varint,3,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // when true, operations should return secrets as strongly typed. - AcceptResources bool `protobuf:"varint,4,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true, operations should return resources as strongly typed values to the provider. - SendsOldInputs bool `protobuf:"varint,5,opt,name=sends_old_inputs,json=sendsOldInputs,proto3" json:"sends_old_inputs,omitempty"` // when true, diff and update will be called with the old outputs and the old inputs. - SendsOldInputsToDelete bool `protobuf:"varint,6,opt,name=sends_old_inputs_to_delete,json=sendsOldInputsToDelete,proto3" json:"sends_old_inputs_to_delete,omitempty"` // when true, delete will be called with the old outputs and the old inputs. + // :::{warning} + // `variables` is deprecated; `args` should be used instead wherever possible. + // ::: + // + // A map of input properties for the provider. Compound values, such as nested objects, should be JSON encoded so + // that they too can be passed as strings. For instance, the following configuration: + // + // ``` + // { + // "a": 42, + // "b": { + // "c": "hello", + // "d": true + // } + // } + // ``` + // + // should be encoded as: + // + // ``` + // { + // "a": "42", + // "b": "{\"c\":\"hello\",\"d\":true}" + // } + // ``` + Variables map[string]string `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A map of input properties for the provider. + // + // :::{warning} + // `args` may include secrets. Because `ConfigureRequest` is sent before [](pulumirpc.ConfigureResponse) can specify + // whether or not the provider accepts secrets in general, providers *must* handle secrets if they appear in `args`. + // ::: + Args *structpb.Struct `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` + // True if and only if the caller supports secrets. If true, operations should return strongly typed secrets if the + // provider supports them also. + AcceptSecrets bool `protobuf:"varint,3,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` + // True if and only if the caller supports strongly typed resources. If true, operations should return resources as + // strongly typed values if the provider supports them also. + AcceptResources bool `protobuf:"varint,4,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` + // True if and only if the caller supports sending old inputs as part of [](pulumirpc.ResourceProvider.Diff) and + // [](pulumirpc.ResourceProvider.Update) calls. If true, the provider should expect these fields to be populated in + // these calls. + SendsOldInputs bool `protobuf:"varint,5,opt,name=sends_old_inputs,json=sendsOldInputs,proto3" json:"sends_old_inputs,omitempty"` + // True if and only if the caller supports sending old inputs and outputs as part of + // [](pulumirpc.ResourceProvider.Delete) calls. If true, the provider should expect these fields to be populated in + // these calls. + SendsOldInputsToDelete bool `protobuf:"varint,6,opt,name=sends_old_inputs_to_delete,json=sendsOldInputsToDelete,proto3" json:"sends_old_inputs_to_delete,omitempty"` } func (x *ConfigureRequest) Reset() { @@ -480,15 +607,28 @@ func (x *ConfigureRequest) GetSendsOldInputsToDelete() bool { return false } +// `ConfigureResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Configure) call. Its primary +// purpose is to communicate features that the provider supports back to the caller. type ConfigureResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AcceptSecrets bool `protobuf:"varint,1,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` // when true, the engine should pass secrets as strongly typed values to the provider. - SupportsPreview bool `protobuf:"varint,2,opt,name=supportsPreview,proto3" json:"supportsPreview,omitempty"` // when true, the engine should invoke create and update with preview=true during previews. - AcceptResources bool `protobuf:"varint,3,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` // when true, the engine should pass resources as strongly typed values to the provider. - AcceptOutputs bool `protobuf:"varint,4,opt,name=acceptOutputs,proto3" json:"acceptOutputs,omitempty"` // when true, the engine should pass output values to the provider. + // True if and only if the provider supports secrets. If true, the caller should pass secrets as strongly typed + // values to the provider. + AcceptSecrets bool `protobuf:"varint,1,opt,name=acceptSecrets,proto3" json:"acceptSecrets,omitempty"` + // True if and only if the provider supports the `preview` field on [](pulumirpc.ResourceProvider.Create) and + // [](pulumirpc.ResourceProvider.Update) calls. If true, the engine should invoke these calls with `preview` set to + // `true` during previews. + SupportsPreview bool `protobuf:"varint,2,opt,name=supportsPreview,proto3" json:"supportsPreview,omitempty"` + // True if and only if the provider supports strongly typed resources. If true, the caller should pass resources as + // strongly typed values to the provider. + AcceptResources bool `protobuf:"varint,3,opt,name=acceptResources,proto3" json:"acceptResources,omitempty"` + // True if and only if the provider supports output values as inputs. If true, the engine should pass output values + // to the provider where possible. + AcceptOutputs bool `protobuf:"varint,4,opt,name=acceptOutputs,proto3" json:"acceptOutputs,omitempty"` + // True if the provider accepts and respects Autonaming configuration that the engine provides on behalf of user. + SupportsAutonamingConfiguration bool `protobuf:"varint,5,opt,name=supports_autonaming_configuration,json=supportsAutonamingConfiguration,proto3" json:"supports_autonaming_configuration,omitempty"` } func (x *ConfigureResponse) Reset() { @@ -551,13 +691,22 @@ func (x *ConfigureResponse) GetAcceptOutputs() bool { return false } -// ConfigureErrorMissingKeys is sent as a Detail on an error returned from `ResourceProvider.Configure`. +func (x *ConfigureResponse) GetSupportsAutonamingConfiguration() bool { + if x != nil { + return x.SupportsAutonamingConfiguration + } + return false +} + +// `ConfigureErrorMissingKeys` is the type of error details that may be sent in response to a +// [](pulumirpc.ResourceProvider.Configure) call when required configuration keys are missing. type ConfigureErrorMissingKeys struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MissingKeys []*ConfigureErrorMissingKeys_MissingKey `protobuf:"bytes,1,rep,name=missingKeys,proto3" json:"missingKeys,omitempty"` // a list of required configuration keys that were not supplied. + // A list of required configuration keys that were not supplied. + MissingKeys []*ConfigureErrorMissingKeys_MissingKey `protobuf:"bytes,1,rep,name=missingKeys,proto3" json:"missingKeys,omitempty"` } func (x *ConfigureErrorMissingKeys) Reset() { @@ -911,24 +1060,41 @@ func (x *CallResponse) GetReturnDependencies() map[string]*CallResponse_ReturnDe return nil } +// `CheckRequest` is the type of requests sent as part of [](pulumirpc.ResourceProvider.CheckConfig) and +// [](pulumirpc.ResourceProvider.Check) calls. A `CheckRequest` primarily captures the URN and inputs of the resource +// being checked. In the case of [](pulumirpc.ResourceProvider.CheckConfig), the URN will be the URN of the provider +// resource being constructed, which may or may not be a [default provider](default-providers), and the inputs will be +// the provider configuration. type CheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // the Pulumi URN for this resource. - Olds *structpb.Struct `protobuf:"bytes,2,opt,name=olds,proto3" json:"olds,omitempty"` // the old Pulumi inputs for this resource, if any. - // the new Pulumi inputs for this resource. - // - // Note that if the user specifies the ignoreChanges resource option, the value of news passed - // to the provider here may differ from the values written in the program source. It will be pre-processed by - // replacing every ignoreChanges property by a matching value from the old inputs stored in the state. + // The URN of the resource whose inputs are being checked. In the case of + // [](pulumirpc.ResourceProvider.CheckConfig), this will be the URN of the provider resource being constructed, + // which may or may not be a [default provider](default-providers). + Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` + // The old input properties or configuration for the resource, if any. + Olds *structpb.Struct `protobuf:"bytes,2,opt,name=olds,proto3" json:"olds,omitempty"` + // The new input properties or configuration for the resource, if any. // - // See also: https://www.pulumi.com/docs/concepts/options/ignorechanges/ - News *structpb.Struct `protobuf:"bytes,3,opt,name=news,proto3" json:"news,omitempty"` - RandomSeed []byte `protobuf:"bytes,5,opt,name=randomSeed,proto3" json:"randomSeed,omitempty"` // a deterministically random hash, primarily intended for global unique naming. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name for this resource. - Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // the Pulumi type for this resource. + // :::{note} + // If this resource has been specified with the + // [`ignoreChanges`](https://www.pulumi.com/docs/concepts/options/ignorechanges/), then the values in `news` may + // differ from those written in the Pulumi program registering this resource. In such cases, the caller (e.g. the + // Pulumi engine) is expected to preprocess the `news` value by replacing every property matched by `ignoreChanges` + // with its corresponding `olds` value (effectively ignoring the change). + // ::: + News *structpb.Struct `protobuf:"bytes,3,opt,name=news,proto3" json:"news,omitempty"` + // A random but deterministically computed hash, intended to be used for generating globally unique names. + RandomSeed []byte `protobuf:"bytes,5,opt,name=randomSeed,proto3" json:"randomSeed,omitempty"` + // The name of the resource being checked. This must match the name specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // The type of the resource being checked. This must match the type specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` + Autonaming *CheckRequest_AutonamingOptions `protobuf:"bytes,8,opt,name=autonaming,proto3" json:"autonaming,omitempty"` } func (x *CheckRequest) Reset() { @@ -1005,13 +1171,33 @@ func (x *CheckRequest) GetType() string { return "" } +func (x *CheckRequest) GetAutonaming() *CheckRequest_AutonamingOptions { + if x != nil { + return x.Autonaming + } + return nil +} + +// `CheckResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.CheckConfig) or +// [](pulumirpc.ResourceProvider.Check) call. A `CheckResponse` may contain either: +// +// * a set of checked, known-valid `inputs`. In the case of [](pulumirpc.ResourceProvider.CheckConfig), these may +// subsequently be passed to [](pulumirpc.ResourceProvider.DiffConfig) and/or +// [](pulumirpc.ResourceProvider.Configure). In the case of [](pulumirpc.ResourceProvider.Check), these may be passed +// to any of the supported lifecycle methods that accept provider inputs. +// * a set of `failures` detailing invalid inputs. +// +// In cases where the supplied set of inputs is valid, a `CheckResponse` may contain default values that should +// persisted to Pulumi state and passed to subsequent calls. type CheckResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Inputs *structpb.Struct `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` // the provider inputs for this resource. - Failures []*CheckFailure `protobuf:"bytes,2,rep,name=failures,proto3" json:"failures,omitempty"` // any validation failures that occurred. + // A valid, checked set of inputs. May contain defaults. + Inputs *structpb.Struct `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // Any validation failures that occurred. + Failures []*CheckFailure `protobuf:"bytes,2,rep,name=failures,proto3" json:"failures,omitempty"` } func (x *CheckResponse) Reset() { @@ -1060,13 +1246,17 @@ func (x *CheckResponse) GetFailures() []*CheckFailure { return nil } +// A `CheckFailure` describes a single validation error that arose as part of a +// [](pulumirpc.ResourceProvider.CheckConfig) or [](pulumirpc.ResourceProvider.Check) call. type CheckFailure struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` // the property that failed validation. - Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // the reason that the property failed validation. + // The input property that failed validation. + Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` + // The reason that the named property failed validation. + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` } func (x *CheckFailure) Reset() { @@ -1115,20 +1305,43 @@ func (x *CheckFailure) GetReason() string { return "" } +// `DiffRequest` is the type of requests sent as part of [](pulumirpc.ResourceProvider.DiffConfig) and +// [](pulumirpc.ResourceProvider.Diff) calls. A `DiffRequest` primarily captures: +// +// * the URN of the resource whose properties are being compared; +// * the old and new input properties of the resource; and +// * the old output properties of the resource. +// +// In the case of [](pulumirpc.ResourceProvider.DiffConfig), the URN will be the URN of the provider resource being +// examined, which may or may not be a [default provider](default-providers), and the inputs and outputs will be the +// provider configuration and state. Inputs supplied to a [](pulumirpc.ResourceProvider.DiffConfig) call should have +// been previously checked by a call to [](pulumirpc.ResourceProvider.CheckConfig); inputs supplied to a +// [](pulumirpc.ResourceProvider.Diff) call should have been previously checked by a call to +// [](pulumirpc.ResourceProvider.Check). type DiffRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the resource to diff. - Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // the Pulumi URN for this resource. - Olds *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"` // the old output values of resource to diff. - // the new input values of resource to diff, copied from CheckResponse.inputs. - News *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"` - IgnoreChanges []string `protobuf:"bytes,5,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // a set of property paths that should be treated as unchanged. - OldInputs *structpb.Struct `protobuf:"bytes,6,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to diff. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name for this resource. - Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // the Pulumi type for this resource. + // The ID of the resource being diffed. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The URN of the resource being diffed. + Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` + // The old *output* properties of the resource being diffed. + Olds *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"` + // The new *input* properties of the resource being diffed. These should have been validated by an appropriate call + // to [](pulumirpc.ResourceProvider.CheckConfig) or [](pulumirpc.ResourceProvider.Check). + News *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"` + // A set of [property paths](property-paths) that should be treated as unchanged. + IgnoreChanges []string `protobuf:"bytes,5,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` + // The old *input* properties of the resource being diffed. + OldInputs *structpb.Struct `protobuf:"bytes,6,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` + // The name of the resource being diffed. This must match the name specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + // The type of the resource being diffed. This must match the type specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` } func (x *DiffRequest) Reset() { @@ -1219,13 +1432,19 @@ func (x *DiffRequest) GetType() string { return "" } +// `PropertyDiff` describes the kind of change that occurred to a property during a diff operation. A `PropertyDiff` may +// indicate that a property was added, deleted, or updated, and may further indicate that the change requires a +// replacement. type PropertyDiff struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Kind PropertyDiff_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=pulumirpc.PropertyDiff_Kind" json:"kind,omitempty"` // The kind of diff asdsociated with this property. - InputDiff bool `protobuf:"varint,2,opt,name=inputDiff,proto3" json:"inputDiff,omitempty"` // The difference is between old and new inputs, not old and new state. + // The kind of diff associated with this property. + Kind PropertyDiff_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=pulumirpc.PropertyDiff_Kind" json:"kind,omitempty"` + // True if and only if this difference represents one between a pair of old and new inputs, as opposed to a pair of + // old and new states. + InputDiff bool `protobuf:"varint,2,opt,name=inputDiff,proto3" json:"inputDiff,omitempty"` } func (x *PropertyDiff) Reset() { @@ -1274,50 +1493,47 @@ func (x *PropertyDiff) GetInputDiff() bool { return false } +// `DiffResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.DiffConfig) or +// [](pulumirpc.ResourceProvider.Diff) call. A `DiffResponse` indicates whether a resource is unchanged, requires +// updating (that is, can be changed "in place"), or requires replacement (that is, must be destroyed and recreated +// anew). Legacy implementations may also signal that it is unknown whether there are changes or not. +// +// `DiffResponse` has evolved since its inception and there are now a number of ways that providers can signal their +// intent to callers: +// +// * *Simple diffs* utilise the `changes` field to signal which fields are responsible for a change, and the `replaces` +// field to further communicate which changes (if any) require a replacement as opposed to an update. +// +// * *Detailed diffs* are those with `hasDetailedDiff` set, and utilise the `detailedDiff` field to provide a more +// granular view of the changes that have occurred. Detailed diffs are designed to allow providers to control +// precisely which field names are displayed as responsible for a change, and to signal more accurately what kind of +// change occurred (e.g. a field was added, deleted or updated). type DiffResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Replaces []string `protobuf:"bytes,1,rep,name=replaces,proto3" json:"replaces,omitempty"` // if this update requires a replacement, the set of properties triggering it. - Stables []string `protobuf:"bytes,2,rep,name=stables,proto3" json:"stables,omitempty"` // an optional list of properties that will not ever change. - DeleteBeforeReplace bool `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` // if true, this resource must be deleted before replacing it. - Changes DiffResponse_DiffChanges `protobuf:"varint,4,opt,name=changes,proto3,enum=pulumirpc.DiffResponse_DiffChanges" json:"changes,omitempty"` // if true, this diff represents an actual difference and thus requires an update. - // a list of the properties that changed. This should only contain top level property names, it does not - // support nested properties. For that use detailedDiff. + // A set of properties which have changed and whose changes require the resource being diffed to be replaced. The + // caller should replace the resource if this set is non-empty, or if any of the properties specified in + // `detailedDiff` have a `*_REPLACE` kind. + Replaces []string `protobuf:"bytes,1,rep,name=replaces,proto3" json:"replaces,omitempty"` + // An optional list of properties that will not ever change (are stable). + Stables []string `protobuf:"bytes,2,rep,name=stables,proto3" json:"stables,omitempty"` + // If true, this resource must be deleted *before* its replacement is created. + DeleteBeforeReplace bool `protobuf:"varint,3,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` + // The result of the diff. Indicates at a high level whether the resource has changed or not (or, in legacy cases, + // if the provider does not know). + Changes DiffResponse_DiffChanges `protobuf:"varint,4,opt,name=changes,proto3,enum=pulumirpc.DiffResponse_DiffChanges" json:"changes,omitempty"` + // The set of properties which have changed. This field only supports top-level properties. It *does not* support + // full [property paths](property-paths); implementations should use `detailedDiff` when this is required. Diffs []string `protobuf:"bytes,5,rep,name=diffs,proto3" json:"diffs,omitempty"` - // detailedDiff is an optional field that contains map from each changed property to the type of the change. - // - // The keys of this map are property paths. These paths are essentially Javascript property access expressions - // in which all elements are literals, and obey the following EBNF-ish grammar: - // - // propertyName := [a-zA-Z_$] { [a-zA-Z0-9_$] } - // quotedPropertyName := '"' ( '\' '"' | [^"] ) { ( '\' '"' | [^"] ) } '"' - // arrayIndex := { [0-9] } - // - // propertyIndex := '[' ( quotedPropertyName | arrayIndex ) ']' - // rootProperty := ( propertyName | propertyIndex ) - // propertyAccessor := ( ( '.' propertyName ) | propertyIndex ) - // path := rootProperty { propertyAccessor } - // - // Examples of valid keys: - // - root - // - root.nested - // - root["nested"] - // - root.double.nest - // - root["double"].nest - // - root["double"]["nest"] - // - root.array[0] - // - root.array[100] - // - root.array[0].nested - // - root.array[0][1].nested - // - root.nested.array[0].double[1] - // - root["key with \"escaped\" quotes"] - // - root["key with a ."] - // - ["root key with \"escaped\" quotes"].nested - // - ["root key with a ."][100] - DetailedDiff map[string]*PropertyDiff `protobuf:"bytes,6,rep,name=detailedDiff,proto3" json:"detailedDiff,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // a detailed diff appropriate for display. - HasDetailedDiff bool `protobuf:"varint,7,opt,name=hasDetailedDiff,proto3" json:"hasDetailedDiff,omitempty"` // true if this response contains a detailed diff. + // `detailedDiff` can be used to implement more detailed diffs. A detailed diff is a map from [property + // paths](property-paths) to [](pulumirpc.PropertyDiff)s, which describe the kind of change that occurred to the + // property located at that path. If a provider does not implement this, the caller (typically the Pulumi engine) + // will compute a representation based on the simple diff fields (`changes`, `replaces`, and so on). + DetailedDiff map[string]*PropertyDiff `protobuf:"bytes,6,rep,name=detailedDiff,proto3" json:"detailedDiff,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // True if and only if this response contains a `detailedDiff`. + HasDetailedDiff bool `protobuf:"varint,7,opt,name=hasDetailedDiff,proto3" json:"hasDetailedDiff,omitempty"` } func (x *DiffResponse) Reset() { @@ -1401,17 +1617,28 @@ func (x *DiffResponse) GetHasDetailedDiff() bool { return false } +// `CreateRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Create) call. type CreateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // the Pulumi URN for this resource. - Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the provider inputs to set during creation. - Timeout float64 `protobuf:"fixed64,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // the create request timeout represented in seconds. - Preview bool `protobuf:"varint,4,opt,name=preview,proto3" json:"preview,omitempty"` // true if this is a preview and the provider should not actually create the resource. - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name for this resource. - Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // the Pulumi type for this resource. + // The URN of the resource being created. + Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` + // The resource's input properties, to be set during creation. These should have been validated by a call to + // [](pulumirpc.ResourceProvider.Check). + Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` + // A timeout in seconds that the caller is prepared to wait for the operation to complete. + Timeout float64 `protobuf:"fixed64,3,opt,name=timeout,proto3" json:"timeout,omitempty"` + // True if and only if the request is being made as part of a preview/dry run, in which case the provider should not + // actually create the resource. + Preview bool `protobuf:"varint,4,opt,name=preview,proto3" json:"preview,omitempty"` + // The name of the resource being created. This must match the name specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + // The type of the resource being created. This must match the type specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` } func (x *CreateRequest) Reset() { @@ -1488,13 +1715,18 @@ func (x *CreateRequest) GetType() string { return "" } +// `CreateResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Create) call. A `CreateResponse` +// contains the ID of the created resource, as well as any output properties that arose from the creation process. type CreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the created resource. - Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // any properties that were computed during creation. + // The ID of the created resource. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The resource's output properties. Typically this will be a union of the resource's input properties and any + // additional values that were computed or made available during creation. + Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` } func (x *CreateResponse) Reset() { @@ -1543,17 +1775,27 @@ func (x *CreateResponse) GetProperties() *structpb.Struct { return nil } +// `ReadRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Read) call. type ReadRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the resource to read. - Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // the Pulumi URN for this resource. - Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // the current state (sufficiently complete to identify the resource). - Inputs *structpb.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"` // the current inputs, if any (only populated during refresh). - Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name for this resource. - Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // the Pulumi type for this resource. + // The ID of the resource to read. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The URN of the resource being read. + Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` + // Any current state for the resource being read. This state should be sufficient to uniquely identify the resource. + Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` + // Any current input properties for the resource being read. These will only be populated when the + // [](pulumirpc.ResourceProvider.Read) call is being made as part of a refresh operation. + Inputs *structpb.Struct `protobuf:"bytes,4,opt,name=inputs,proto3" json:"inputs,omitempty"` + // The name of the resource being read. This must match the name specified by the `urn` field, and is passed so that + // providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` + // The type of the resource being read. This must match the type specified by the `urn` field, and is passed so that + // providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` } func (x *ReadRequest) Reset() { @@ -1630,14 +1872,20 @@ func (x *ReadRequest) GetType() string { return "" } +// `ReadResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Read) call. A `ReadResponse` contains +// the ID of the resource being read, as well as any state that was successfully read from the live environment. type ReadResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the resource read back (or empty if missing). - Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` // the state of the resource read from the live environment. - Inputs *structpb.Struct `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,omitempty"` // the inputs for this resource that would be returned from Check. + // The ID of the read resource. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The output properties of the resource read from the live environment. + Properties *structpb.Struct `protobuf:"bytes,2,opt,name=properties,proto3" json:"properties,omitempty"` + // Output-derived input properties for the resource. These are returned as they would be returned from a + // [](pulumirpc.ResourceProvider.Check) call with the same values. + Inputs *structpb.Struct `protobuf:"bytes,3,opt,name=inputs,proto3" json:"inputs,omitempty"` } func (x *ReadResponse) Reset() { @@ -1693,22 +1941,36 @@ func (x *ReadResponse) GetInputs() *structpb.Struct { return nil } +// `UpdateRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Update) call. type UpdateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the resource to update. - Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // the Pulumi URN for this resource. - Olds *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"` // the old values of provider inputs for the resource to update. - // the new values of provider inputs for the resource to update, copied from CheckResponse.inputs. - News *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"` - Timeout float64 `protobuf:"fixed64,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // the update request timeout represented in seconds. - IgnoreChanges []string `protobuf:"bytes,6,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // a set of property paths that should be treated as unchanged. - Preview bool `protobuf:"varint,7,opt,name=preview,proto3" json:"preview,omitempty"` // true if this is a preview and the provider should not actually create the resource. - OldInputs *structpb.Struct `protobuf:"bytes,8,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to diff. - Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name for this resource. - Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` // the Pulumi type for this resource. + // The ID of the resource being updated. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The URN of the resource being updated. + Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` + // The old *output* properties of the resource being updated. + Olds *structpb.Struct `protobuf:"bytes,3,opt,name=olds,proto3" json:"olds,omitempty"` + // The new input properties of the resource being updated. These should have been validated by a call to + // [](pulumirpc.ResourceProvider.Check). + News *structpb.Struct `protobuf:"bytes,4,opt,name=news,proto3" json:"news,omitempty"` + // A timeout in seconds that the caller is prepared to wait for the operation to complete. + Timeout float64 `protobuf:"fixed64,5,opt,name=timeout,proto3" json:"timeout,omitempty"` + // A set of [property paths](property-paths) that should be treated as unchanged. + IgnoreChanges []string `protobuf:"bytes,6,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` + // True if and only if the request is being made as part of a preview/dry run, in which case the provider should not + // actually update the resource. + Preview bool `protobuf:"varint,7,opt,name=preview,proto3" json:"preview,omitempty"` + // The old *input* properties of the resource being updated. + OldInputs *structpb.Struct `protobuf:"bytes,8,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` + // The name of the resource being updated. This must match the name specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` + // The type of the resource being updated. This must match the type specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` } func (x *UpdateRequest) Reset() { @@ -1813,12 +2075,15 @@ func (x *UpdateRequest) GetType() string { return "" } +// `UpdateResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Update) call. type UpdateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Properties *structpb.Struct `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` // any properties that were computed during updating. + // An updated set of resource output properties. Typically this will be a union of the resource's inputs and any + // additional values that were computed or made available during the update. + Properties *structpb.Struct `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` } func (x *UpdateResponse) Reset() { @@ -1860,18 +2125,28 @@ func (x *UpdateResponse) GetProperties() *structpb.Struct { return nil } +// `DeleteRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Delete) call. type DeleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the ID of the resource to delete. - Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` // the Pulumi URN for this resource. - Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` // the current properties on the resource. - Timeout float64 `protobuf:"fixed64,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // the delete request timeout represented in seconds. - OldInputs *structpb.Struct `protobuf:"bytes,5,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to delete. - Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name for this resource. - Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // the Pulumi type for this resource. + // The ID of the resource to delete. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The URN of the resource to delete. + Urn string `protobuf:"bytes,2,opt,name=urn,proto3" json:"urn,omitempty"` + // The old *output* properties of the resource being deleted. + Properties *structpb.Struct `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"` + // A timeout in seconds that the caller is prepared to wait for the operation to complete. + Timeout float64 `protobuf:"fixed64,4,opt,name=timeout,proto3" json:"timeout,omitempty"` + // The old *input* properties of the resource being deleted. + OldInputs *structpb.Struct `protobuf:"bytes,5,opt,name=old_inputs,json=oldInputs,proto3" json:"old_inputs,omitempty"` // the old input values of the resource to delete. + // The name of the resource being deleted. This must match the name specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // The type of the resource being deleted. This must match the type specified by the `urn` field, and is passed so + // that providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` } func (x *DeleteRequest) Reset() { @@ -1955,38 +2230,82 @@ func (x *DeleteRequest) GetType() string { return "" } +// `ConstructRequest` is the type of requests sent as part of a [](pulumirpc.ResourceProvider.Construct) call. A +// `ConstructRequest` captures enough data to be able to register nested components against the caller's resource +// monitor. type ConstructRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // the project name. - Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"` // the name of the stack being deployed into. - Config map[string]string `protobuf:"bytes,3,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // the configuration variables to apply before running. - DryRun bool `protobuf:"varint,4,opt,name=dryRun,proto3" json:"dryRun,omitempty"` // true if we're only doing a dryrun (preview). - Parallel int32 `protobuf:"varint,5,opt,name=parallel,proto3" json:"parallel,omitempty"` // the degree of parallelism for resource operations (<=1 for serial). - MonitorEndpoint string `protobuf:"bytes,6,opt,name=monitorEndpoint,proto3" json:"monitorEndpoint,omitempty"` // the address for communicating back to the resource monitor. - Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // the type of the object allocated. - Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` // the name, for URN purposes, of the object. - Parent string `protobuf:"bytes,9,opt,name=parent,proto3" json:"parent,omitempty"` // an optional parent URN that this child resource belongs to. - Inputs *structpb.Struct `protobuf:"bytes,10,opt,name=inputs,proto3" json:"inputs,omitempty"` // the inputs to the resource constructor. - InputDependencies map[string]*ConstructRequest_PropertyDependencies `protobuf:"bytes,11,rep,name=inputDependencies,proto3" json:"inputDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // a map from property keys to the dependencies of the property. - Providers map[string]string `protobuf:"bytes,13,rep,name=providers,proto3" json:"providers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // the map of providers to use for this resource's children. - Dependencies []string `protobuf:"bytes,15,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // a list of URNs that this resource depends on, as observed by the language host. - ConfigSecretKeys []string `protobuf:"bytes,16,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` // the configuration keys that have secret values. - Organization string `protobuf:"bytes,17,opt,name=organization,proto3" json:"organization,omitempty"` // the organization of the stack being deployed into. - // Resource options: - // Do not change field IDs. Add new fields at the end. - Protect bool `protobuf:"varint,12,opt,name=protect,proto3" json:"protect,omitempty"` // true if the resource should be marked protected. - Aliases []string `protobuf:"bytes,14,rep,name=aliases,proto3" json:"aliases,omitempty"` // a list of additional URNs that shoud be considered the same. - AdditionalSecretOutputs []string `protobuf:"bytes,18,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` // additional output properties that should be treated as secrets. - CustomTimeouts *ConstructRequest_CustomTimeouts `protobuf:"bytes,19,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"` // default timeouts for CRUD operations on this resource. - DeletedWith string `protobuf:"bytes,20,opt,name=deletedWith,proto3" json:"deletedWith,omitempty"` // URN of a resource that, if deleted, also deletes this resource. - DeleteBeforeReplace bool `protobuf:"varint,21,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` // whether to delete the resource before replacing it. - IgnoreChanges []string `protobuf:"bytes,22,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` // properties that should be ignored during a diff - ReplaceOnChanges []string `protobuf:"bytes,23,rep,name=replaceOnChanges,proto3" json:"replaceOnChanges,omitempty"` // properties that, when changed, trigger a replacement - RetainOnDelete bool `protobuf:"varint,24,opt,name=retainOnDelete,proto3" json:"retainOnDelete,omitempty"` // whether to retain the resource in the cloud provider when it is deleted - AcceptsOutputValues bool `protobuf:"varint,25,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` // the engine can be passed output values back, stateDependencies can be left blank if returning output values. + // The project to which this resource and its nested resources will belong. + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + // The name of the stack being deployed into. + Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"` + // Configuration for the specified project and stack. + Config map[string]string `protobuf:"bytes,3,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // True if and only if the request is being made as part of a preview/dry run, in which case the provider should not + // actually construct the component. + DryRun bool `protobuf:"varint,4,opt,name=dryRun,proto3" json:"dryRun,omitempty"` + // The degree of parallelism that may be used for resource operations. A value less than or equal to 1 indicates + // that operations should be performed serially. + Parallel int32 `protobuf:"varint,5,opt,name=parallel,proto3" json:"parallel,omitempty"` + // The address of the [](pulumirpc.ResourceMonitor) that the provider should connect to in order to send [resource + // registrations](resource-registration) for its nested resources. + MonitorEndpoint string `protobuf:"bytes,6,opt,name=monitorEndpoint,proto3" json:"monitorEndpoint,omitempty"` + // The type of the component resource being constructed. This must match the type specified by the `urn` field, and + // is passed so that providers do not have to implement URN parsing in order to extract the type of the resource. + Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` + // The name of the component resource being constructed. This must match the name specified by the `urn` field, and + // is passed so that providers do not have to implement URN parsing in order to extract the name of the resource. + Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` + // An optional parent resource that the component (and by extension, its nested resources) should be children of. + Parent string `protobuf:"bytes,9,opt,name=parent,proto3" json:"parent,omitempty"` + // The component resource's input properties. Unlike the inputs of custom resources, these will *not* have been + // passed to a call to [](pulumirpc.ResourceProvider.Check). By virtue of their being a composition of other + // resources, component resources are able to (and therefore expected) to validate their own inputs. Moreover, + // [](pulumirpc.ResourceProvider.Check) will be called on any inputs passed to nested custom resources as usual. + Inputs *structpb.Struct `protobuf:"bytes,10,opt,name=inputs,proto3" json:"inputs,omitempty"` + // A map of property dependencies for the component resource and its nested resources. + InputDependencies map[string]*ConstructRequest_PropertyDependencies `protobuf:"bytes,11,rep,name=inputDependencies,proto3" json:"inputDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A map of package names to provider references for the component resource and its nested resources. + Providers map[string]string `protobuf:"bytes,13,rep,name=providers,proto3" json:"providers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // A list of URNs that this resource and its nested resources depend on. + Dependencies []string `protobuf:"bytes,15,rep,name=dependencies,proto3" json:"dependencies,omitempty"` + // A set of configuration keys whose values are [secret](output-secrets). + ConfigSecretKeys []string `protobuf:"bytes,16,rep,name=configSecretKeys,proto3" json:"configSecretKeys,omitempty"` + // The organization to which this resource and its nested resources will belong. + Organization string `protobuf:"bytes,17,opt,name=organization,proto3" json:"organization,omitempty"` + // True if and only if the resource (and by extension, its nested resources) should be marked as protected. + // Protected resources cannot be deleted without first being unprotected. + Protect bool `protobuf:"varint,12,opt,name=protect,proto3" json:"protect,omitempty"` + // A list of additional URNs that should be considered the same as this component's URN (and which will therefore be + // used to build aliases for its nested resource URNs). These may be URNs that previously referred to this component + // e.g. if it had its parent (and consequently URN) changed. + Aliases []string `protobuf:"bytes,14,rep,name=aliases,proto3" json:"aliases,omitempty"` + // A list of input properties whose values should be treated as [secret](output-secrets). + AdditionalSecretOutputs []string `protobuf:"bytes,18,rep,name=additionalSecretOutputs,proto3" json:"additionalSecretOutputs,omitempty"` + // A set of custom timeouts that specify how long the caller is prepared to wait for the various CRUD operations of + // this resource's nested resources. + CustomTimeouts *ConstructRequest_CustomTimeouts `protobuf:"bytes,19,opt,name=customTimeouts,proto3" json:"customTimeouts,omitempty"` + // The URN of a resource that this resource (and thus its nested resources) will be implicitly deleted with. If the + // resource referred to by this URN is deleted in the same operation that this resource would be deleted, the + // [](pulumirpc.ResourceProvider.Delete) call for this resource will be elided (since this dependency signals that + // it will have already been deleted). + DeletedWith string `protobuf:"bytes,20,opt,name=deletedWith,proto3" json:"deletedWith,omitempty"` + // If true, this resource (and its nested resources) must be deleted *before* its replacement is created. + DeleteBeforeReplace bool `protobuf:"varint,21,opt,name=deleteBeforeReplace,proto3" json:"deleteBeforeReplace,omitempty"` + // A set of [property paths](property-paths) that should be treated as unchanged. + IgnoreChanges []string `protobuf:"bytes,22,rep,name=ignoreChanges,proto3" json:"ignoreChanges,omitempty"` + // A set of properties that, when changed, trigger a replacement. + ReplaceOnChanges []string `protobuf:"bytes,23,rep,name=replaceOnChanges,proto3" json:"replaceOnChanges,omitempty"` + // True if [](pulumirpc.ResourceProvider.Delete) should *not* be called when the resource (and by extension, its + // nested resources) are removed from a Pulumi program. + RetainOnDelete bool `protobuf:"varint,24,opt,name=retainOnDelete,proto3" json:"retainOnDelete,omitempty"` + // True if the caller is capable of accepting output values in response to the call. If this is set, these outputs + // may be used to communicate dependency information and so there is no need to populate + // [](pulumirpc.ConstructResponse)'s `stateDependencies` field. + AcceptsOutputValues bool `protobuf:"varint,25,opt,name=accepts_output_values,json=acceptsOutputValues,proto3" json:"accepts_output_values,omitempty"` } func (x *ConstructRequest) Reset() { @@ -2196,14 +2515,20 @@ func (x *ConstructRequest) GetAcceptsOutputValues() bool { return false } +// `ConstructResponse` is the type of responses sent by a [](pulumirpc.ResourceProvider.Construct) call. type ConstructResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` // the URN of the component resource. - State *structpb.Struct `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // any properties that were computed during construction. - StateDependencies map[string]*ConstructResponse_PropertyDependencies `protobuf:"bytes,3,rep,name=stateDependencies,proto3" json:"stateDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // a map from property keys to the dependencies of the property. + // The URN of the constructed component resource. + Urn string `protobuf:"bytes,1,opt,name=urn,proto3" json:"urn,omitempty"` + // Any output properties that the component registered as part of its construction. + State *structpb.Struct `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + // A map of property dependencies for the component's outputs. This will be set if the caller indicated that it + // could not receive dependency-communicating [output](outputs) values by setting [](pulumirpc.ConstructRequest)'s + // `accepts_output_values` field to false. + StateDependencies map[string]*ConstructResponse_PropertyDependencies `protobuf:"bytes,3,rep,name=stateDependencies,proto3" json:"stateDependencies,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *ConstructResponse) Reset() { @@ -2554,6 +2879,8 @@ func (x *GetMappingsResponse) GetProviders() []string { return nil } +// A parameter value, represented as an array of strings, as might be provided by a command-line invocation, such as +// that used to generate an SDK. type ParameterizeRequest_ParametersArgs struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2601,6 +2928,8 @@ func (x *ParameterizeRequest_ParametersArgs) GetArgs() []string { return nil } +// A parameter value, represented by an arbitrary array of bytes accompanied by a name and version. This is expected +// to be the format used by parameterized provider SDKs. type ParameterizeRequest_ParametersValue struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2667,13 +2996,22 @@ func (x *ParameterizeRequest_ParametersValue) GetValue() []byte { return nil } +// The type of key-value pairs representing keys that are missing from a [](pulumirpc.ResourceProvider.Configure) +// call. type ConfigureErrorMissingKeys_MissingKey struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the Pulumi name (not the provider name!) of the missing config key. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // a description of the missing config key, as reported by the provider. + // The name of the missing configuration key. + // + // :::{note} + // This should be the *Pulumi name* of the missing key, and not any provider-internal or upstream name. Names + // that differ between Pulumi and an upstream provider should be translated prior to being returned. + // ::: + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // A description of the missing config key, as reported by the provider. + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } func (x *ConfigureErrorMissingKeys_MissingKey) Reset() { @@ -2818,19 +3156,79 @@ func (x *CallResponse_ReturnDependencies) GetUrns() []string { return nil } -// PropertyDependencies describes the resources that a particular property depends on. +// Configuration for automatic resource naming behavior. This structure contains fields that control how the provider +// handles resource names, including proposed names and naming modes. +type CheckRequest_AutonamingOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The proposed name for the resource being checked. This may be used by the provider as a suggestion + // for the final resource name, depending on the specified mode. + ProposedName string `protobuf:"bytes,1,opt,name=proposed_name,json=proposedName,proto3" json:"proposed_name,omitempty"` + Mode CheckRequest_AutonamingOptions_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=pulumirpc.CheckRequest_AutonamingOptions_Mode" json:"mode,omitempty"` +} + +func (x *CheckRequest_AutonamingOptions) Reset() { + *x = CheckRequest_AutonamingOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_pulumi_provider_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckRequest_AutonamingOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckRequest_AutonamingOptions) ProtoMessage() {} + +func (x *CheckRequest_AutonamingOptions) ProtoReflect() protoreflect.Message { + mi := &file_pulumi_provider_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckRequest_AutonamingOptions.ProtoReflect.Descriptor instead. +func (*CheckRequest_AutonamingOptions) Descriptor() ([]byte, []int) { + return file_pulumi_provider_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *CheckRequest_AutonamingOptions) GetProposedName() string { + if x != nil { + return x.ProposedName + } + return "" +} + +func (x *CheckRequest_AutonamingOptions) GetMode() CheckRequest_AutonamingOptions_Mode { + if x != nil { + return x.Mode + } + return CheckRequest_AutonamingOptions_PROPOSE +} + +// A `PropertyDependencies` list is a set of URNs that a particular property may depend on. type ConstructRequest_PropertyDependencies struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on. + // A list of URNs that this property depends on. + Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` } func (x *ConstructRequest_PropertyDependencies) Reset() { *x = ConstructRequest_PropertyDependencies{} if protoimpl.UnsafeEnabled { - mi := &file_pulumi_provider_proto_msgTypes[41] + mi := &file_pulumi_provider_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2843,7 +3241,7 @@ func (x *ConstructRequest_PropertyDependencies) String() string { func (*ConstructRequest_PropertyDependencies) ProtoMessage() {} func (x *ConstructRequest_PropertyDependencies) ProtoReflect() protoreflect.Message { - mi := &file_pulumi_provider_proto_msgTypes[41] + mi := &file_pulumi_provider_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2866,37 +3264,37 @@ func (x *ConstructRequest_PropertyDependencies) GetUrns() []string { return nil } -// CustomTimeouts specifies timeouts for resource provisioning operations. -// Use it with the [Timeouts] option when creating new resources -// to override default timeouts. -// -// Each timeout is specified as a duration string such as, -// "5ms" (5 milliseconds), "40s" (40 seconds), -// and "1m30s" (1 minute, 30 seconds). +// A `CustomTimeouts` object encapsulates a set of timeouts for the various CRUD operations that might be performed +// on this resource's nested resources. Timeout values are specified as duration strings, such as `"5ms"` (5 +// milliseconds), `"40s"` (40 seconds), or `"1m30s"` (1 minute and 30 seconds). The following units of time are +// supported: // -// The following units are accepted. -// -// - ns: nanoseconds -// - us: microseconds -// - µs: microseconds -// - ms: milliseconds -// - s: seconds -// - m: minutes -// - h: hours +// * `ns`: nanoseconds +// * `us` or `µs`: microseconds +// * `ms`: milliseconds +// * `s`: seconds +// * `m`: minutes +// * `h`: hours type ConstructRequest_CustomTimeouts struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // How long a caller is prepared to wait for a nested resource's [](pulumirpc.ResourceProvider.Create) operation + // to complete. Create string `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"` + // How long a caller is prepared to wait for a nested resource's [](pulumirpc.ResourceProvider.Update) operation + // to complete. Update string `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"` + // How long a caller is prepared to wait for a nested resource's [](pulumirpc.ResourceProvider.Delete) operation + // to complete. Delete string `protobuf:"bytes,3,opt,name=delete,proto3" json:"delete,omitempty"` } func (x *ConstructRequest_CustomTimeouts) Reset() { *x = ConstructRequest_CustomTimeouts{} if protoimpl.UnsafeEnabled { - mi := &file_pulumi_provider_proto_msgTypes[42] + mi := &file_pulumi_provider_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2909,7 +3307,7 @@ func (x *ConstructRequest_CustomTimeouts) String() string { func (*ConstructRequest_CustomTimeouts) ProtoMessage() {} func (x *ConstructRequest_CustomTimeouts) ProtoReflect() protoreflect.Message { - mi := &file_pulumi_provider_proto_msgTypes[42] + mi := &file_pulumi_provider_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2946,19 +3344,20 @@ func (x *ConstructRequest_CustomTimeouts) GetDelete() string { return "" } -// PropertyDependencies describes the resources that a particular property depends on. +// A `PropertyDependencies` list is a set of URNs that a particular property may depend on. type ConstructResponse_PropertyDependencies struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` // A list of URNs this property depends on. + // A list of URNs that this property depends on. + Urns []string `protobuf:"bytes,1,rep,name=urns,proto3" json:"urns,omitempty"` } func (x *ConstructResponse_PropertyDependencies) Reset() { *x = ConstructResponse_PropertyDependencies{} if protoimpl.UnsafeEnabled { - mi := &file_pulumi_provider_proto_msgTypes[46] + mi := &file_pulumi_provider_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2971,7 +3370,7 @@ func (x *ConstructResponse_PropertyDependencies) String() string { func (*ConstructResponse_PropertyDependencies) ProtoMessage() {} func (x *ConstructResponse_PropertyDependencies) ProtoReflect() protoreflect.Message { - mi := &file_pulumi_provider_proto_msgTypes[46] + mi := &file_pulumi_provider_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3062,7 +3461,7 @@ var file_pulumi_provider_proto_rawDesc = []byte{ 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb3, 0x01, 0x0a, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xff, 0x01, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, @@ -3074,499 +3473,519 @@ var file_pulumi_provider_proto_rawDesc = []byte{ 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, - 0x74, 0x73, 0x22, 0xb2, 0x01, 0x0a, 0x19, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x51, 0x0a, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2e, 0x4d, 0x69, 0x73, 0x73, - 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, - 0x65, 0x79, 0x73, 0x1a, 0x42, 0x0a, 0x0a, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, - 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x6f, - 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x6f, 0x6b, + 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x21, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x5f, 0x61, + 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x73, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, 0x6e, + 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb2, + 0x01, 0x0a, 0x19, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x51, 0x0a, 0x0b, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x73, 0x1a, + 0x42, 0x0a, 0x0a, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x74, 0x6f, 0x6b, 0x12, 0x2b, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, + 0x61, 0x72, 0x67, 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x07, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x61, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x11, + 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, + 0x4c, 0x22, 0x76, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, + 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x22, 0xae, 0x06, 0x0a, 0x0b, 0x43, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x6f, 0x6b, 0x12, 0x2b, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x07, 0x52, 0x08, - 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x73, 0x52, 0x11, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, - 0x61, 0x64, 0x55, 0x52, 0x4c, 0x22, 0x76, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x52, 0x06, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, - 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x75, 0x6c, - 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, - 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x22, 0xae, 0x06, - 0x0a, 0x0b, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x74, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x6f, 0x6b, 0x12, - 0x2b, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x55, 0x0a, 0x0f, - 0x61, 0x72, 0x67, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x72, - 0x67, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x0f, 0x61, 0x72, 0x67, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, - 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x63, 0x6b, 0x12, 0x3a, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, - 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, - 0x65, 0x79, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, - 0x72, 0x79, 0x52, 0x75, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, - 0x52, 0x75, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x12, - 0x28, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, - 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, - 0x15, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, - 0x63, 0x65, 0x70, 0x74, 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x1a, 0x2a, 0x0a, 0x14, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70, - 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x1a, 0x6f, 0x0a, - 0x14, 0x41, 0x72, 0x67, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, - 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, - 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, - 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, - 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, 0x4a, 0x04, 0x08, 0x10, 0x10, - 0x11, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x0f, 0x70, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x52, 0x0e, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf2, - 0x02, 0x0a, 0x0c, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x12, 0x33, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x61, 0x69, - 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, - 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, - 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x12, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x1a, 0x28, 0x0a, 0x12, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6e, 0x73, - 0x1a, 0x71, 0x0a, 0x17, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, - 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, - 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0xd8, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x2b, 0x0a, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6f, - 0x6c, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x65, 0x77, 0x73, - 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x53, 0x65, 0x65, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x53, 0x65, 0x65, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x0e, - 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x75, - 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, - 0x12, 0x33, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x61, 0x69, - 0x6c, 0x75, 0x72, 0x65, 0x73, 0x22, 0x42, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, - 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x8f, 0x02, 0x0a, 0x0b, 0x44, 0x69, - 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x2b, 0x0a, 0x04, 0x6f, - 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x52, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x65, 0x77, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, - 0x04, 0x6e, 0x65, 0x77, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x67, - 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x6f, - 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x70, - 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x0c, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x69, 0x66, 0x66, 0x12, 0x30, 0x0a, 0x04, - 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x70, 0x75, 0x6c, - 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, - 0x69, 0x66, 0x66, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1c, - 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x69, 0x66, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x69, 0x66, 0x66, 0x22, 0x60, 0x0a, 0x04, - 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, - 0x0b, 0x41, 0x44, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0a, - 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, - 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x03, 0x12, 0x0a, - 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x50, - 0x44, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x10, 0x05, 0x22, 0xdd, - 0x03, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, - 0x65, 0x66, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, - 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x07, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x69, 0x66, 0x66, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x64, 0x69, 0x66, 0x66, 0x73, 0x12, 0x4d, 0x0a, 0x0c, - 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, - 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x64, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x12, 0x28, 0x0a, 0x0f, 0x68, - 0x61, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x61, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, - 0x64, 0x44, 0x69, 0x66, 0x66, 0x1a, 0x58, 0x0a, 0x11, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, - 0x64, 0x44, 0x69, 0x66, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x75, - 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x44, 0x69, 0x66, 0x66, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x3d, 0x0a, 0x0b, 0x44, 0x69, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x10, - 0x0a, 0x0c, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, - 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x53, 0x4f, 0x4d, 0x45, 0x10, 0x02, 0x22, 0xb6, - 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x63, 0x74, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x55, 0x0a, 0x0f, 0x61, 0x72, 0x67, 0x44, + 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x44, 0x65, 0x70, + 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, + 0x61, 0x72, 0x67, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, + 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, + 0x3a, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x18, + 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, + 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x6d, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x2a, 0x0a, + 0x14, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, + 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x1a, 0x6f, 0x0a, 0x14, 0x41, 0x72, 0x67, + 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, + 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, + 0x65, 0x6e, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, + 0x06, 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, 0x4a, 0x04, 0x08, 0x10, 0x10, 0x11, 0x4a, 0x04, 0x08, + 0x0f, 0x10, 0x10, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x44, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x52, 0x4c, 0x52, 0x0f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x73, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf2, 0x02, 0x0a, 0x0c, 0x43, + 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x72, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x33, 0x0a, 0x08, + 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, + 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, + 0x65, 0x73, 0x1a, 0x28, 0x0a, 0x12, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, + 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x1a, 0x71, 0x0a, 0x17, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x40, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, + 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, + 0x63, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0xd1, 0x03, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, - 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x74, 0x69, - 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x59, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, - 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x75, 0x72, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, - 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2f, 0x0a, - 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x72, 0x6e, 0x12, 0x2b, 0x0a, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x12, + 0x2b, 0x0a, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x12, 0x1e, 0x0a, 0x0a, + 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x53, 0x65, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x53, 0x65, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, + 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, + 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x1a, + 0xab, 0x01, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x04, 0x6d, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, + 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x2d, + 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, + 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x10, 0x01, + 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x52, 0x0e, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x22, 0x75, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, + 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x22, 0x42, 0x0a, 0x0c, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x8f, + 0x02, 0x0a, 0x0b, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, + 0x12, 0x2b, 0x0a, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x2b, 0x0a, + 0x04, 0x6e, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x67, + 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, + 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, + 0x6c, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0xc0, 0x01, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x69, 0x66, + 0x66, 0x12, 0x30, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x44, 0x69, 0x66, 0x66, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x69, 0x66, 0x66, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x69, 0x66, + 0x66, 0x22, 0x60, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, + 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x44, 0x44, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, + 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12, + 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, + 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, + 0x12, 0x0a, 0x0e, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, + 0x45, 0x10, 0x05, 0x22, 0xdd, 0x03, 0x0a, 0x0c, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x07, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x07, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, + 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, + 0x69, 0x66, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x64, 0x69, 0x66, 0x66, + 0x73, 0x12, 0x4d, 0x0a, 0x0c, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, + 0x66, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, + 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0c, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, + 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x61, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, + 0x69, 0x66, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x68, 0x61, 0x73, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x1a, 0x58, 0x0a, 0x11, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x69, 0x66, 0x66, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3d, 0x0a, 0x0b, 0x44, 0x69, 0x66, 0x66, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x49, 0x46, 0x46, 0x5f, 0x53, 0x4f, 0x4d, + 0x45, 0x10, 0x02, 0x22, 0xb6, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, - 0x12, 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, - 0x73, 0x22, 0xc5, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x2b, 0x0a, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6f, 0x6c, - 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x67, 0x6e, - 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, - 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x65, + 0x76, 0x69, 0x65, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x59, 0x0a, 0x0e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, + 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x49, 0x0a, 0x0e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0a, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x01, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x6f, - 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x70, - 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xad, 0x0b, 0x0a, 0x10, - 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, - 0x12, 0x3f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, - 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, - 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, - 0x12, 0x60, 0x0a, 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, - 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x75, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x0c, + 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0xc5, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x2b, 0x0a, 0x04, 0x6f, 0x6c, + 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x52, 0x04, 0x6f, 0x6c, 0x64, 0x73, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x65, 0x77, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, + 0x6e, 0x65, 0x77, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x24, + 0x0a, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x36, + 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x6c, 0x64, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x49, + 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x37, 0x0a, + 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, + 0x6c, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x22, 0xad, 0x0b, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x3f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, + 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x6f, + 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x60, 0x0a, 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, + 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x75, 0x6c, + 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, + 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, + 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x17, 0x61, 0x64, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x61, 0x64, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, - 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x11, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, - 0x65, 0x73, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, - 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x73, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, + 0x66, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x69, + 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x6e, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x70, + 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x26, 0x0a, + 0x0e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x4f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, + 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x4f, 0x6e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, + 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x2a, 0x0a, 0x14, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, + 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x75, 0x72, 0x6e, 0x73, 0x1a, 0x58, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, + 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x1a, + 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x76, 0x0a, 0x16, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x46, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0c, - 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, - 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x4b, 0x65, 0x79, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x22, 0x0a, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, - 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x6c, 0x69, - 0x61, 0x73, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x17, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x61, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, - 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, - 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x52, - 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x73, - 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x73, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, - 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, - 0x57, 0x69, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, - 0x66, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x52, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, - 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, - 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, - 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, - 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x74, 0x61, - 0x69, 0x6e, 0x4f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x4f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x12, 0x32, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x13, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x2a, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, - 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6e, 0x73, - 0x1a, 0x58, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x76, 0x0a, 0x16, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x44, 0x65, - 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x46, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x30, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, + 0x73, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0xdc, 0x02, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6e, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, + 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, + 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x1a, 0x2a, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, - 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, - 0x0e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xdc, 0x02, 0x0a, 0x11, - 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x6e, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x61, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, - 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, - 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, - 0x6e, 0x63, 0x69, 0x65, 0x73, 0x1a, 0x2a, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x6e, - 0x73, 0x1a, 0x77, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x47, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, - 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xad, 0x01, 0x0a, 0x17, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x69, 0x74, - 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x69, 0x6e, 0x70, - 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0x41, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x44, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x33, 0x0a, 0x13, 0x47, - 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, - 0x32, 0xd9, 0x0a, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, - 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x75, 0x6c, - 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x44, 0x69, 0x66, 0x66, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, - 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, - 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, - 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, - 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x76, 0x6f, - 0x6b, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x49, - 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, - 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x39, 0x0a, 0x04, 0x43, - 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, - 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x75, - 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, - 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, - 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x44, 0x69, 0x66, 0x66, 0x12, 0x16, 0x2e, 0x70, - 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, - 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x3f, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, - 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x39, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, - 0x69, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, - 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x19, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x06, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, - 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, 0x43, 0x6f, - 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, - 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, - 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x16, + 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x04, 0x75, 0x72, 0x6e, 0x73, 0x1a, 0x77, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x74, 0x65, 0x44, + 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x47, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, + 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, + 0x63, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0xad, 0x01, 0x0a, 0x17, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x49, 0x6e, 0x69, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x73, 0x12, 0x2f, + 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, - 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x70, 0x75, 0x6c, 0x75, - 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x06, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x12, 0x17, 0x2e, 0x70, - 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x41, - 0x74, 0x74, 0x61, 0x63, 0x68, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, + 0x41, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x22, 0x44, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x26, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x22, 0x33, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x73, 0x32, 0xd9, 0x0a, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x0c, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x75, 0x6c, + 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x75, 0x6c, + 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, + 0x09, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1b, 0x2e, 0x70, 0x75, 0x6c, + 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, + 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0b, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x44, + 0x69, 0x66, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x75, 0x6c, 0x75, + 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, + 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x48, 0x0a, 0x09, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x2e, 0x70, 0x75, 0x6c, 0x75, + 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, + 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, + 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x75, 0x6c, + 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, + 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, + 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, + 0x12, 0x39, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, + 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6c, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x05, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x12, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, + 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, + 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x44, 0x69, 0x66, + 0x66, 0x12, 0x16, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, + 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, + 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, + 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, + 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x16, 0x2e, + 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, + 0x63, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x3f, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, 0x6c, + 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, + 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x3c, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x75, + 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, - 0x4b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x2e, - 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x75, - 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1d, 0x2e, 0x70, 0x75, - 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x75, 0x6c, - 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x75, 0x6c, 0x75, 0x6d, - 0x69, 0x2f, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x33, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x3b, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, - 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x48, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x1b, 0x2e, 0x70, + 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, + 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, + 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x06, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x12, 0x17, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6c, + 0x75, 0x67, 0x69, 0x6e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x12, 0x1c, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, + 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, + 0x12, 0x1d, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x70, 0x75, 0x6c, 0x75, 0x6d, 0x69, 0x2f, 0x73, 0x64, + 0x6b, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x3b, 0x70, 0x75, + 0x6c, 0x75, 0x6d, 0x69, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3581,160 +4000,164 @@ func file_pulumi_provider_proto_rawDescGZIP() []byte { return file_pulumi_provider_proto_rawDescData } -var file_pulumi_provider_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_pulumi_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 48) +var file_pulumi_provider_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_pulumi_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 49) var file_pulumi_provider_proto_goTypes = []interface{}{ - (PropertyDiff_Kind)(0), // 0: pulumirpc.PropertyDiff.Kind - (DiffResponse_DiffChanges)(0), // 1: pulumirpc.DiffResponse.DiffChanges - (*ParameterizeRequest)(nil), // 2: pulumirpc.ParameterizeRequest - (*ParameterizeResponse)(nil), // 3: pulumirpc.ParameterizeResponse - (*GetSchemaRequest)(nil), // 4: pulumirpc.GetSchemaRequest - (*GetSchemaResponse)(nil), // 5: pulumirpc.GetSchemaResponse - (*ConfigureRequest)(nil), // 6: pulumirpc.ConfigureRequest - (*ConfigureResponse)(nil), // 7: pulumirpc.ConfigureResponse - (*ConfigureErrorMissingKeys)(nil), // 8: pulumirpc.ConfigureErrorMissingKeys - (*InvokeRequest)(nil), // 9: pulumirpc.InvokeRequest - (*InvokeResponse)(nil), // 10: pulumirpc.InvokeResponse - (*CallRequest)(nil), // 11: pulumirpc.CallRequest - (*CallResponse)(nil), // 12: pulumirpc.CallResponse - (*CheckRequest)(nil), // 13: pulumirpc.CheckRequest - (*CheckResponse)(nil), // 14: pulumirpc.CheckResponse - (*CheckFailure)(nil), // 15: pulumirpc.CheckFailure - (*DiffRequest)(nil), // 16: pulumirpc.DiffRequest - (*PropertyDiff)(nil), // 17: pulumirpc.PropertyDiff - (*DiffResponse)(nil), // 18: pulumirpc.DiffResponse - (*CreateRequest)(nil), // 19: pulumirpc.CreateRequest - (*CreateResponse)(nil), // 20: pulumirpc.CreateResponse - (*ReadRequest)(nil), // 21: pulumirpc.ReadRequest - (*ReadResponse)(nil), // 22: pulumirpc.ReadResponse - (*UpdateRequest)(nil), // 23: pulumirpc.UpdateRequest - (*UpdateResponse)(nil), // 24: pulumirpc.UpdateResponse - (*DeleteRequest)(nil), // 25: pulumirpc.DeleteRequest - (*ConstructRequest)(nil), // 26: pulumirpc.ConstructRequest - (*ConstructResponse)(nil), // 27: pulumirpc.ConstructResponse - (*ErrorResourceInitFailed)(nil), // 28: pulumirpc.ErrorResourceInitFailed - (*GetMappingRequest)(nil), // 29: pulumirpc.GetMappingRequest - (*GetMappingResponse)(nil), // 30: pulumirpc.GetMappingResponse - (*GetMappingsRequest)(nil), // 31: pulumirpc.GetMappingsRequest - (*GetMappingsResponse)(nil), // 32: pulumirpc.GetMappingsResponse - (*ParameterizeRequest_ParametersArgs)(nil), // 33: pulumirpc.ParameterizeRequest.ParametersArgs - (*ParameterizeRequest_ParametersValue)(nil), // 34: pulumirpc.ParameterizeRequest.ParametersValue - nil, // 35: pulumirpc.ConfigureRequest.VariablesEntry - (*ConfigureErrorMissingKeys_MissingKey)(nil), // 36: pulumirpc.ConfigureErrorMissingKeys.MissingKey - (*CallRequest_ArgumentDependencies)(nil), // 37: pulumirpc.CallRequest.ArgumentDependencies - nil, // 38: pulumirpc.CallRequest.ArgDependenciesEntry - nil, // 39: pulumirpc.CallRequest.ConfigEntry - (*CallResponse_ReturnDependencies)(nil), // 40: pulumirpc.CallResponse.ReturnDependencies - nil, // 41: pulumirpc.CallResponse.ReturnDependenciesEntry - nil, // 42: pulumirpc.DiffResponse.DetailedDiffEntry - (*ConstructRequest_PropertyDependencies)(nil), // 43: pulumirpc.ConstructRequest.PropertyDependencies - (*ConstructRequest_CustomTimeouts)(nil), // 44: pulumirpc.ConstructRequest.CustomTimeouts - nil, // 45: pulumirpc.ConstructRequest.ConfigEntry - nil, // 46: pulumirpc.ConstructRequest.InputDependenciesEntry - nil, // 47: pulumirpc.ConstructRequest.ProvidersEntry - (*ConstructResponse_PropertyDependencies)(nil), // 48: pulumirpc.ConstructResponse.PropertyDependencies - nil, // 49: pulumirpc.ConstructResponse.StateDependenciesEntry - (*structpb.Struct)(nil), // 50: google.protobuf.Struct - (*emptypb.Empty)(nil), // 51: google.protobuf.Empty - (*PluginAttach)(nil), // 52: pulumirpc.PluginAttach - (*PluginInfo)(nil), // 53: pulumirpc.PluginInfo + (CheckRequest_AutonamingOptions_Mode)(0), // 0: pulumirpc.CheckRequest.AutonamingOptions.Mode + (PropertyDiff_Kind)(0), // 1: pulumirpc.PropertyDiff.Kind + (DiffResponse_DiffChanges)(0), // 2: pulumirpc.DiffResponse.DiffChanges + (*ParameterizeRequest)(nil), // 3: pulumirpc.ParameterizeRequest + (*ParameterizeResponse)(nil), // 4: pulumirpc.ParameterizeResponse + (*GetSchemaRequest)(nil), // 5: pulumirpc.GetSchemaRequest + (*GetSchemaResponse)(nil), // 6: pulumirpc.GetSchemaResponse + (*ConfigureRequest)(nil), // 7: pulumirpc.ConfigureRequest + (*ConfigureResponse)(nil), // 8: pulumirpc.ConfigureResponse + (*ConfigureErrorMissingKeys)(nil), // 9: pulumirpc.ConfigureErrorMissingKeys + (*InvokeRequest)(nil), // 10: pulumirpc.InvokeRequest + (*InvokeResponse)(nil), // 11: pulumirpc.InvokeResponse + (*CallRequest)(nil), // 12: pulumirpc.CallRequest + (*CallResponse)(nil), // 13: pulumirpc.CallResponse + (*CheckRequest)(nil), // 14: pulumirpc.CheckRequest + (*CheckResponse)(nil), // 15: pulumirpc.CheckResponse + (*CheckFailure)(nil), // 16: pulumirpc.CheckFailure + (*DiffRequest)(nil), // 17: pulumirpc.DiffRequest + (*PropertyDiff)(nil), // 18: pulumirpc.PropertyDiff + (*DiffResponse)(nil), // 19: pulumirpc.DiffResponse + (*CreateRequest)(nil), // 20: pulumirpc.CreateRequest + (*CreateResponse)(nil), // 21: pulumirpc.CreateResponse + (*ReadRequest)(nil), // 22: pulumirpc.ReadRequest + (*ReadResponse)(nil), // 23: pulumirpc.ReadResponse + (*UpdateRequest)(nil), // 24: pulumirpc.UpdateRequest + (*UpdateResponse)(nil), // 25: pulumirpc.UpdateResponse + (*DeleteRequest)(nil), // 26: pulumirpc.DeleteRequest + (*ConstructRequest)(nil), // 27: pulumirpc.ConstructRequest + (*ConstructResponse)(nil), // 28: pulumirpc.ConstructResponse + (*ErrorResourceInitFailed)(nil), // 29: pulumirpc.ErrorResourceInitFailed + (*GetMappingRequest)(nil), // 30: pulumirpc.GetMappingRequest + (*GetMappingResponse)(nil), // 31: pulumirpc.GetMappingResponse + (*GetMappingsRequest)(nil), // 32: pulumirpc.GetMappingsRequest + (*GetMappingsResponse)(nil), // 33: pulumirpc.GetMappingsResponse + (*ParameterizeRequest_ParametersArgs)(nil), // 34: pulumirpc.ParameterizeRequest.ParametersArgs + (*ParameterizeRequest_ParametersValue)(nil), // 35: pulumirpc.ParameterizeRequest.ParametersValue + nil, // 36: pulumirpc.ConfigureRequest.VariablesEntry + (*ConfigureErrorMissingKeys_MissingKey)(nil), // 37: pulumirpc.ConfigureErrorMissingKeys.MissingKey + (*CallRequest_ArgumentDependencies)(nil), // 38: pulumirpc.CallRequest.ArgumentDependencies + nil, // 39: pulumirpc.CallRequest.ArgDependenciesEntry + nil, // 40: pulumirpc.CallRequest.ConfigEntry + (*CallResponse_ReturnDependencies)(nil), // 41: pulumirpc.CallResponse.ReturnDependencies + nil, // 42: pulumirpc.CallResponse.ReturnDependenciesEntry + (*CheckRequest_AutonamingOptions)(nil), // 43: pulumirpc.CheckRequest.AutonamingOptions + nil, // 44: pulumirpc.DiffResponse.DetailedDiffEntry + (*ConstructRequest_PropertyDependencies)(nil), // 45: pulumirpc.ConstructRequest.PropertyDependencies + (*ConstructRequest_CustomTimeouts)(nil), // 46: pulumirpc.ConstructRequest.CustomTimeouts + nil, // 47: pulumirpc.ConstructRequest.ConfigEntry + nil, // 48: pulumirpc.ConstructRequest.InputDependenciesEntry + nil, // 49: pulumirpc.ConstructRequest.ProvidersEntry + (*ConstructResponse_PropertyDependencies)(nil), // 50: pulumirpc.ConstructResponse.PropertyDependencies + nil, // 51: pulumirpc.ConstructResponse.StateDependenciesEntry + (*structpb.Struct)(nil), // 52: google.protobuf.Struct + (*emptypb.Empty)(nil), // 53: google.protobuf.Empty + (*PluginAttach)(nil), // 54: pulumirpc.PluginAttach + (*PluginInfo)(nil), // 55: pulumirpc.PluginInfo } var file_pulumi_provider_proto_depIdxs = []int32{ - 33, // 0: pulumirpc.ParameterizeRequest.args:type_name -> pulumirpc.ParameterizeRequest.ParametersArgs - 34, // 1: pulumirpc.ParameterizeRequest.value:type_name -> pulumirpc.ParameterizeRequest.ParametersValue - 35, // 2: pulumirpc.ConfigureRequest.variables:type_name -> pulumirpc.ConfigureRequest.VariablesEntry - 50, // 3: pulumirpc.ConfigureRequest.args:type_name -> google.protobuf.Struct - 36, // 4: pulumirpc.ConfigureErrorMissingKeys.missingKeys:type_name -> pulumirpc.ConfigureErrorMissingKeys.MissingKey - 50, // 5: pulumirpc.InvokeRequest.args:type_name -> google.protobuf.Struct - 50, // 6: pulumirpc.InvokeResponse.return:type_name -> google.protobuf.Struct - 15, // 7: pulumirpc.InvokeResponse.failures:type_name -> pulumirpc.CheckFailure - 50, // 8: pulumirpc.CallRequest.args:type_name -> google.protobuf.Struct - 38, // 9: pulumirpc.CallRequest.argDependencies:type_name -> pulumirpc.CallRequest.ArgDependenciesEntry - 39, // 10: pulumirpc.CallRequest.config:type_name -> pulumirpc.CallRequest.ConfigEntry - 50, // 11: pulumirpc.CallResponse.return:type_name -> google.protobuf.Struct - 15, // 12: pulumirpc.CallResponse.failures:type_name -> pulumirpc.CheckFailure - 41, // 13: pulumirpc.CallResponse.returnDependencies:type_name -> pulumirpc.CallResponse.ReturnDependenciesEntry - 50, // 14: pulumirpc.CheckRequest.olds:type_name -> google.protobuf.Struct - 50, // 15: pulumirpc.CheckRequest.news:type_name -> google.protobuf.Struct - 50, // 16: pulumirpc.CheckResponse.inputs:type_name -> google.protobuf.Struct - 15, // 17: pulumirpc.CheckResponse.failures:type_name -> pulumirpc.CheckFailure - 50, // 18: pulumirpc.DiffRequest.olds:type_name -> google.protobuf.Struct - 50, // 19: pulumirpc.DiffRequest.news:type_name -> google.protobuf.Struct - 50, // 20: pulumirpc.DiffRequest.old_inputs:type_name -> google.protobuf.Struct - 0, // 21: pulumirpc.PropertyDiff.kind:type_name -> pulumirpc.PropertyDiff.Kind - 1, // 22: pulumirpc.DiffResponse.changes:type_name -> pulumirpc.DiffResponse.DiffChanges - 42, // 23: pulumirpc.DiffResponse.detailedDiff:type_name -> pulumirpc.DiffResponse.DetailedDiffEntry - 50, // 24: pulumirpc.CreateRequest.properties:type_name -> google.protobuf.Struct - 50, // 25: pulumirpc.CreateResponse.properties:type_name -> google.protobuf.Struct - 50, // 26: pulumirpc.ReadRequest.properties:type_name -> google.protobuf.Struct - 50, // 27: pulumirpc.ReadRequest.inputs:type_name -> google.protobuf.Struct - 50, // 28: pulumirpc.ReadResponse.properties:type_name -> google.protobuf.Struct - 50, // 29: pulumirpc.ReadResponse.inputs:type_name -> google.protobuf.Struct - 50, // 30: pulumirpc.UpdateRequest.olds:type_name -> google.protobuf.Struct - 50, // 31: pulumirpc.UpdateRequest.news:type_name -> google.protobuf.Struct - 50, // 32: pulumirpc.UpdateRequest.old_inputs:type_name -> google.protobuf.Struct - 50, // 33: pulumirpc.UpdateResponse.properties:type_name -> google.protobuf.Struct - 50, // 34: pulumirpc.DeleteRequest.properties:type_name -> google.protobuf.Struct - 50, // 35: pulumirpc.DeleteRequest.old_inputs:type_name -> google.protobuf.Struct - 45, // 36: pulumirpc.ConstructRequest.config:type_name -> pulumirpc.ConstructRequest.ConfigEntry - 50, // 37: pulumirpc.ConstructRequest.inputs:type_name -> google.protobuf.Struct - 46, // 38: pulumirpc.ConstructRequest.inputDependencies:type_name -> pulumirpc.ConstructRequest.InputDependenciesEntry - 47, // 39: pulumirpc.ConstructRequest.providers:type_name -> pulumirpc.ConstructRequest.ProvidersEntry - 44, // 40: pulumirpc.ConstructRequest.customTimeouts:type_name -> pulumirpc.ConstructRequest.CustomTimeouts - 50, // 41: pulumirpc.ConstructResponse.state:type_name -> google.protobuf.Struct - 49, // 42: pulumirpc.ConstructResponse.stateDependencies:type_name -> pulumirpc.ConstructResponse.StateDependenciesEntry - 50, // 43: pulumirpc.ErrorResourceInitFailed.properties:type_name -> google.protobuf.Struct - 50, // 44: pulumirpc.ErrorResourceInitFailed.inputs:type_name -> google.protobuf.Struct - 37, // 45: pulumirpc.CallRequest.ArgDependenciesEntry.value:type_name -> pulumirpc.CallRequest.ArgumentDependencies - 40, // 46: pulumirpc.CallResponse.ReturnDependenciesEntry.value:type_name -> pulumirpc.CallResponse.ReturnDependencies - 17, // 47: pulumirpc.DiffResponse.DetailedDiffEntry.value:type_name -> pulumirpc.PropertyDiff - 43, // 48: pulumirpc.ConstructRequest.InputDependenciesEntry.value:type_name -> pulumirpc.ConstructRequest.PropertyDependencies - 48, // 49: pulumirpc.ConstructResponse.StateDependenciesEntry.value:type_name -> pulumirpc.ConstructResponse.PropertyDependencies - 2, // 50: pulumirpc.ResourceProvider.Parameterize:input_type -> pulumirpc.ParameterizeRequest - 4, // 51: pulumirpc.ResourceProvider.GetSchema:input_type -> pulumirpc.GetSchemaRequest - 13, // 52: pulumirpc.ResourceProvider.CheckConfig:input_type -> pulumirpc.CheckRequest - 16, // 53: pulumirpc.ResourceProvider.DiffConfig:input_type -> pulumirpc.DiffRequest - 6, // 54: pulumirpc.ResourceProvider.Configure:input_type -> pulumirpc.ConfigureRequest - 9, // 55: pulumirpc.ResourceProvider.Invoke:input_type -> pulumirpc.InvokeRequest - 9, // 56: pulumirpc.ResourceProvider.StreamInvoke:input_type -> pulumirpc.InvokeRequest - 11, // 57: pulumirpc.ResourceProvider.Call:input_type -> pulumirpc.CallRequest - 13, // 58: pulumirpc.ResourceProvider.Check:input_type -> pulumirpc.CheckRequest - 16, // 59: pulumirpc.ResourceProvider.Diff:input_type -> pulumirpc.DiffRequest - 19, // 60: pulumirpc.ResourceProvider.Create:input_type -> pulumirpc.CreateRequest - 21, // 61: pulumirpc.ResourceProvider.Read:input_type -> pulumirpc.ReadRequest - 23, // 62: pulumirpc.ResourceProvider.Update:input_type -> pulumirpc.UpdateRequest - 25, // 63: pulumirpc.ResourceProvider.Delete:input_type -> pulumirpc.DeleteRequest - 26, // 64: pulumirpc.ResourceProvider.Construct:input_type -> pulumirpc.ConstructRequest - 51, // 65: pulumirpc.ResourceProvider.Cancel:input_type -> google.protobuf.Empty - 51, // 66: pulumirpc.ResourceProvider.GetPluginInfo:input_type -> google.protobuf.Empty - 52, // 67: pulumirpc.ResourceProvider.Attach:input_type -> pulumirpc.PluginAttach - 29, // 68: pulumirpc.ResourceProvider.GetMapping:input_type -> pulumirpc.GetMappingRequest - 31, // 69: pulumirpc.ResourceProvider.GetMappings:input_type -> pulumirpc.GetMappingsRequest - 3, // 70: pulumirpc.ResourceProvider.Parameterize:output_type -> pulumirpc.ParameterizeResponse - 5, // 71: pulumirpc.ResourceProvider.GetSchema:output_type -> pulumirpc.GetSchemaResponse - 14, // 72: pulumirpc.ResourceProvider.CheckConfig:output_type -> pulumirpc.CheckResponse - 18, // 73: pulumirpc.ResourceProvider.DiffConfig:output_type -> pulumirpc.DiffResponse - 7, // 74: pulumirpc.ResourceProvider.Configure:output_type -> pulumirpc.ConfigureResponse - 10, // 75: pulumirpc.ResourceProvider.Invoke:output_type -> pulumirpc.InvokeResponse - 10, // 76: pulumirpc.ResourceProvider.StreamInvoke:output_type -> pulumirpc.InvokeResponse - 12, // 77: pulumirpc.ResourceProvider.Call:output_type -> pulumirpc.CallResponse - 14, // 78: pulumirpc.ResourceProvider.Check:output_type -> pulumirpc.CheckResponse - 18, // 79: pulumirpc.ResourceProvider.Diff:output_type -> pulumirpc.DiffResponse - 20, // 80: pulumirpc.ResourceProvider.Create:output_type -> pulumirpc.CreateResponse - 22, // 81: pulumirpc.ResourceProvider.Read:output_type -> pulumirpc.ReadResponse - 24, // 82: pulumirpc.ResourceProvider.Update:output_type -> pulumirpc.UpdateResponse - 51, // 83: pulumirpc.ResourceProvider.Delete:output_type -> google.protobuf.Empty - 27, // 84: pulumirpc.ResourceProvider.Construct:output_type -> pulumirpc.ConstructResponse - 51, // 85: pulumirpc.ResourceProvider.Cancel:output_type -> google.protobuf.Empty - 53, // 86: pulumirpc.ResourceProvider.GetPluginInfo:output_type -> pulumirpc.PluginInfo - 51, // 87: pulumirpc.ResourceProvider.Attach:output_type -> google.protobuf.Empty - 30, // 88: pulumirpc.ResourceProvider.GetMapping:output_type -> pulumirpc.GetMappingResponse - 32, // 89: pulumirpc.ResourceProvider.GetMappings:output_type -> pulumirpc.GetMappingsResponse - 70, // [70:90] is the sub-list for method output_type - 50, // [50:70] is the sub-list for method input_type - 50, // [50:50] is the sub-list for extension type_name - 50, // [50:50] is the sub-list for extension extendee - 0, // [0:50] is the sub-list for field type_name + 34, // 0: pulumirpc.ParameterizeRequest.args:type_name -> pulumirpc.ParameterizeRequest.ParametersArgs + 35, // 1: pulumirpc.ParameterizeRequest.value:type_name -> pulumirpc.ParameterizeRequest.ParametersValue + 36, // 2: pulumirpc.ConfigureRequest.variables:type_name -> pulumirpc.ConfigureRequest.VariablesEntry + 52, // 3: pulumirpc.ConfigureRequest.args:type_name -> google.protobuf.Struct + 37, // 4: pulumirpc.ConfigureErrorMissingKeys.missingKeys:type_name -> pulumirpc.ConfigureErrorMissingKeys.MissingKey + 52, // 5: pulumirpc.InvokeRequest.args:type_name -> google.protobuf.Struct + 52, // 6: pulumirpc.InvokeResponse.return:type_name -> google.protobuf.Struct + 16, // 7: pulumirpc.InvokeResponse.failures:type_name -> pulumirpc.CheckFailure + 52, // 8: pulumirpc.CallRequest.args:type_name -> google.protobuf.Struct + 39, // 9: pulumirpc.CallRequest.argDependencies:type_name -> pulumirpc.CallRequest.ArgDependenciesEntry + 40, // 10: pulumirpc.CallRequest.config:type_name -> pulumirpc.CallRequest.ConfigEntry + 52, // 11: pulumirpc.CallResponse.return:type_name -> google.protobuf.Struct + 16, // 12: pulumirpc.CallResponse.failures:type_name -> pulumirpc.CheckFailure + 42, // 13: pulumirpc.CallResponse.returnDependencies:type_name -> pulumirpc.CallResponse.ReturnDependenciesEntry + 52, // 14: pulumirpc.CheckRequest.olds:type_name -> google.protobuf.Struct + 52, // 15: pulumirpc.CheckRequest.news:type_name -> google.protobuf.Struct + 43, // 16: pulumirpc.CheckRequest.autonaming:type_name -> pulumirpc.CheckRequest.AutonamingOptions + 52, // 17: pulumirpc.CheckResponse.inputs:type_name -> google.protobuf.Struct + 16, // 18: pulumirpc.CheckResponse.failures:type_name -> pulumirpc.CheckFailure + 52, // 19: pulumirpc.DiffRequest.olds:type_name -> google.protobuf.Struct + 52, // 20: pulumirpc.DiffRequest.news:type_name -> google.protobuf.Struct + 52, // 21: pulumirpc.DiffRequest.old_inputs:type_name -> google.protobuf.Struct + 1, // 22: pulumirpc.PropertyDiff.kind:type_name -> pulumirpc.PropertyDiff.Kind + 2, // 23: pulumirpc.DiffResponse.changes:type_name -> pulumirpc.DiffResponse.DiffChanges + 44, // 24: pulumirpc.DiffResponse.detailedDiff:type_name -> pulumirpc.DiffResponse.DetailedDiffEntry + 52, // 25: pulumirpc.CreateRequest.properties:type_name -> google.protobuf.Struct + 52, // 26: pulumirpc.CreateResponse.properties:type_name -> google.protobuf.Struct + 52, // 27: pulumirpc.ReadRequest.properties:type_name -> google.protobuf.Struct + 52, // 28: pulumirpc.ReadRequest.inputs:type_name -> google.protobuf.Struct + 52, // 29: pulumirpc.ReadResponse.properties:type_name -> google.protobuf.Struct + 52, // 30: pulumirpc.ReadResponse.inputs:type_name -> google.protobuf.Struct + 52, // 31: pulumirpc.UpdateRequest.olds:type_name -> google.protobuf.Struct + 52, // 32: pulumirpc.UpdateRequest.news:type_name -> google.protobuf.Struct + 52, // 33: pulumirpc.UpdateRequest.old_inputs:type_name -> google.protobuf.Struct + 52, // 34: pulumirpc.UpdateResponse.properties:type_name -> google.protobuf.Struct + 52, // 35: pulumirpc.DeleteRequest.properties:type_name -> google.protobuf.Struct + 52, // 36: pulumirpc.DeleteRequest.old_inputs:type_name -> google.protobuf.Struct + 47, // 37: pulumirpc.ConstructRequest.config:type_name -> pulumirpc.ConstructRequest.ConfigEntry + 52, // 38: pulumirpc.ConstructRequest.inputs:type_name -> google.protobuf.Struct + 48, // 39: pulumirpc.ConstructRequest.inputDependencies:type_name -> pulumirpc.ConstructRequest.InputDependenciesEntry + 49, // 40: pulumirpc.ConstructRequest.providers:type_name -> pulumirpc.ConstructRequest.ProvidersEntry + 46, // 41: pulumirpc.ConstructRequest.customTimeouts:type_name -> pulumirpc.ConstructRequest.CustomTimeouts + 52, // 42: pulumirpc.ConstructResponse.state:type_name -> google.protobuf.Struct + 51, // 43: pulumirpc.ConstructResponse.stateDependencies:type_name -> pulumirpc.ConstructResponse.StateDependenciesEntry + 52, // 44: pulumirpc.ErrorResourceInitFailed.properties:type_name -> google.protobuf.Struct + 52, // 45: pulumirpc.ErrorResourceInitFailed.inputs:type_name -> google.protobuf.Struct + 38, // 46: pulumirpc.CallRequest.ArgDependenciesEntry.value:type_name -> pulumirpc.CallRequest.ArgumentDependencies + 41, // 47: pulumirpc.CallResponse.ReturnDependenciesEntry.value:type_name -> pulumirpc.CallResponse.ReturnDependencies + 0, // 48: pulumirpc.CheckRequest.AutonamingOptions.mode:type_name -> pulumirpc.CheckRequest.AutonamingOptions.Mode + 18, // 49: pulumirpc.DiffResponse.DetailedDiffEntry.value:type_name -> pulumirpc.PropertyDiff + 45, // 50: pulumirpc.ConstructRequest.InputDependenciesEntry.value:type_name -> pulumirpc.ConstructRequest.PropertyDependencies + 50, // 51: pulumirpc.ConstructResponse.StateDependenciesEntry.value:type_name -> pulumirpc.ConstructResponse.PropertyDependencies + 3, // 52: pulumirpc.ResourceProvider.Parameterize:input_type -> pulumirpc.ParameterizeRequest + 5, // 53: pulumirpc.ResourceProvider.GetSchema:input_type -> pulumirpc.GetSchemaRequest + 14, // 54: pulumirpc.ResourceProvider.CheckConfig:input_type -> pulumirpc.CheckRequest + 17, // 55: pulumirpc.ResourceProvider.DiffConfig:input_type -> pulumirpc.DiffRequest + 7, // 56: pulumirpc.ResourceProvider.Configure:input_type -> pulumirpc.ConfigureRequest + 10, // 57: pulumirpc.ResourceProvider.Invoke:input_type -> pulumirpc.InvokeRequest + 10, // 58: pulumirpc.ResourceProvider.StreamInvoke:input_type -> pulumirpc.InvokeRequest + 12, // 59: pulumirpc.ResourceProvider.Call:input_type -> pulumirpc.CallRequest + 14, // 60: pulumirpc.ResourceProvider.Check:input_type -> pulumirpc.CheckRequest + 17, // 61: pulumirpc.ResourceProvider.Diff:input_type -> pulumirpc.DiffRequest + 20, // 62: pulumirpc.ResourceProvider.Create:input_type -> pulumirpc.CreateRequest + 22, // 63: pulumirpc.ResourceProvider.Read:input_type -> pulumirpc.ReadRequest + 24, // 64: pulumirpc.ResourceProvider.Update:input_type -> pulumirpc.UpdateRequest + 26, // 65: pulumirpc.ResourceProvider.Delete:input_type -> pulumirpc.DeleteRequest + 27, // 66: pulumirpc.ResourceProvider.Construct:input_type -> pulumirpc.ConstructRequest + 53, // 67: pulumirpc.ResourceProvider.Cancel:input_type -> google.protobuf.Empty + 53, // 68: pulumirpc.ResourceProvider.GetPluginInfo:input_type -> google.protobuf.Empty + 54, // 69: pulumirpc.ResourceProvider.Attach:input_type -> pulumirpc.PluginAttach + 30, // 70: pulumirpc.ResourceProvider.GetMapping:input_type -> pulumirpc.GetMappingRequest + 32, // 71: pulumirpc.ResourceProvider.GetMappings:input_type -> pulumirpc.GetMappingsRequest + 4, // 72: pulumirpc.ResourceProvider.Parameterize:output_type -> pulumirpc.ParameterizeResponse + 6, // 73: pulumirpc.ResourceProvider.GetSchema:output_type -> pulumirpc.GetSchemaResponse + 15, // 74: pulumirpc.ResourceProvider.CheckConfig:output_type -> pulumirpc.CheckResponse + 19, // 75: pulumirpc.ResourceProvider.DiffConfig:output_type -> pulumirpc.DiffResponse + 8, // 76: pulumirpc.ResourceProvider.Configure:output_type -> pulumirpc.ConfigureResponse + 11, // 77: pulumirpc.ResourceProvider.Invoke:output_type -> pulumirpc.InvokeResponse + 11, // 78: pulumirpc.ResourceProvider.StreamInvoke:output_type -> pulumirpc.InvokeResponse + 13, // 79: pulumirpc.ResourceProvider.Call:output_type -> pulumirpc.CallResponse + 15, // 80: pulumirpc.ResourceProvider.Check:output_type -> pulumirpc.CheckResponse + 19, // 81: pulumirpc.ResourceProvider.Diff:output_type -> pulumirpc.DiffResponse + 21, // 82: pulumirpc.ResourceProvider.Create:output_type -> pulumirpc.CreateResponse + 23, // 83: pulumirpc.ResourceProvider.Read:output_type -> pulumirpc.ReadResponse + 25, // 84: pulumirpc.ResourceProvider.Update:output_type -> pulumirpc.UpdateResponse + 53, // 85: pulumirpc.ResourceProvider.Delete:output_type -> google.protobuf.Empty + 28, // 86: pulumirpc.ResourceProvider.Construct:output_type -> pulumirpc.ConstructResponse + 53, // 87: pulumirpc.ResourceProvider.Cancel:output_type -> google.protobuf.Empty + 55, // 88: pulumirpc.ResourceProvider.GetPluginInfo:output_type -> pulumirpc.PluginInfo + 53, // 89: pulumirpc.ResourceProvider.Attach:output_type -> google.protobuf.Empty + 31, // 90: pulumirpc.ResourceProvider.GetMapping:output_type -> pulumirpc.GetMappingResponse + 33, // 91: pulumirpc.ResourceProvider.GetMappings:output_type -> pulumirpc.GetMappingsResponse + 72, // [72:92] is the sub-list for method output_type + 52, // [52:72] is the sub-list for method input_type + 52, // [52:52] is the sub-list for extension type_name + 52, // [52:52] is the sub-list for extension extendee + 0, // [0:52] is the sub-list for field type_name } func init() { file_pulumi_provider_proto_init() } @@ -4176,8 +4599,8 @@ func file_pulumi_provider_proto_init() { return nil } } - file_pulumi_provider_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConstructRequest_PropertyDependencies); i { + file_pulumi_provider_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckRequest_AutonamingOptions); i { case 0: return &v.state case 1: @@ -4189,6 +4612,18 @@ func file_pulumi_provider_proto_init() { } } file_pulumi_provider_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConstructRequest_PropertyDependencies); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pulumi_provider_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConstructRequest_CustomTimeouts); i { case 0: return &v.state @@ -4200,7 +4635,7 @@ func file_pulumi_provider_proto_init() { return nil } } - file_pulumi_provider_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_pulumi_provider_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ConstructResponse_PropertyDependencies); i { case 0: return &v.state @@ -4222,8 +4657,8 @@ func file_pulumi_provider_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pulumi_provider_proto_rawDesc, - NumEnums: 2, - NumMessages: 48, + NumEnums: 3, + NumMessages: 49, NumExtensions: 0, NumServices: 1, }, diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider_grpc.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider_grpc.pb.go index 058cde6ad..e30a4e8cc 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider_grpc.pb.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/provider_grpc.pb.go @@ -23,33 +23,78 @@ const _ = grpc.SupportPackageIsVersion7 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type ResourceProviderClient interface { - // Parameterize takes either a string array of command line inputs or a value embedded from sdk generation. + // `Parameterize` is the primary means of supporting [parameterized providers](parameterized-providers), which allow + // a caller to change a provider's behavior ahead of its [configuration](pulumirpc.ResourceProvider.Configure) and + // subsequent use. Where a [](pulumirpc.ResourceProvider.Configure) call allows a caller to influence provider + // behaviour at a high level (e.g. by specifying the region in which an AWS provider should operate), a + // `Parameterize` call may change the set of resources and functions that a provider offers (that is, its schema). + // This is useful in any case where some "set" of providers can be captured by a single implementation that may + // power fundamentally different schemata -- dynamically bridging Terraform providers, or managing Kubernetes + // clusters with custom resource definitions, for instance, are good examples. The parameterized package that + // `Parameterize` yields is known as a *sub-package* of the original (unparameterized) package. // - // Providers can be parameterized with either multiple extension packages (which don't define their own provider - // resources), or with a replacement package (which does define its own provider resource). + // `Parameterize` supports two types of parameterization: // - // Parameterize may be called multiple times for extension packages, but for a replacement package it will only be - // called once. Extension packages may even be called multiple times for the same package name, but with different - // versions. + // * *Replacement parameterization*, whereby a `Parameterize` call results in a schema that completely replaces the + // original provider schema. Bridging a Terraform provider dynamically might be an example of this -- following + // the call to `Parameterize`, the provider's schema will become that of the Terraform provider that was bridged. + // Providers that implement replacement parameterization expect a *single* call to `Parameterize`. // - // Parameterize should work the same for both the `ParametersArgs` input and the `ParametersValue` input. Either way - // should return the sub-package name and version (which for `ParametersValue` should match the given input). + // * *Extension parameterization*, in which a `Parameterize` call results in a schema that is a superset of the + // original. This is useful in cases where a provider can be extended with additional resources or functions, such + // as a Kubernetes provider that can be extended with resources representing custom resource definitions. + // Providers that implement extension parameterization should accept multiple calls to `Parameterize`. Extension + // packages may even be called multiple times with the same package name, but with different versions. The CRUD + // operations of extension resources must include the version of which sub-package they correspond to. // - // For extension resources their CRUD operations will include the version of which sub-package they correspond to. + // `Parameterize` should work the same whether it is provided with `ParametersArgs` or `ParametersValue` input. In + // each case it should return the sub-package name and version (which when a `ParametersValue` is supplied should + // match the given input). Parameterize(ctx context.Context, in *ParameterizeRequest, opts ...grpc.CallOption) (*ParameterizeResponse, error) // GetSchema fetches the schema for this resource provider. GetSchema(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption) (*GetSchemaResponse, error) - // CheckConfig validates the configuration for this resource provider. + // `CheckConfig` validates a set of configuration inputs that will be passed to this provider instance. + // `CheckConfig` is to provider resources what [](pulumirpc.ResourceProvider.Check) is to individual resources, and + // is the first stage in configuring (that is, eventually executing a [](pulumirpc.ResourceProvider.Configure) call) + // a provider using user-supplied values. In the case that provider inputs are coming from some source that has been + // checked previously (e.g. a Pulumi state), it is not necessary to call `CheckConfig`. + // + // A `CheckConfig` call returns either a set of checked, known-valid inputs that may subsequently be passed to + // [](pulumirpc.ResourceProvider.DiffConfig) and/or [](pulumirpc.ResourceProvider.Configure), or a set of errors + // explaining why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, + // `CheckConfig` *may also populate default values* for provider configuration, returning them so that they may be + // passed to a subsequent [](pulumirpc.ResourceProvider.Configure) call and persisted in the Pulumi state. In the + // case that `CheckConfig` fails and returns a set of errors, it is expected that the caller (typically the Pulumi + // engine) will fail provider registration. + // + // As a rule, the provider inputs returned by a call to `CheckConfig` should preserve the original representation of + // the properties as present in the program inputs. Though this rule is not required for correctness, violations + // thereof can negatively impact the end-user experience, as the provider inputs are used for detecting and + // rendering diffs. CheckConfig(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) - // DiffConfig checks the impact a hypothetical change to this provider's configuration will have on the provider. + // `DiffConfig` compares an existing ("old") provider configuration with a new configuration and computes the + // difference (if any) between them. `DiffConfig` is to provider resources what [](pulumirpc.ResourceProvider.Diff) + // is to individual resources. `DiffConfig` should only be called with values that have at some point been validated + // by a [](pulumirpc.ResourceProvider.CheckConfig) call. The [](pulumirpc.DiffResponse) returned by a `DiffConfig` + // call is used primarily to determine whether or not the newly configured provider is capable of managing resources + // owned by the old provider. If `DiffConfig` indicates that the provider resource needs to be replaced, for + // instance, then all resources owned by that provider will *also* need to be replaced. Replacement semantics should + // thus be reserved for changes to configuration properties that are guaranteed to make old resources unmanageable. + // Changes to an AWS region, for example, will almost certainly require a provider replacement, but changes to an + // AWS access key, should almost certainly not. DiffConfig(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error) - // Configure configures the resource provider with "globals" that control its behavior. + // `Configure` is the final stage in configuring a provider instance. Callers supply two sets of data: + // + // * Provider-specific configuration, which is the set of inputs that have been validated by a previous + // [](pulumirpc.ResourceProvider.CheckConfig) call. + // * Provider-agnostic ("protocol") configuration, such as whether or not the caller supports secrets. // - // :::{warning} - // ConfigureRequest.args may include secrets. Because ConfigureRequest is sent before - // ConfigureResponse can specify acceptSecrets: false, providers *must* handle secrets from - // ConfigureRequest.args. - // ::: + // The provider is expected to return its own set of protocol configuration, indicating which features it supports + // in turn so that the caller and the provider can interact appropriately. + // + // Providers may expect a *single* call to `Configure`. If a call to `Configure` is missing required configuration, + // the provider may return a set of error details containing [](pulumirpc.ConfigureErrorMissingKeys) values to + // indicate which keys are missing. Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error) // Invoke dynamically executes a built-in function in the provider. Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error) @@ -58,25 +103,56 @@ type ResourceProviderClient interface { StreamInvoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (ResourceProvider_StreamInvokeClient, error) // Call dynamically executes a method in the provider associated with a component resource. Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error) - // Check validates that the given property bag is valid for a resource of the given type and returns the inputs - // that should be passed to successive calls to Diff, Create, or Update for this resource. As a rule, the provider - // inputs returned by a call to Check should preserve the original representation of the properties as present in - // the program inputs. Though this rule is not required for correctness, violations thereof can negatively impact - // the end-user experience, as the provider inputs are using for detecting and rendering diffs. + // `Check` validates a set of input properties against a given resource type. A `Check` call returns either a set of + // checked, known-valid inputs that may subsequently be passed to [](pulumirpc.ResourceProvider.Diff), + // [](pulumirpc.ResourceProvider.Create), or [](pulumirpc.ResourceProvider.Update); or a set of errors explaining + // why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, `Check` + // *may also populate default values* for resource inputs, returning them so that they may be passed to a subsequent + // call and persisted in the Pulumi state. In the case that `Check` fails and returns a set of errors, it is + // expected that the caller (typically the Pulumi engine) will fail resource registration. + // + // As a rule, the provider inputs returned by a call to `Check` should preserve the original representation of the + // properties as present in the program inputs. Though this rule is not required for correctness, violations thereof + // can negatively impact the end-user experience, as the provider inputs are used for detecting and rendering + // diffs. Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) - // Diff checks what impacts a hypothetical update will have on the resource's properties. + // `Diff` compares an existing ("old") set of resource properties with a new set of properties and computes the + // difference (if any) between them. `Diff` should only be called with values that have at some point been validated + // by a [](pulumirpc.ResourceProvider.Check) call. Diff(ctx context.Context, in *DiffRequest, opts ...grpc.CallOption) (*DiffResponse, error) - // Create allocates a new instance of the provided resource and returns its unique ID afterwards. (The input ID - // must be blank.) If this call fails, the resource must not have been created (i.e., it is "transactional"). + // `Create` provisions a new instance of the specified [(custom) resource](custom-resources). It returns a + // provider-assigned ID for the resource as well as the output properties that arose from the creation properties. + // Output properties are typically the union of the resource's input properties and any additional values that were + // computed or made available during creation. + // + // If creation fails, `Create` may return an [](pulumirpc.ErrorResourceInitFailed) error detail explaining why. + // Moreover, if `Create` does return an error, it must be the case that the resource was *not* created (that is, + // `Create` can be thought of as transactional or atomic). Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) - // Read the current live state associated with a resource. Enough state must be include in the inputs to uniquely - // identify the resource; this is typically just the resource ID, but may also include some properties. + // `Read` reads the current live state associated with a resource identified by the supplied state. The given state + // must be sufficient to uniquely identify the resource. This is typically just the resource ID, but may also + // include other properties. Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) - // Update updates an existing resource with new values. + // `Update` updates an existing resource according to a new set of inputs, returning a new set of output properties. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) - // Delete tears down an existing resource with the given ID. If it fails, the resource is assumed to still exist. + // `Delete` deprovisions an existing resource as specified by its ID. `Delete` should be transactional/atomic -- if + // a call to `Delete` fails, it must be the case that the resource was *not* deleted and can be assumed to still + // exist. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) - // Construct creates a new instance of the provided component resource and returns its state. + // `Construct` provisions a new [component resource](component-resources). Providers that implement `Construct` are + // referred to as [component providers](component-providers). `Construct` is to component resources what + // [](pulumirpc.ResourceProvider.Create) is to [custom resources](custom-resources). Components do not have any + // lifecycle of their own, and instead embody the lifecycles of the resources that they are composed of. As such, + // `Construct` is effectively a subprogram whose resources will be persisted in the caller's state. It is + // consequently passed enough information to manage fully these resources. At a high level, this comprises: + // + // * A [](pulumirpc.ResourceMonitor) endpoint which the provider can use to [register](resource-registration) nested + // custom or component resources that belong to the component. + // + // * A set of input properties. + // + // * A full set of [resource options](https://www.pulumi.com/docs/iac/concepts/options/) that the component should + // propagate to resources it registers against the supplied resource monitor. Construct(ctx context.Context, in *ConstructRequest, opts ...grpc.CallOption) (*ConstructResponse, error) // Cancel signals the provider to gracefully shut down and abort any ongoing resource operations. // Operations aborted in this way will return an error (e.g., `Update` and `Create` will either return a @@ -312,33 +388,78 @@ func (c *resourceProviderClient) GetMappings(ctx context.Context, in *GetMapping // All implementations must embed UnimplementedResourceProviderServer // for forward compatibility type ResourceProviderServer interface { - // Parameterize takes either a string array of command line inputs or a value embedded from sdk generation. + // `Parameterize` is the primary means of supporting [parameterized providers](parameterized-providers), which allow + // a caller to change a provider's behavior ahead of its [configuration](pulumirpc.ResourceProvider.Configure) and + // subsequent use. Where a [](pulumirpc.ResourceProvider.Configure) call allows a caller to influence provider + // behaviour at a high level (e.g. by specifying the region in which an AWS provider should operate), a + // `Parameterize` call may change the set of resources and functions that a provider offers (that is, its schema). + // This is useful in any case where some "set" of providers can be captured by a single implementation that may + // power fundamentally different schemata -- dynamically bridging Terraform providers, or managing Kubernetes + // clusters with custom resource definitions, for instance, are good examples. The parameterized package that + // `Parameterize` yields is known as a *sub-package* of the original (unparameterized) package. // - // Providers can be parameterized with either multiple extension packages (which don't define their own provider - // resources), or with a replacement package (which does define its own provider resource). + // `Parameterize` supports two types of parameterization: // - // Parameterize may be called multiple times for extension packages, but for a replacement package it will only be - // called once. Extension packages may even be called multiple times for the same package name, but with different - // versions. + // * *Replacement parameterization*, whereby a `Parameterize` call results in a schema that completely replaces the + // original provider schema. Bridging a Terraform provider dynamically might be an example of this -- following + // the call to `Parameterize`, the provider's schema will become that of the Terraform provider that was bridged. + // Providers that implement replacement parameterization expect a *single* call to `Parameterize`. // - // Parameterize should work the same for both the `ParametersArgs` input and the `ParametersValue` input. Either way - // should return the sub-package name and version (which for `ParametersValue` should match the given input). + // * *Extension parameterization*, in which a `Parameterize` call results in a schema that is a superset of the + // original. This is useful in cases where a provider can be extended with additional resources or functions, such + // as a Kubernetes provider that can be extended with resources representing custom resource definitions. + // Providers that implement extension parameterization should accept multiple calls to `Parameterize`. Extension + // packages may even be called multiple times with the same package name, but with different versions. The CRUD + // operations of extension resources must include the version of which sub-package they correspond to. // - // For extension resources their CRUD operations will include the version of which sub-package they correspond to. + // `Parameterize` should work the same whether it is provided with `ParametersArgs` or `ParametersValue` input. In + // each case it should return the sub-package name and version (which when a `ParametersValue` is supplied should + // match the given input). Parameterize(context.Context, *ParameterizeRequest) (*ParameterizeResponse, error) // GetSchema fetches the schema for this resource provider. GetSchema(context.Context, *GetSchemaRequest) (*GetSchemaResponse, error) - // CheckConfig validates the configuration for this resource provider. + // `CheckConfig` validates a set of configuration inputs that will be passed to this provider instance. + // `CheckConfig` is to provider resources what [](pulumirpc.ResourceProvider.Check) is to individual resources, and + // is the first stage in configuring (that is, eventually executing a [](pulumirpc.ResourceProvider.Configure) call) + // a provider using user-supplied values. In the case that provider inputs are coming from some source that has been + // checked previously (e.g. a Pulumi state), it is not necessary to call `CheckConfig`. + // + // A `CheckConfig` call returns either a set of checked, known-valid inputs that may subsequently be passed to + // [](pulumirpc.ResourceProvider.DiffConfig) and/or [](pulumirpc.ResourceProvider.Configure), or a set of errors + // explaining why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, + // `CheckConfig` *may also populate default values* for provider configuration, returning them so that they may be + // passed to a subsequent [](pulumirpc.ResourceProvider.Configure) call and persisted in the Pulumi state. In the + // case that `CheckConfig` fails and returns a set of errors, it is expected that the caller (typically the Pulumi + // engine) will fail provider registration. + // + // As a rule, the provider inputs returned by a call to `CheckConfig` should preserve the original representation of + // the properties as present in the program inputs. Though this rule is not required for correctness, violations + // thereof can negatively impact the end-user experience, as the provider inputs are used for detecting and + // rendering diffs. CheckConfig(context.Context, *CheckRequest) (*CheckResponse, error) - // DiffConfig checks the impact a hypothetical change to this provider's configuration will have on the provider. + // `DiffConfig` compares an existing ("old") provider configuration with a new configuration and computes the + // difference (if any) between them. `DiffConfig` is to provider resources what [](pulumirpc.ResourceProvider.Diff) + // is to individual resources. `DiffConfig` should only be called with values that have at some point been validated + // by a [](pulumirpc.ResourceProvider.CheckConfig) call. The [](pulumirpc.DiffResponse) returned by a `DiffConfig` + // call is used primarily to determine whether or not the newly configured provider is capable of managing resources + // owned by the old provider. If `DiffConfig` indicates that the provider resource needs to be replaced, for + // instance, then all resources owned by that provider will *also* need to be replaced. Replacement semantics should + // thus be reserved for changes to configuration properties that are guaranteed to make old resources unmanageable. + // Changes to an AWS region, for example, will almost certainly require a provider replacement, but changes to an + // AWS access key, should almost certainly not. DiffConfig(context.Context, *DiffRequest) (*DiffResponse, error) - // Configure configures the resource provider with "globals" that control its behavior. + // `Configure` is the final stage in configuring a provider instance. Callers supply two sets of data: + // + // * Provider-specific configuration, which is the set of inputs that have been validated by a previous + // [](pulumirpc.ResourceProvider.CheckConfig) call. + // * Provider-agnostic ("protocol") configuration, such as whether or not the caller supports secrets. // - // :::{warning} - // ConfigureRequest.args may include secrets. Because ConfigureRequest is sent before - // ConfigureResponse can specify acceptSecrets: false, providers *must* handle secrets from - // ConfigureRequest.args. - // ::: + // The provider is expected to return its own set of protocol configuration, indicating which features it supports + // in turn so that the caller and the provider can interact appropriately. + // + // Providers may expect a *single* call to `Configure`. If a call to `Configure` is missing required configuration, + // the provider may return a set of error details containing [](pulumirpc.ConfigureErrorMissingKeys) values to + // indicate which keys are missing. Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error) // Invoke dynamically executes a built-in function in the provider. Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error) @@ -347,25 +468,56 @@ type ResourceProviderServer interface { StreamInvoke(*InvokeRequest, ResourceProvider_StreamInvokeServer) error // Call dynamically executes a method in the provider associated with a component resource. Call(context.Context, *CallRequest) (*CallResponse, error) - // Check validates that the given property bag is valid for a resource of the given type and returns the inputs - // that should be passed to successive calls to Diff, Create, or Update for this resource. As a rule, the provider - // inputs returned by a call to Check should preserve the original representation of the properties as present in - // the program inputs. Though this rule is not required for correctness, violations thereof can negatively impact - // the end-user experience, as the provider inputs are using for detecting and rendering diffs. + // `Check` validates a set of input properties against a given resource type. A `Check` call returns either a set of + // checked, known-valid inputs that may subsequently be passed to [](pulumirpc.ResourceProvider.Diff), + // [](pulumirpc.ResourceProvider.Create), or [](pulumirpc.ResourceProvider.Update); or a set of errors explaining + // why the inputs are invalid. In the case that a set of inputs are successfully validated and returned, `Check` + // *may also populate default values* for resource inputs, returning them so that they may be passed to a subsequent + // call and persisted in the Pulumi state. In the case that `Check` fails and returns a set of errors, it is + // expected that the caller (typically the Pulumi engine) will fail resource registration. + // + // As a rule, the provider inputs returned by a call to `Check` should preserve the original representation of the + // properties as present in the program inputs. Though this rule is not required for correctness, violations thereof + // can negatively impact the end-user experience, as the provider inputs are used for detecting and rendering + // diffs. Check(context.Context, *CheckRequest) (*CheckResponse, error) - // Diff checks what impacts a hypothetical update will have on the resource's properties. + // `Diff` compares an existing ("old") set of resource properties with a new set of properties and computes the + // difference (if any) between them. `Diff` should only be called with values that have at some point been validated + // by a [](pulumirpc.ResourceProvider.Check) call. Diff(context.Context, *DiffRequest) (*DiffResponse, error) - // Create allocates a new instance of the provided resource and returns its unique ID afterwards. (The input ID - // must be blank.) If this call fails, the resource must not have been created (i.e., it is "transactional"). + // `Create` provisions a new instance of the specified [(custom) resource](custom-resources). It returns a + // provider-assigned ID for the resource as well as the output properties that arose from the creation properties. + // Output properties are typically the union of the resource's input properties and any additional values that were + // computed or made available during creation. + // + // If creation fails, `Create` may return an [](pulumirpc.ErrorResourceInitFailed) error detail explaining why. + // Moreover, if `Create` does return an error, it must be the case that the resource was *not* created (that is, + // `Create` can be thought of as transactional or atomic). Create(context.Context, *CreateRequest) (*CreateResponse, error) - // Read the current live state associated with a resource. Enough state must be include in the inputs to uniquely - // identify the resource; this is typically just the resource ID, but may also include some properties. + // `Read` reads the current live state associated with a resource identified by the supplied state. The given state + // must be sufficient to uniquely identify the resource. This is typically just the resource ID, but may also + // include other properties. Read(context.Context, *ReadRequest) (*ReadResponse, error) - // Update updates an existing resource with new values. + // `Update` updates an existing resource according to a new set of inputs, returning a new set of output properties. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) - // Delete tears down an existing resource with the given ID. If it fails, the resource is assumed to still exist. + // `Delete` deprovisions an existing resource as specified by its ID. `Delete` should be transactional/atomic -- if + // a call to `Delete` fails, it must be the case that the resource was *not* deleted and can be assumed to still + // exist. Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error) - // Construct creates a new instance of the provided component resource and returns its state. + // `Construct` provisions a new [component resource](component-resources). Providers that implement `Construct` are + // referred to as [component providers](component-providers). `Construct` is to component resources what + // [](pulumirpc.ResourceProvider.Create) is to [custom resources](custom-resources). Components do not have any + // lifecycle of their own, and instead embody the lifecycles of the resources that they are composed of. As such, + // `Construct` is effectively a subprogram whose resources will be persisted in the caller's state. It is + // consequently passed enough information to manage fully these resources. At a high level, this comprises: + // + // * A [](pulumirpc.ResourceMonitor) endpoint which the provider can use to [register](resource-registration) nested + // custom or component resources that belong to the component. + // + // * A set of input properties. + // + // * A full set of [resource options](https://www.pulumi.com/docs/iac/concepts/options/) that the component should + // propagate to resources it registers against the supplied resource monitor. Construct(context.Context, *ConstructRequest) (*ConstructResponse, error) // Cancel signals the provider to gracefully shut down and abort any ongoing resource operations. // Operations aborted in this way will return an error (e.g., `Update` and `Create` will either return a diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/poetry.go b/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/poetry.go index 1bb714768..27cc7c630 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/poetry.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/poetry.go @@ -113,7 +113,7 @@ func (p *poetry) InstallDependencies(ctx context.Context, } requirementsTxt := filepath.Join(requirementsTxtDir, "requirements.txt") pyprojectToml := filepath.Join(requirementsTxtDir, "pyproject.toml") - if err := p.convertRequirementsTxt(requirementsTxt, pyprojectToml); err != nil { + if err := p.convertRequirementsTxt(requirementsTxt, pyprojectToml, showOutput, infoWriter); err != nil { return err } } @@ -249,7 +249,9 @@ func (p *poetry) virtualenvPath(ctx context.Context) (string, error) { return virtualenvPath, nil } -func (p *poetry) convertRequirementsTxt(requirementsTxt, pyprojectToml string) error { +func (p *poetry) convertRequirementsTxt(requirementsTxt, pyprojectToml string, showOutput bool, + infoWriter io.Writer, +) error { f, err := os.Open(requirementsTxt) if err != nil { return fmt.Errorf("failed to open %q", requirementsTxt) @@ -279,6 +281,12 @@ func (p *poetry) convertRequirementsTxt(requirementsTxt, pyprojectToml string) e if err := os.Remove(requirementsTxt); err != nil { return fmt.Errorf("failed to remove %q", requirementsTxt) } + if showOutput { + if _, err := infoWriter.Write([]byte("Deleted requirements.txt, " + + "dependencies for this project are tracked in pyproject.toml\n")); err != nil { + return fmt.Errorf("failed to write to infoWriter: %w", err) + } + } return nil } @@ -354,17 +362,3 @@ func dependenciesFromRequirementsTxt(r io.Reader) (map[string]string, error) { return deps, nil } - -func searchup(currentDir, fileToFind string) (string, error) { - if _, err := os.Stat(filepath.Join(currentDir, fileToFind)); err == nil { - return currentDir, nil - } else if !errors.Is(err, os.ErrNotExist) { - return "", err - } - parentDir := filepath.Dir(currentDir) - if currentDir == parentDir { - // Reached the root directory, file not found - return "", os.ErrNotExist - } - return searchup(parentDir, fileToFind) -} diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/toolchain.go b/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/toolchain.go index 39b510238..6c030819b 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/toolchain.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/toolchain.go @@ -19,8 +19,11 @@ import ( "errors" "fmt" "io" + "os" "os/exec" + "path/filepath" "runtime" + "strings" "github.com/pulumi/pulumi/sdk/v3/go/common/util/fsutil" "github.com/pulumi/pulumi/sdk/v3/go/common/util/logging" @@ -42,6 +45,7 @@ type toolchain int const ( Pip toolchain = iota Poetry + Uv ) type PythonOptions struct { @@ -94,6 +98,8 @@ func Name(tc toolchain) string { return "Pip" case Poetry: return "Poetry" + case Uv: + return "Uv" default: return "Unknown" } @@ -106,6 +112,8 @@ func ResolveToolchain(options PythonOptions) (Toolchain, error) { dir = options.Root } return newPoetry(dir) + } else if options.Toolchain == Uv { + return newUv(options.Root, options.Virtualenv) } return newPip(options.Root, options.Virtualenv) } @@ -175,3 +183,29 @@ func installPython(ctx context.Context, cwd string, showOutput bool, infoWriter, } return nil } + +func searchup(currentDir, fileToFind string) (string, error) { + if _, err := os.Stat(filepath.Join(currentDir, fileToFind)); err == nil { + return currentDir, nil + } else if !errors.Is(err, os.ErrNotExist) { + return "", err + } + parentDir := filepath.Dir(currentDir) + if currentDir == parentDir { + // Reached the root directory, file not found + return "", os.ErrNotExist + } + return searchup(parentDir, fileToFind) +} + +// errorWithStderr returns an error that includes the stderr output if the error is an ExitError. +func errorWithStderr(err error, message string) error { + var exitErr *exec.ExitError + if errors.As(err, &exitErr) { + stderr := strings.TrimSpace(string(exitErr.Stderr)) + if len(stderr) > 0 { + return fmt.Errorf("%s: %w: %s", message, exitErr, exitErr.Stderr) + } + } + return fmt.Errorf("%s: %w", message, err) +} diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/uv.go b/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/uv.go new file mode 100644 index 000000000..ba7ed2525 --- /dev/null +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/python/toolchain/uv.go @@ -0,0 +1,283 @@ +// Copyright 2024, 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 toolchain + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "io" + "os" + "os/exec" + "path/filepath" + "regexp" + "strings" + + "github.com/blang/semver" + "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" + "github.com/pulumi/pulumi/sdk/v3/go/common/util/logging" +) + +type uv struct { + // The absolute path to the virtual env. + virtualenvPath string + // The root directory of the project. + root string +} + +var minUvVersion = semver.MustParse("0.4.26") + +var defaultVirtualEnv = ".venv" + +var _ Toolchain = &uv{} + +func newUv(root, virtualenv string) (*uv, error) { + _, err := exec.LookPath("uv") + if err != nil { + return nil, errors.New("Could not find `uv` executable.\n" + + "Install uv and make sure is is in your PATH.") + } + + if virtualenv == "" { + // If virtualenv is not set, look for the nearest uv.lock or pyproject.toml to + // determine where to place the virtualenv. + uvLockDir, err := searchup(root, "uv.lock") + if err != nil { + if !errors.Is(err, os.ErrNotExist) { + return nil, fmt.Errorf("error while looking for pyproject.toml in %s: %w", root, err) + } + // No uv.lock, do we have a pyproject.toml? + pyprojectTomlDir, err := searchup(root, "pyproject.toml") + if err != nil { + if !errors.Is(err, os.ErrNotExist) { + return nil, fmt.Errorf("error while looking for pyproject.toml in %s: %w", root, err) + } + // We have no uv.lock and no pyproject.toml, place the virtualenv in the project root. + virtualenv = filepath.Join(root, defaultVirtualEnv) + } else { + // We have a pyproject.toml, place the virtualenv next to it. + virtualenv = filepath.Join(pyprojectTomlDir, defaultVirtualEnv) + } + } else { + // We have a uv.lock, place the virtualenv next to it. + virtualenv = filepath.Join(uvLockDir, defaultVirtualEnv) + } + } + if !filepath.IsAbs(virtualenv) { + virtualenv = filepath.Join(root, virtualenv) + } + + u := &uv{ + virtualenvPath: virtualenv, + root: root, + } + + // Validate the version + cmd := u.uvCommand(context.Background(), "", false, nil, nil, "--version") + versionString, err := cmd.Output() + if err != nil { + return nil, fmt.Errorf("failed to get uv version: %w", err) + } + version, err := u.uvVersion(string(versionString)) + if err != nil { + return nil, err + } + logging.V(9).Infof("Python toolchain: using uv version %s", version) + + return u, nil +} + +func (u *uv) InstallDependencies(ctx context.Context, cwd string, useLanguageVersionTools, + showOutput bool, infoWriter, errorWriter io.Writer, +) error { + if useLanguageVersionTools { + if err := installPython(ctx, cwd, showOutput, infoWriter, errorWriter); err != nil { + return err + } + } + + // Look for a uv.lock file. + // If no uv.lock file is found, look for a pyproject.toml file. + // If no pyproject.toml file is found, create it, and then look for a + // requirements.txt file to install dependencies. + if _, err := searchup(cwd, "uv.lock"); err != nil { + if !errors.Is(err, os.ErrNotExist) { + return fmt.Errorf("error while looking for uv.lock in %s: %w", cwd, err) + } + + // No uv.lock found, look for pyproject.toml. + if _, err := searchup(cwd, "pyproject.toml"); err != nil { + if !errors.Is(err, os.ErrNotExist) { + return fmt.Errorf("error while looking for pyproject.toml in %s: %w", cwd, err) + } + // No pyproject.toml found, we'll create it with `uv init`. + // First we'll look for a requirements.txt file. If we find one, we'll use the directory + // that contains the requirements.txt file as the directory for `pyproject.toml`. + // We'll also install the dependencies from the requirements.txt file., and then + // remove the requirements.txt file. + requirementsTxtDir, err := searchup(cwd, "requirements.txt") + pyprojectTomlDir := cwd + hasRequirementsTxt := false + if err == nil { + pyprojectTomlDir = requirementsTxtDir + hasRequirementsTxt = true + } else if !errors.Is(err, os.ErrNotExist) { + return fmt.Errorf("error while looking for requirements.txt in %s: %w", cwd, err) + } + + initCmd := u.uvCommand(ctx, pyprojectTomlDir, showOutput, infoWriter, errorWriter, + "init", "--no-readme", "--no-package", "--no-pin-python") + if err := initCmd.Run(); err != nil { + return errorWithStderr(err, "error initializing python project") + } + + if hasRequirementsTxt { + requirementsTxt := filepath.Join(requirementsTxtDir, "requirements.txt") + addCmd := u.uvCommand(ctx, cwd, showOutput, infoWriter, errorWriter, "add", "-r", requirementsTxt) + if err := addCmd.Run(); err != nil { + return errorWithStderr(err, "error installing dependecies from requirements.txt") + } + // Remove the requirements.txt file, after calling `uv add`, the + // dependencies are tracked in pyproject.toml. + if err := os.Remove(requirementsTxt); err != nil { + return fmt.Errorf("failed to remove %q", requirementsTxt) + } + if showOutput { + if _, err := infoWriter.Write([]byte("Deleted requirements.txt, " + + "dependencies for this project are tracked in pyproject.toml\n")); err != nil { + return fmt.Errorf("failed to write to infoWriter: %w", err) + } + } + } + + // `uv init` creates a `hello.py` file, delete it. + contract.IgnoreError(os.Remove(filepath.Join(cwd, "hello.py"))) + } + } + + // We now have either a uv.lock or at least a pyproject.toml file, and we can use uv + // install the dependencies. + syncCmd := u.uvCommand(ctx, cwd, showOutput, infoWriter, errorWriter, "sync") + if err := syncCmd.Run(); err != nil { + return errorWithStderr(err, "error installing dependencies") + } + return nil +} + +func (u *uv) EnsureVenv(ctx context.Context, cwd string, useLanguageVersionTools, showOutput bool, + infoWriter, errorWriter io.Writer, +) error { + venvCmd := u.uvCommand(ctx, cwd, showOutput, infoWriter, errorWriter, "venv", "--quiet", u.virtualenvPath) + if err := venvCmd.Run(); err != nil { + return errorWithStderr(err, "error creating virtual environment") + } + + return nil +} + +func (u *uv) ValidateVenv(ctx context.Context) error { + if !IsVirtualEnv(u.virtualenvPath) { + return fmt.Errorf("'%s' is not a virtualenv", u.virtualenvPath) + } + return nil +} + +func (u *uv) ListPackages(ctx context.Context, transitive bool) ([]PythonPackage, error) { + cmd := exec.CommandContext(ctx, "uv", "pip", "list", "--format", "json") + // `uv pip` commands require the virtualenv to be activated. + cmd.Env = ActivateVirtualEnv(cmd.Environ(), u.virtualenvPath) + output, err := cmd.Output() + if err != nil { + return nil, fmt.Errorf("error listing packages: %w", err) + } + + var packages []PythonPackage + if err := json.Unmarshal(output, &packages); err != nil { + return nil, fmt.Errorf("error parsing package list: %w", err) + } + + return packages, nil +} + +func (u *uv) Command(ctx context.Context, args ...string) (*exec.Cmd, error) { + return u.uvCommand(ctx, "", false, nil, nil, append([]string{"run", "python"}, args...)...), nil +} + +func (u *uv) ModuleCommand(ctx context.Context, module string, args ...string) (*exec.Cmd, error) { + return u.uvCommand(ctx, "", false, nil, nil, append([]string{"run", "--module"}, args...)...), nil +} + +func (u *uv) About(ctx context.Context) (Info, error) { + cmd, err := u.Command(ctx, "--version") + if err != nil { + return Info{}, err + } + var out []byte + if out, err = cmd.Output(); err != nil { + return Info{}, fmt.Errorf("failed to get version: %w", err) + } + version := strings.TrimSpace(strings.TrimPrefix(string(out), "Python ")) + + cmd, err = u.Command(ctx, "-c", "import sys; print(sys.executable)") + if err != nil { + return Info{}, err + } + out, err = cmd.Output() + if err != nil { + return Info{}, fmt.Errorf("failed to get python executable path: %w", err) + } + executable := strings.TrimSpace(string(out)) + + return Info{ + Executable: executable, + Version: version, + }, nil +} + +func (u *uv) uvCommand(ctx context.Context, cwd string, showOutput bool, + infoWriter, errorWriter io.Writer, args ...string, +) *exec.Cmd { + cmd := exec.CommandContext(ctx, "uv", args...) + if cwd != "" { + cmd.Dir = cwd + } + if showOutput { + cmd.Stdout = infoWriter + cmd.Stderr = errorWriter + } + cmd.Env = append(cmd.Environ(), "UV_PROJECT_ENVIRONMENT="+u.virtualenvPath) + return cmd +} + +func (u *uv) uvVersion(versionString string) (semver.Version, error) { + versionString = strings.TrimSpace(versionString) + re := regexp.MustCompile(`uv (?P\d+\.\d+(.\d+)?).*`) + matches := re.FindStringSubmatch(versionString) + i := re.SubexpIndex("version") + if i < 0 || len(matches) < i { + return semver.Version{}, fmt.Errorf("unexpected output from `uv --version`: %q", versionString) + } + v := matches[i] + sem, err := semver.ParseTolerant(v) + if err != nil { + return semver.Version{}, fmt.Errorf("failed to parse uv version %q: %w", versionString, err) + } + if sem.LT(minUvVersion) { + return semver.Version{}, fmt.Errorf("uv version %s is less than the minimum required version %s", + versionString, minUvVersion) + } + return sem, nil +} diff --git a/vendor/modules.txt b/vendor/modules.txt index f6e94e066..2b1fd31d9 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -531,49 +531,49 @@ github.com/pulumi/esc/internal/util github.com/pulumi/esc/schema github.com/pulumi/esc/syntax github.com/pulumi/esc/syntax/encoding -# github.com/pulumi/pulumi-aws/sdk/v6 v6.39.0 -## explicit; go 1.21 +# github.com/pulumi/pulumi-aws/sdk/v6 v6.64.0 +## explicit; go 1.21.12 github.com/pulumi/pulumi-aws/sdk/v6/go/aws/autoscaling github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2 github.com/pulumi/pulumi-aws/sdk/v6/go/aws/internal github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lb -# github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/authorization/v2 -# github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/compute/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/compute/v2 -# github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2/v20240801 # github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v2 v2.53.0 ## explicit; go 1.18 github.com/pulumi/pulumi-azure-native-sdk/managedidentity/v2 -# github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/network/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/network/v2 -# github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/resources/v2 -# github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/storage/v2 -# github.com/pulumi/pulumi-azure-native-sdk/v2 v2.64.2 +# github.com/pulumi/pulumi-azure-native-sdk/v2 v2.76.0 ## explicit; go 1.21 github.com/pulumi/pulumi-azure-native-sdk/v2/utilities -# github.com/pulumi/pulumi-command/sdk v0.11.1 +# github.com/pulumi/pulumi-command/sdk v1.0.1 ## explicit; go 1.21 github.com/pulumi/pulumi-command/sdk/go/command/internal github.com/pulumi/pulumi-command/sdk/go/command/remote -# github.com/pulumi/pulumi-random/sdk/v4 v4.16.2 +# github.com/pulumi/pulumi-random/sdk/v4 v4.16.7 ## explicit; go 1.21 github.com/pulumi/pulumi-random/sdk/v4/go/random github.com/pulumi/pulumi-random/sdk/v4/go/random/internal -# github.com/pulumi/pulumi-tls/sdk/v5 v5.0.3 +# github.com/pulumi/pulumi-tls/sdk/v5 v5.0.9 ## explicit; go 1.21 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.135.0 +# github.com/pulumi/pulumi/sdk/v3 v3.142.0 ## explicit; go 1.21 github.com/pulumi/pulumi/sdk/v3 github.com/pulumi/pulumi/sdk/v3/go/auto @@ -627,6 +627,7 @@ github.com/pulumi/pulumi/sdk/v3/go/common/workspace github.com/pulumi/pulumi/sdk/v3/go/internal github.com/pulumi/pulumi/sdk/v3/go/property github.com/pulumi/pulumi/sdk/v3/go/pulumi +github.com/pulumi/pulumi/sdk/v3/go/pulumi/errors github.com/pulumi/pulumi/sdk/v3/go/pulumi/internals github.com/pulumi/pulumi/sdk/v3/go/pulumix github.com/pulumi/pulumi/sdk/v3/nodejs/npm