These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.batch.getCertificate
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets information about the specified certificate. API Version: 2021-01-01.
Using getCertificate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCertificate(args: GetCertificateArgs, opts?: InvokeOptions): Promise<GetCertificateResult>
function getCertificateOutput(args: GetCertificateOutputArgs, opts?: InvokeOptions): Output<GetCertificateResult>
def get_certificate(account_name: Optional[str] = None,
certificate_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificateResult
def get_certificate_output(account_name: Optional[pulumi.Input[str]] = None,
certificate_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCertificateResult]
func LookupCertificate(ctx *Context, args *LookupCertificateArgs, opts ...InvokeOption) (*LookupCertificateResult, error)
func LookupCertificateOutput(ctx *Context, args *LookupCertificateOutputArgs, opts ...InvokeOption) LookupCertificateResultOutput
> Note: This function is named LookupCertificate
in the Go SDK.
public static class GetCertificate
{
public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetCertificateResult> Invoke(GetCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCertificateResult> getCertificate(GetCertificateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:batch:getCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the Batch account.
- Certificate
Name string - The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.
- Resource
Group stringName - The name of the resource group that contains the Batch account.
- Account
Name string - The name of the Batch account.
- Certificate
Name string - The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.
- Resource
Group stringName - The name of the resource group that contains the Batch account.
- account
Name String - The name of the Batch account.
- certificate
Name String - The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.
- resource
Group StringName - The name of the resource group that contains the Batch account.
- account
Name string - The name of the Batch account.
- certificate
Name string - The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.
- resource
Group stringName - The name of the resource group that contains the Batch account.
- account_
name str - The name of the Batch account.
- certificate_
name str - The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.
- resource_
group_ strname - The name of the resource group that contains the Batch account.
- account
Name String - The name of the Batch account.
- certificate
Name String - The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.
- resource
Group StringName - The name of the resource group that contains the Batch account.
getCertificate Result
The following output properties are available:
- Delete
Certificate Pulumi.Error Azure Native. Batch. Outputs. Delete Certificate Error Response - This is only returned when the certificate provisioningState is 'Failed'.
- Etag string
- The ETag of the resource, used for concurrency statements.
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Previous
Provisioning stringState - The previous provisioned state of the resource
- Previous
Provisioning stringState Transition Time - Provisioning
State string - Provisioning
State stringTransition Time - Public
Data string - The public key of the certificate.
- Type string
- The type of the resource.
- Format string
- The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
- Thumbprint string
- This must match the thumbprint from the name.
- Thumbprint
Algorithm string - This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- Delete
Certificate DeleteError Certificate Error Response - This is only returned when the certificate provisioningState is 'Failed'.
- Etag string
- The ETag of the resource, used for concurrency statements.
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Previous
Provisioning stringState - The previous provisioned state of the resource
- Previous
Provisioning stringState Transition Time - Provisioning
State string - Provisioning
State stringTransition Time - Public
Data string - The public key of the certificate.
- Type string
- The type of the resource.
- Format string
- The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
- Thumbprint string
- This must match the thumbprint from the name.
- Thumbprint
Algorithm string - This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- delete
Certificate DeleteError Certificate Error Response - This is only returned when the certificate provisioningState is 'Failed'.
- etag String
- The ETag of the resource, used for concurrency statements.
- id String
- The ID of the resource.
- name String
- The name of the resource.
- previous
Provisioning StringState - The previous provisioned state of the resource
- previous
Provisioning StringState Transition Time - provisioning
State String - provisioning
State StringTransition Time - public
Data String - The public key of the certificate.
- type String
- The type of the resource.
- format String
- The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
- thumbprint String
- This must match the thumbprint from the name.
- thumbprint
Algorithm String - This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- delete
Certificate DeleteError Certificate Error Response - This is only returned when the certificate provisioningState is 'Failed'.
- etag string
- The ETag of the resource, used for concurrency statements.
- id string
- The ID of the resource.
- name string
- The name of the resource.
- previous
Provisioning stringState - The previous provisioned state of the resource
- previous
Provisioning stringState Transition Time - provisioning
State string - provisioning
State stringTransition Time - public
Data string - The public key of the certificate.
- type string
- The type of the resource.
- format string
- The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
- thumbprint string
- This must match the thumbprint from the name.
- thumbprint
Algorithm string - This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- delete_
certificate_ Deleteerror Certificate Error Response - This is only returned when the certificate provisioningState is 'Failed'.
- etag str
- The ETag of the resource, used for concurrency statements.
- id str
- The ID of the resource.
- name str
- The name of the resource.
- previous_
provisioning_ strstate - The previous provisioned state of the resource
- previous_
provisioning_ strstate_ transition_ time - provisioning_
state str - provisioning_
state_ strtransition_ time - public_
data str - The public key of the certificate.
- type str
- The type of the resource.
- format str
- The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
- thumbprint str
- This must match the thumbprint from the name.
- thumbprint_
algorithm str - This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- delete
Certificate Property MapError - This is only returned when the certificate provisioningState is 'Failed'.
- etag String
- The ETag of the resource, used for concurrency statements.
- id String
- The ID of the resource.
- name String
- The name of the resource.
- previous
Provisioning StringState - The previous provisioned state of the resource
- previous
Provisioning StringState Transition Time - provisioning
State String - provisioning
State StringTransition Time - public
Data String - The public key of the certificate.
- type String
- The type of the resource.
- format String
- The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.
- thumbprint String
- This must match the thumbprint from the name.
- thumbprint
Algorithm String - This must match the first portion of the certificate name. Currently required to be 'SHA1'.
Supporting Types
DeleteCertificateErrorResponse
- Code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Message string
- A message describing the error, intended to be suitable for display in a user interface.
- Details
List<Pulumi.
Azure Native. Batch. Inputs. Delete Certificate Error Response> - A list of additional details about the error.
- Target string
- The target of the particular error. For example, the name of the property in error.
- Code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Message string
- A message describing the error, intended to be suitable for display in a user interface.
- Details
[]Delete
Certificate Error Response - A list of additional details about the error.
- Target string
- The target of the particular error. For example, the name of the property in error.
- code String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message String
- A message describing the error, intended to be suitable for display in a user interface.
- details
List<Delete
Certificate Error Response> - A list of additional details about the error.
- target String
- The target of the particular error. For example, the name of the property in error.
- code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message string
- A message describing the error, intended to be suitable for display in a user interface.
- details
Delete
Certificate Error Response[] - A list of additional details about the error.
- target string
- The target of the particular error. For example, the name of the property in error.
- code str
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message str
- A message describing the error, intended to be suitable for display in a user interface.
- details
Sequence[Delete
Certificate Error Response] - A list of additional details about the error.
- target str
- The target of the particular error. For example, the name of the property in error.
- code String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message String
- A message describing the error, intended to be suitable for display in a user interface.
- details List<Property Map>
- A list of additional details about the error.
- target String
- The target of the particular error. For example, the name of the property in error.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi