get Frontdoor Custom Domain
suspend fun getFrontdoorCustomDomain(argument: GetFrontdoorCustomDomainPlainArgs): GetFrontdoorCustomDomainResult
Use this data source to access information about an existing Front Door (standard/premium) Custom Domain.
Example Usage
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(azurerm_cdn_frontdoor_custom_domain.example().name())
.profileName(azurerm_cdn_frontdoor_profile.example().name())
.resourceGroupName(azurerm_cdn_frontdoor_profile.example().resource_group_name())
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getFrontdoorCustomDomain.
Parameters
argument
A collection of arguments for invoking getFrontdoorCustomDomain.
suspend fun getFrontdoorCustomDomain(name: String, profileName: String, resourceGroupName: String): GetFrontdoorCustomDomainResult
Return
A collection of values returned by getFrontdoorCustomDomain.
See also
Parameters
name
The name of the Front Door Custom Domain.
profile Name
The name of the Front Door Profile which the Front Door Custom Domain is bound to.
resource Group Name
The name of the Resource Group where the Front Door Profile exists.
suspend fun getFrontdoorCustomDomain(argument: suspend GetFrontdoorCustomDomainPlainArgsBuilder.() -> Unit): GetFrontdoorCustomDomainResult
Return
A collection of values returned by getFrontdoorCustomDomain.
See also
Parameters
argument
Builder for com.pulumi.azure.cdn.kotlin.inputs.GetFrontdoorCustomDomainPlainArgs.