com.pulumi.azure.cdn.CdnFunctions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.cdn;
import com.pulumi.azure.Utilities;
import com.pulumi.azure.cdn.inputs.GetFrontdoorCustomDomainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorCustomDomainPlainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorEndpointArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorEndpointPlainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorFirewallPolicyArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorFirewallPolicyPlainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorOriginGroupArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorOriginGroupPlainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorProfileArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorProfilePlainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorRuleSetArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorRuleSetPlainArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorSecretArgs;
import com.pulumi.azure.cdn.inputs.GetFrontdoorSecretPlainArgs;
import com.pulumi.azure.cdn.inputs.GetProfileArgs;
import com.pulumi.azure.cdn.inputs.GetProfilePlainArgs;
import com.pulumi.azure.cdn.outputs.GetFrontdoorCustomDomainResult;
import com.pulumi.azure.cdn.outputs.GetFrontdoorEndpointResult;
import com.pulumi.azure.cdn.outputs.GetFrontdoorFirewallPolicyResult;
import com.pulumi.azure.cdn.outputs.GetFrontdoorOriginGroupResult;
import com.pulumi.azure.cdn.outputs.GetFrontdoorProfileResult;
import com.pulumi.azure.cdn.outputs.GetFrontdoorRuleSetResult;
import com.pulumi.azure.cdn.outputs.GetFrontdoorSecretResult;
import com.pulumi.azure.cdn.outputs.GetProfileResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;
public final class CdnFunctions {
/**
* Use this data source to access information about an existing Front Door (standard/premium) Custom Domain.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorCustomDomainArgs;
* 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 example = CdnFunctions.getFrontdoorCustomDomain(GetFrontdoorCustomDomainArgs.builder()
* .name(exampleAzurermCdnFrontdoorCustomDomain.name())
* .profileName(exampleAzurermCdnFrontdoorProfile.name())
* .resourceGroupName(exampleAzurermCdnFrontdoorProfile.resourceGroupName())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorCustomDomain(GetFrontdoorCustomDomainArgs args) {
return getFrontdoorCustomDomain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Custom Domain.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorCustomDomainArgs;
* 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 example = CdnFunctions.getFrontdoorCustomDomain(GetFrontdoorCustomDomainArgs.builder()
* .name(exampleAzurermCdnFrontdoorCustomDomain.name())
* .profileName(exampleAzurermCdnFrontdoorProfile.name())
* .resourceGroupName(exampleAzurermCdnFrontdoorProfile.resourceGroupName())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorCustomDomainPlain(GetFrontdoorCustomDomainPlainArgs args) {
return getFrontdoorCustomDomainPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Custom Domain.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorCustomDomainArgs;
* 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 example = CdnFunctions.getFrontdoorCustomDomain(GetFrontdoorCustomDomainArgs.builder()
* .name(exampleAzurermCdnFrontdoorCustomDomain.name())
* .profileName(exampleAzurermCdnFrontdoorProfile.name())
* .resourceGroupName(exampleAzurermCdnFrontdoorProfile.resourceGroupName())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorCustomDomain(GetFrontdoorCustomDomainArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorCustomDomain:getFrontdoorCustomDomain", TypeShape.of(GetFrontdoorCustomDomainResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Custom Domain.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorCustomDomainArgs;
* 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 example = CdnFunctions.getFrontdoorCustomDomain(GetFrontdoorCustomDomainArgs.builder()
* .name(exampleAzurermCdnFrontdoorCustomDomain.name())
* .profileName(exampleAzurermCdnFrontdoorProfile.name())
* .resourceGroupName(exampleAzurermCdnFrontdoorProfile.resourceGroupName())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorCustomDomainPlain(GetFrontdoorCustomDomainPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorCustomDomain:getFrontdoorCustomDomain", TypeShape.of(GetFrontdoorCustomDomainResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Endpoint.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorEndpointArgs;
* 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 example = CdnFunctions.getFrontdoorEndpoint(GetFrontdoorEndpointArgs.builder()
* .name("existing-endpoint")
* .profileName("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorEndpoint(GetFrontdoorEndpointArgs args) {
return getFrontdoorEndpoint(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Endpoint.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorEndpointArgs;
* 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 example = CdnFunctions.getFrontdoorEndpoint(GetFrontdoorEndpointArgs.builder()
* .name("existing-endpoint")
* .profileName("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorEndpointPlain(GetFrontdoorEndpointPlainArgs args) {
return getFrontdoorEndpointPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Endpoint.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorEndpointArgs;
* 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 example = CdnFunctions.getFrontdoorEndpoint(GetFrontdoorEndpointArgs.builder()
* .name("existing-endpoint")
* .profileName("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorEndpoint(GetFrontdoorEndpointArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorEndpoint:getFrontdoorEndpoint", TypeShape.of(GetFrontdoorEndpointResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Endpoint.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorEndpointArgs;
* 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 example = CdnFunctions.getFrontdoorEndpoint(GetFrontdoorEndpointArgs.builder()
* .name("existing-endpoint")
* .profileName("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorEndpointPlain(GetFrontdoorEndpointPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorEndpoint:getFrontdoorEndpoint", TypeShape.of(GetFrontdoorEndpointResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Firewall Policy.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorFirewallPolicyArgs;
* 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 example = CdnFunctions.getFrontdoorFirewallPolicy(GetFrontdoorFirewallPolicyArgs.builder()
* .name("examplecdnfdwafpolicy")
* .resourceGroupName(exampleAzurermResourceGroup.name())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorFirewallPolicy(GetFrontdoorFirewallPolicyArgs args) {
return getFrontdoorFirewallPolicy(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Firewall Policy.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorFirewallPolicyArgs;
* 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 example = CdnFunctions.getFrontdoorFirewallPolicy(GetFrontdoorFirewallPolicyArgs.builder()
* .name("examplecdnfdwafpolicy")
* .resourceGroupName(exampleAzurermResourceGroup.name())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorFirewallPolicyPlain(GetFrontdoorFirewallPolicyPlainArgs args) {
return getFrontdoorFirewallPolicyPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Firewall Policy.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorFirewallPolicyArgs;
* 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 example = CdnFunctions.getFrontdoorFirewallPolicy(GetFrontdoorFirewallPolicyArgs.builder()
* .name("examplecdnfdwafpolicy")
* .resourceGroupName(exampleAzurermResourceGroup.name())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorFirewallPolicy(GetFrontdoorFirewallPolicyArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorFirewallPolicy:getFrontdoorFirewallPolicy", TypeShape.of(GetFrontdoorFirewallPolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Firewall Policy.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorFirewallPolicyArgs;
* 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 example = CdnFunctions.getFrontdoorFirewallPolicy(GetFrontdoorFirewallPolicyArgs.builder()
* .name("examplecdnfdwafpolicy")
* .resourceGroupName(exampleAzurermResourceGroup.name())
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorFirewallPolicyPlain(GetFrontdoorFirewallPolicyPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorFirewallPolicy:getFrontdoorFirewallPolicy", TypeShape.of(GetFrontdoorFirewallPolicyResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Origin Group.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorOriginGroupArgs;
* 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 example = CdnFunctions.getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs.builder()
* .name("example-origin-group")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs args) {
return getFrontdoorOriginGroup(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Origin Group.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorOriginGroupArgs;
* 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 example = CdnFunctions.getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs.builder()
* .name("example-origin-group")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorOriginGroupPlain(GetFrontdoorOriginGroupPlainArgs args) {
return getFrontdoorOriginGroupPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Origin Group.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorOriginGroupArgs;
* 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 example = CdnFunctions.getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs.builder()
* .name("example-origin-group")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorOriginGroup:getFrontdoorOriginGroup", TypeShape.of(GetFrontdoorOriginGroupResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Origin Group.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorOriginGroupArgs;
* 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 example = CdnFunctions.getFrontdoorOriginGroup(GetFrontdoorOriginGroupArgs.builder()
* .name("example-origin-group")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorOriginGroupPlain(GetFrontdoorOriginGroupPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorOriginGroup:getFrontdoorOriginGroup", TypeShape.of(GetFrontdoorOriginGroupResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorProfileArgs;
* 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 example = CdnFunctions.getFrontdoorProfile(GetFrontdoorProfileArgs.builder()
* .name("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorProfile(GetFrontdoorProfileArgs args) {
return getFrontdoorProfile(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorProfileArgs;
* 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 example = CdnFunctions.getFrontdoorProfile(GetFrontdoorProfileArgs.builder()
* .name("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorProfilePlain(GetFrontdoorProfilePlainArgs args) {
return getFrontdoorProfilePlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorProfileArgs;
* 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 example = CdnFunctions.getFrontdoorProfile(GetFrontdoorProfileArgs.builder()
* .name("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorProfile(GetFrontdoorProfileArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorProfile:getFrontdoorProfile", TypeShape.of(GetFrontdoorProfileResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorProfileArgs;
* 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 example = CdnFunctions.getFrontdoorProfile(GetFrontdoorProfileArgs.builder()
* .name("existing-cdn-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorProfilePlain(GetFrontdoorProfilePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorProfile:getFrontdoorProfile", TypeShape.of(GetFrontdoorProfileResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Rule Set.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorRuleSetArgs;
* 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 example = CdnFunctions.getFrontdoorRuleSet(GetFrontdoorRuleSetArgs.builder()
* .name("existing-rule-set")
* .profileName("existing-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorRuleSet(GetFrontdoorRuleSetArgs args) {
return getFrontdoorRuleSet(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Rule Set.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorRuleSetArgs;
* 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 example = CdnFunctions.getFrontdoorRuleSet(GetFrontdoorRuleSetArgs.builder()
* .name("existing-rule-set")
* .profileName("existing-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorRuleSetPlain(GetFrontdoorRuleSetPlainArgs args) {
return getFrontdoorRuleSetPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Rule Set.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorRuleSetArgs;
* 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 example = CdnFunctions.getFrontdoorRuleSet(GetFrontdoorRuleSetArgs.builder()
* .name("existing-rule-set")
* .profileName("existing-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorRuleSet(GetFrontdoorRuleSetArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorRuleSet:getFrontdoorRuleSet", TypeShape.of(GetFrontdoorRuleSetResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Rule Set.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorRuleSetArgs;
* 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 example = CdnFunctions.getFrontdoorRuleSet(GetFrontdoorRuleSetArgs.builder()
* .name("existing-rule-set")
* .profileName("existing-profile")
* .resourceGroupName("existing-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorRuleSetPlain(GetFrontdoorRuleSetPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorRuleSet:getFrontdoorRuleSet", TypeShape.of(GetFrontdoorRuleSetResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Secret.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorSecretArgs;
* 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 example = CdnFunctions.getFrontdoorSecret(GetFrontdoorSecretArgs.builder()
* .name("example-secret")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorSecret(GetFrontdoorSecretArgs args) {
return getFrontdoorSecret(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Secret.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorSecretArgs;
* 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 example = CdnFunctions.getFrontdoorSecret(GetFrontdoorSecretArgs.builder()
* .name("example-secret")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorSecretPlain(GetFrontdoorSecretPlainArgs args) {
return getFrontdoorSecretPlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Secret.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorSecretArgs;
* 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 example = CdnFunctions.getFrontdoorSecret(GetFrontdoorSecretArgs.builder()
* .name("example-secret")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getFrontdoorSecret(GetFrontdoorSecretArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getFrontdoorSecret:getFrontdoorSecret", TypeShape.of(GetFrontdoorSecretResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing Front Door (standard/premium) Secret.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetFrontdoorSecretArgs;
* 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 example = CdnFunctions.getFrontdoorSecret(GetFrontdoorSecretArgs.builder()
* .name("example-secret")
* .profileName("example-profile")
* .resourceGroupName("example-resources")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getFrontdoorSecretPlain(GetFrontdoorSecretPlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getFrontdoorSecret:getFrontdoorSecret", TypeShape.of(GetFrontdoorSecretResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing CDN Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetProfileArgs;
* 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 example = CdnFunctions.getProfile(GetProfileArgs.builder()
* .name("myfirstcdnprofile")
* .resourceGroupName("example-resources")
* .build());
*
* ctx.export("cdnProfileId", example.applyValue(getProfileResult -> getProfileResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getProfile(GetProfileArgs args) {
return getProfile(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing CDN Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetProfileArgs;
* 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 example = CdnFunctions.getProfile(GetProfileArgs.builder()
* .name("myfirstcdnprofile")
* .resourceGroupName("example-resources")
* .build());
*
* ctx.export("cdnProfileId", example.applyValue(getProfileResult -> getProfileResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getProfilePlain(GetProfilePlainArgs args) {
return getProfilePlain(args, InvokeOptions.Empty);
}
/**
* Use this data source to access information about an existing CDN Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetProfileArgs;
* 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 example = CdnFunctions.getProfile(GetProfileArgs.builder()
* .name("myfirstcdnprofile")
* .resourceGroupName("example-resources")
* .build());
*
* ctx.export("cdnProfileId", example.applyValue(getProfileResult -> getProfileResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static Output getProfile(GetProfileArgs args, InvokeOptions options) {
return Deployment.getInstance().invoke("azure:cdn/getProfile:getProfile", TypeShape.of(GetProfileResult.class), args, Utilities.withVersion(options));
}
/**
* Use this data source to access information about an existing CDN Profile.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.cdn.CdnFunctions;
* import com.pulumi.azure.cdn.inputs.GetProfileArgs;
* 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 example = CdnFunctions.getProfile(GetProfileArgs.builder()
* .name("myfirstcdnprofile")
* .resourceGroupName("example-resources")
* .build());
*
* ctx.export("cdnProfileId", example.applyValue(getProfileResult -> getProfileResult.id()));
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
public static CompletableFuture getProfilePlain(GetProfilePlainArgs args, InvokeOptions options) {
return Deployment.getInstance().invokeAsync("azure:cdn/getProfile:getProfile", TypeShape.of(GetProfileResult.class), args, Utilities.withVersion(options));
}
}