azure logo
Azure Classic v5.43.0, May 6 23

azure.webpubsub.CustomCertificate

Explore with Pulumi AI

Manages an Azure Web Pubsub Custom Certificate.

Create CustomCertificate Resource

new CustomCertificate(name: string, args: CustomCertificateArgs, opts?: CustomResourceOptions);
@overload
def CustomCertificate(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      custom_certificate_id: Optional[str] = None,
                      name: Optional[str] = None,
                      web_pubsub_id: Optional[str] = None)
@overload
def CustomCertificate(resource_name: str,
                      args: CustomCertificateArgs,
                      opts: Optional[ResourceOptions] = None)
func NewCustomCertificate(ctx *Context, name string, args CustomCertificateArgs, opts ...ResourceOption) (*CustomCertificate, error)
public CustomCertificate(string name, CustomCertificateArgs args, CustomResourceOptions? opts = null)
public CustomCertificate(String name, CustomCertificateArgs args)
public CustomCertificate(String name, CustomCertificateArgs args, CustomResourceOptions options)
type: azure:webpubsub:CustomCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CustomCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CustomCertificateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CustomCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CustomCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CustomCertificateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CustomCertificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CustomCertificate resource accepts the following input properties:

CustomCertificateId string

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

WebPubsubId string

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

Name string

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

CustomCertificateId string

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

WebPubsubId string

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

Name string

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

customCertificateId String

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

webPubsubId String

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name String

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

customCertificateId string

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

webPubsubId string

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name string

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

custom_certificate_id str

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

web_pubsub_id str

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name str

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

customCertificateId String

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

webPubsubId String

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name String

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the CustomCertificate resource produces the following output properties:

CertificateVersion string

The certificate version of the Web Pubsub Custom Certificate.

Id string

The provider-assigned unique ID for this managed resource.

CertificateVersion string

The certificate version of the Web Pubsub Custom Certificate.

Id string

The provider-assigned unique ID for this managed resource.

certificateVersion String

The certificate version of the Web Pubsub Custom Certificate.

id String

The provider-assigned unique ID for this managed resource.

certificateVersion string

The certificate version of the Web Pubsub Custom Certificate.

id string

The provider-assigned unique ID for this managed resource.

certificate_version str

The certificate version of the Web Pubsub Custom Certificate.

id str

The provider-assigned unique ID for this managed resource.

certificateVersion String

The certificate version of the Web Pubsub Custom Certificate.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing CustomCertificate Resource

Get an existing CustomCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CustomCertificateState, opts?: CustomResourceOptions): CustomCertificate
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        certificate_version: Optional[str] = None,
        custom_certificate_id: Optional[str] = None,
        name: Optional[str] = None,
        web_pubsub_id: Optional[str] = None) -> CustomCertificate
func GetCustomCertificate(ctx *Context, name string, id IDInput, state *CustomCertificateState, opts ...ResourceOption) (*CustomCertificate, error)
public static CustomCertificate Get(string name, Input<string> id, CustomCertificateState? state, CustomResourceOptions? opts = null)
public static CustomCertificate get(String name, Output<String> id, CustomCertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CertificateVersion string

The certificate version of the Web Pubsub Custom Certificate.

CustomCertificateId string

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

Name string

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

WebPubsubId string

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

CertificateVersion string

The certificate version of the Web Pubsub Custom Certificate.

CustomCertificateId string

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

Name string

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

WebPubsubId string

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

certificateVersion String

The certificate version of the Web Pubsub Custom Certificate.

customCertificateId String

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name String

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

webPubsubId String

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

certificateVersion string

The certificate version of the Web Pubsub Custom Certificate.

customCertificateId string

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name string

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

webPubsubId string

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

certificate_version str

The certificate version of the Web Pubsub Custom Certificate.

custom_certificate_id str

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name str

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

web_pubsub_id str

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

certificateVersion String

The certificate version of the Web Pubsub Custom Certificate.

customCertificateId String

The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

name String

The name of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

webPubsubId String

The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.

Import

Custom Certificate for a Web Pubsub service can be imported using the resource id, e.g.

 $ pulumi import azure:webpubsub/customCertificate:CustomCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/WebPubsub1/customCertificates/cert1

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.