Azure Classic v5.43.0, May 6 23
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:
- Custom
Certificate stringId The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- Web
Pubsub stringId 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 stringId The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- Web
Pubsub stringId 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 StringId The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- web
Pubsub StringId 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 stringId The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- web
Pubsub stringId 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_ strid The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- web_
pubsub_ strid 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.
- custom
Certificate StringId The certificate id of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- web
Pubsub StringId 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:
- Certificate
Version string The certificate version of the Web Pubsub Custom Certificate.
- Id string
The provider-assigned unique ID for this managed resource.
- Certificate
Version string The certificate version of the Web Pubsub Custom Certificate.
- Id string
The provider-assigned unique ID for this managed resource.
- certificate
Version String The certificate version of the Web Pubsub Custom Certificate.
- id String
The provider-assigned unique ID for this managed resource.
- certificate
Version 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.
- certificate
Version 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.
- Certificate
Version string The certificate version of the Web Pubsub Custom Certificate.
- Custom
Certificate stringId 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.
- Web
Pubsub stringId The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- Certificate
Version string The certificate version of the Web Pubsub Custom Certificate.
- Custom
Certificate stringId 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.
- Web
Pubsub stringId The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- certificate
Version String The certificate version of the Web Pubsub Custom Certificate.
- custom
Certificate StringId 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.
- web
Pubsub StringId The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- certificate
Version string The certificate version of the Web Pubsub Custom Certificate.
- custom
Certificate stringId 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.
- web
Pubsub stringId 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_ strid 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_ strid The Web Pubsub ID of the Web Pubsub Custom Certificate. Changing this forces a new resource to be created.
- certificate
Version String The certificate version of the Web Pubsub Custom Certificate.
- custom
Certificate StringId 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.
- web
Pubsub StringId 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.