vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getCdnShieldingPop
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const pop = vkcs.getCdnShieldingPop({
city: "Moscow-Megafon",
});
import pulumi
import pulumi_vkcs as vkcs
pop = vkcs.get_cdn_shielding_pop(city="Moscow-Megafon")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.GetCdnShieldingPop(ctx, &vkcs.GetCdnShieldingPopArgs{
City: pulumi.StringRef("Moscow-Megafon"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var pop = Vkcs.GetCdnShieldingPop.Invoke(new()
{
City = "Moscow-Megafon",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetCdnShieldingPopArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var pop = VkcsFunctions.getCdnShieldingPop(GetCdnShieldingPopArgs.builder()
.city("Moscow-Megafon")
.build());
}
}
variables:
pop:
fn::invoke:
function: vkcs:getCdnShieldingPop
arguments:
city: Moscow-Megafon
Using getCdnShieldingPop
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCdnShieldingPop(args: GetCdnShieldingPopArgs, opts?: InvokeOptions): Promise<GetCdnShieldingPopResult>
function getCdnShieldingPopOutput(args: GetCdnShieldingPopOutputArgs, opts?: InvokeOptions): Output<GetCdnShieldingPopResult>
def get_cdn_shielding_pop(city: Optional[str] = None,
country: Optional[str] = None,
datacenter: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnShieldingPopResult
def get_cdn_shielding_pop_output(city: Optional[pulumi.Input[str]] = None,
country: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnShieldingPopResult]
func GetCdnShieldingPop(ctx *Context, args *GetCdnShieldingPopArgs, opts ...InvokeOption) (*GetCdnShieldingPopResult, error)
func GetCdnShieldingPopOutput(ctx *Context, args *GetCdnShieldingPopOutputArgs, opts ...InvokeOption) GetCdnShieldingPopResultOutput
> Note: This function is named GetCdnShieldingPop
in the Go SDK.
public static class GetCdnShieldingPop
{
public static Task<GetCdnShieldingPopResult> InvokeAsync(GetCdnShieldingPopArgs args, InvokeOptions? opts = null)
public static Output<GetCdnShieldingPopResult> Invoke(GetCdnShieldingPopInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCdnShieldingPopResult> getCdnShieldingPop(GetCdnShieldingPopArgs args, InvokeOptions options)
public static Output<GetCdnShieldingPopResult> getCdnShieldingPop(GetCdnShieldingPopArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getCdnShieldingPop:getCdnShieldingPop
arguments:
# arguments dictionary
The following arguments are supported:
- City string
- optional string → City of origin shielding location.
- Country string
- optional string → Country of origin shielding location.
- Datacenter string
- optional string → Name of origin shielding location datacenter.
- Region string
- optional string → The region in which to obtain the CDN client. If omitted, the
region
argument of the provider is used.
- City string
- optional string → City of origin shielding location.
- Country string
- optional string → Country of origin shielding location.
- Datacenter string
- optional string → Name of origin shielding location datacenter.
- Region string
- optional string → The region in which to obtain the CDN client. If omitted, the
region
argument of the provider is used.
- city String
- optional string → City of origin shielding location.
- country String
- optional string → Country of origin shielding location.
- datacenter String
- optional string → Name of origin shielding location datacenter.
- region String
- optional string → The region in which to obtain the CDN client. If omitted, the
region
argument of the provider is used.
- city string
- optional string → City of origin shielding location.
- country string
- optional string → Country of origin shielding location.
- datacenter string
- optional string → Name of origin shielding location datacenter.
- region string
- optional string → The region in which to obtain the CDN client. If omitted, the
region
argument of the provider is used.
- city str
- optional string → City of origin shielding location.
- country str
- optional string → Country of origin shielding location.
- datacenter str
- optional string → Name of origin shielding location datacenter.
- region str
- optional string → The region in which to obtain the CDN client. If omitted, the
region
argument of the provider is used.
- city String
- optional string → City of origin shielding location.
- country String
- optional string → Country of origin shielding location.
- datacenter String
- optional string → Name of origin shielding location datacenter.
- region String
- optional string → The region in which to obtain the CDN client. If omitted, the
region
argument of the provider is used.
getCdnShieldingPop Result
The following output properties are available:
- City string
- Country string
- Datacenter string
- Id double
- number → ID of the origin shielding location.
- Region string
- City string
- Country string
- Datacenter string
- Id float64
- number → ID of the origin shielding location.
- Region string
- city String
- country String
- datacenter String
- id Double
- number → ID of the origin shielding location.
- region String
- city string
- country string
- datacenter string
- id number
- number → ID of the origin shielding location.
- region string
- city str
- country str
- datacenter str
- id float
- number → ID of the origin shielding location.
- region str
- city String
- country String
- datacenter String
- id Number
- number → ID of the origin shielding location.
- region String
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.