Class AuthenticatedOriginPullsCertificate


  • public class AuthenticatedOriginPullsCertificate
    extends com.pulumi.resources.CustomResource
    Provides a Cloudflare Authenticated Origin Pulls certificate resource. An uploaded client certificate is required to use Per-Zone or Per-Hostname Authenticated Origin Pulls. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.cloudflare.AuthenticatedOriginPullsCertificate; import com.pulumi.cloudflare.AuthenticatedOriginPullsCertificateArgs; 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) { var myPerZoneAopCert = new AuthenticatedOriginPullsCertificate("myPerZoneAopCert", AuthenticatedOriginPullsCertificateArgs.builder() .certificate("-----INSERT CERTIFICATE-----") .privateKey("-----INSERT PRIVATE KEY-----") .type("per-zone") .zoneId("0da42c8d2132a9ddaf714f9e7c920711") .build()); var myPerHostnameAopCert = new AuthenticatedOriginPullsCertificate("myPerHostnameAopCert", AuthenticatedOriginPullsCertificateArgs.builder() .certificate("-----INSERT CERTIFICATE-----") .privateKey("-----INSERT PRIVATE KEY-----") .type("per-hostname") .zoneId("0da42c8d2132a9ddaf714f9e7c920711") .build()); } } ``` ## Import ```sh $ pulumi import cloudflare:index/authenticatedOriginPullsCertificate:AuthenticatedOriginPullsCertificate example <zone_id>/<certificate_type>/<certificate_id> ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> certificate()  
      com.pulumi.core.Output<java.lang.String> expiresOn()  
      static AuthenticatedOriginPullsCertificate get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, AuthenticatedOriginPullsCertificateState state, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.lang.String> issuer()  
      com.pulumi.core.Output<java.lang.String> privateKey()  
      com.pulumi.core.Output<java.lang.String> serialNumber()  
      com.pulumi.core.Output<java.lang.String> signature()  
      com.pulumi.core.Output<java.lang.String> status()  
      com.pulumi.core.Output<java.lang.String> type()  
      com.pulumi.core.Output<java.lang.String> uploadedOn()  
      com.pulumi.core.Output<java.lang.String> zoneId()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, id, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticatedOriginPullsCertificate

        public AuthenticatedOriginPullsCertificate​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • AuthenticatedOriginPullsCertificate

        public AuthenticatedOriginPullsCertificate​(java.lang.String name,
                                                   AuthenticatedOriginPullsCertificateArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • AuthenticatedOriginPullsCertificate

        public AuthenticatedOriginPullsCertificate​(java.lang.String name,
                                                   AuthenticatedOriginPullsCertificateArgs args,
                                                   @Nullable
                                                   com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • certificate

        public com.pulumi.core.Output<java.lang.String> certificate()
        Returns:
        The public client certificate. **Modifying this attribute will force creation of a new resource.**
      • expiresOn

        public com.pulumi.core.Output<java.lang.String> expiresOn()
        Returns:
        **Modifying this attribute will force creation of a new resource.**
      • issuer

        public com.pulumi.core.Output<java.lang.String> issuer()
        Returns:
        **Modifying this attribute will force creation of a new resource.**
      • privateKey

        public com.pulumi.core.Output<java.lang.String> privateKey()
        Returns:
        The private key of the client certificate. **Modifying this attribute will force creation of a new resource.**
      • serialNumber

        public com.pulumi.core.Output<java.lang.String> serialNumber()
        Returns:
        **Modifying this attribute will force creation of a new resource.**
      • signature

        public com.pulumi.core.Output<java.lang.String> signature()
        Returns:
        **Modifying this attribute will force creation of a new resource.**
      • status

        public com.pulumi.core.Output<java.lang.String> status()
        Returns:
        **Modifying this attribute will force creation of a new resource.**
      • type

        public com.pulumi.core.Output<java.lang.String> type()
        Returns:
        The form of Authenticated Origin Pulls to upload the certificate to. Available values: `per-zone`, `per-hostname`. **Modifying this attribute will force creation of a new resource.**
      • uploadedOn

        public com.pulumi.core.Output<java.lang.String> uploadedOn()
        Returns:
        **Modifying this attribute will force creation of a new resource.**
      • zoneId

        public com.pulumi.core.Output<java.lang.String> zoneId()
        Returns:
        The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
      • get

        public static AuthenticatedOriginPullsCertificate get​(java.lang.String name,
                                                              com.pulumi.core.Output<java.lang.String> id,
                                                              @Nullable
                                                              AuthenticatedOriginPullsCertificateState state,
                                                              @Nullable
                                                              com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.