Class DeployKey


  • public class DeployKey
    extends com.pulumi.resources.CustomResource
    A Forgejo deploy key for a repository.
    • 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
      DeployKey​(java.lang.String name)  
      DeployKey​(java.lang.String name, DeployKeyArgs args)  
      DeployKey​(java.lang.String name, DeployKeyArgs 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 DeployKey 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> owner()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> readOnly()  
      com.pulumi.core.Output<java.lang.String> repository()  
      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

      • DeployKey

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

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

        public DeployKey​(java.lang.String name,
                         DeployKeyArgs 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()
      • owner

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

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

        public com.pulumi.core.Output<java.lang.String> repository()
        Returns:
        Repository name.
      • title

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

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

        public static DeployKey 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.