Class PublicKey


  • public class PublicKey
    extends com.pulumi.resources.CustomResource
    A Forgejo SSH public key for the authenticated user.
    • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      PublicKey​(java.lang.String name)  
      PublicKey​(java.lang.String name, PublicKeyArgs args)  
      PublicKey​(java.lang.String name, PublicKeyArgs args, com.pulumi.resources.CustomResourceOptions options)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> fingerprint()  
      static PublicKey get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, 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> key()  
      com.pulumi.core.Output<java.lang.Integer> keyId()  
      com.pulumi.core.Output<java.lang.String> keyType()  
      com.pulumi.core.Output<java.lang.String> owner()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> readOnly()  
      com.pulumi.core.Output<java.lang.String> title()  
      com.pulumi.core.Output<java.lang.String> url()  
      • 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

      • PublicKey

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

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

        public PublicKey​(java.lang.String name,
                         PublicKeyArgs 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

      • fingerprint

        public com.pulumi.core.Output<java.lang.String> fingerprint()
      • key

        public com.pulumi.core.Output<java.lang.String> key()
        Returns:
        OpenSSH public key material.
      • keyId

        public com.pulumi.core.Output<java.lang.Integer> keyId()
      • keyType

        public com.pulumi.core.Output<java.lang.String> keyType()
      • owner

        public com.pulumi.core.Output<java.lang.String> owner()
      • readOnly

        public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> readOnly()
        Returns:
        Whether the key has read-only access.
      • title

        public com.pulumi.core.Output<java.lang.String> title()
        Returns:
        Public key title.
      • url

        public com.pulumi.core.Output<java.lang.String> url()
      • get

        public static PublicKey get​(java.lang.String name,
                                    com.pulumi.core.Output<java.lang.String> id,
                                    @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.
        options - Optional settings to control the behavior of the CustomResource.