com.pulumi.azure.cdn.FrontdoorCustomDomainAssociationArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class FrontdoorCustomDomainAssociationArgs extends com.pulumi.resources.ResourceArgs {
public static final FrontdoorCustomDomainAssociationArgs Empty = new FrontdoorCustomDomainAssociationArgs();
/**
* The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.
*
*/
@Import(name="cdnFrontdoorCustomDomainId", required=true)
private Output cdnFrontdoorCustomDomainId;
/**
* @return The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.
*
*/
public Output cdnFrontdoorCustomDomainId() {
return this.cdnFrontdoorCustomDomainId;
}
/**
* One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.
*
* > **NOTE:** This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error `This resource is still associated with a route. Please delete the association with the route first before deleting this resource` when you attempt to `destroy`/`delete` your Front Door Custom Domain.
*
*/
@Import(name="cdnFrontdoorRouteIds", required=true)
private Output> cdnFrontdoorRouteIds;
/**
* @return One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.
*
* > **NOTE:** This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error `This resource is still associated with a route. Please delete the association with the route first before deleting this resource` when you attempt to `destroy`/`delete` your Front Door Custom Domain.
*
*/
public Output> cdnFrontdoorRouteIds() {
return this.cdnFrontdoorRouteIds;
}
private FrontdoorCustomDomainAssociationArgs() {}
private FrontdoorCustomDomainAssociationArgs(FrontdoorCustomDomainAssociationArgs $) {
this.cdnFrontdoorCustomDomainId = $.cdnFrontdoorCustomDomainId;
this.cdnFrontdoorRouteIds = $.cdnFrontdoorRouteIds;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FrontdoorCustomDomainAssociationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FrontdoorCustomDomainAssociationArgs $;
public Builder() {
$ = new FrontdoorCustomDomainAssociationArgs();
}
public Builder(FrontdoorCustomDomainAssociationArgs defaults) {
$ = new FrontdoorCustomDomainAssociationArgs(Objects.requireNonNull(defaults));
}
/**
* @param cdnFrontdoorCustomDomainId The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.
*
* @return builder
*
*/
public Builder cdnFrontdoorCustomDomainId(Output cdnFrontdoorCustomDomainId) {
$.cdnFrontdoorCustomDomainId = cdnFrontdoorCustomDomainId;
return this;
}
/**
* @param cdnFrontdoorCustomDomainId The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.
*
* @return builder
*
*/
public Builder cdnFrontdoorCustomDomainId(String cdnFrontdoorCustomDomainId) {
return cdnFrontdoorCustomDomainId(Output.of(cdnFrontdoorCustomDomainId));
}
/**
* @param cdnFrontdoorRouteIds One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.
*
* > **NOTE:** This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error `This resource is still associated with a route. Please delete the association with the route first before deleting this resource` when you attempt to `destroy`/`delete` your Front Door Custom Domain.
*
* @return builder
*
*/
public Builder cdnFrontdoorRouteIds(Output> cdnFrontdoorRouteIds) {
$.cdnFrontdoorRouteIds = cdnFrontdoorRouteIds;
return this;
}
/**
* @param cdnFrontdoorRouteIds One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.
*
* > **NOTE:** This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error `This resource is still associated with a route. Please delete the association with the route first before deleting this resource` when you attempt to `destroy`/`delete` your Front Door Custom Domain.
*
* @return builder
*
*/
public Builder cdnFrontdoorRouteIds(List cdnFrontdoorRouteIds) {
return cdnFrontdoorRouteIds(Output.of(cdnFrontdoorRouteIds));
}
/**
* @param cdnFrontdoorRouteIds One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.
*
* > **NOTE:** This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error `This resource is still associated with a route. Please delete the association with the route first before deleting this resource` when you attempt to `destroy`/`delete` your Front Door Custom Domain.
*
* @return builder
*
*/
public Builder cdnFrontdoorRouteIds(String... cdnFrontdoorRouteIds) {
return cdnFrontdoorRouteIds(List.of(cdnFrontdoorRouteIds));
}
public FrontdoorCustomDomainAssociationArgs build() {
if ($.cdnFrontdoorCustomDomainId == null) {
throw new MissingRequiredPropertyException("FrontdoorCustomDomainAssociationArgs", "cdnFrontdoorCustomDomainId");
}
if ($.cdnFrontdoorRouteIds == null) {
throw new MissingRequiredPropertyException("FrontdoorCustomDomainAssociationArgs", "cdnFrontdoorRouteIds");
}
return $;
}
}
}