启用自定义域的 https 传递。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps?api-version=2024-02-01
URI 参数
名称 |
在 |
必需 |
类型 |
说明 |
customDomainName
|
path |
True
|
string
|
终结点中自定义域的名称。
|
endpointName
|
path |
True
|
string
|
配置文件下全局唯一的终结点的名称。
|
profileName
|
path |
True
|
string
|
资源组中唯一的 CDN 配置文件的名称。
|
resourceGroupName
|
path |
True
|
string
|
Azure 订阅中资源组的名称。
正则表达式模式: ^[-\w\._\(\)]+$
|
subscriptionId
|
path |
True
|
string
|
Azure 订阅 ID。
|
api-version
|
query |
True
|
string
|
要与客户端请求一起使用的 API 的版本。 当前版本为 2024-02-01。
|
请求正文
请求正文可以为下列任一内容:
CdnManagedHttpsParameters
使用 CDN 托管证书定义证书源参数,以启用 SSL。
UserManagedHttpsParameters
使用用户的 keyvault 证书来定义证书源参数,以启用 SSL。
响应
安全性
azure_auth
Azure Active Directory OAuth2 流。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 |
说明 |
user_impersonation
|
模拟用户帐户
|
示例
CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate
示例请求
POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customDomains/www-someDomain-net/enableCustomHttps?api-version=2024-02-01
/**
* Samples for CustomDomains EnableCustomHttps.
*/
public final class Main {
/*
* x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/
* CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
*/
/**
* Sample code: CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void
customDomainsEnableCustomHttpsUsingCDNManagedCertificate(com.azure.resourcemanager.AzureResourceManager azure) {
azure.cdnProfiles().manager().serviceClient().getCustomDomains().enableCustomHttps("RG", "profile1",
"endpoint1", "www-someDomain-net", null, com.azure.core.util.Context.NONE);
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.cdn import CdnManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-cdn
# USAGE
python custom_domains_enable_custom_https_using_cdn_managed_certificate.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = CdnManagementClient(
credential=DefaultAzureCredential(),
subscription_id="subid",
)
response = client.custom_domains.begin_enable_custom_https(
resource_group_name="RG",
profile_name="profile1",
endpoint_name="endpoint1",
custom_domain_name="www-someDomain-net",
).result()
print(response)
# x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armcdn_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cdn/armcdn/v2"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/92de53a5f1e0e03c94b40475d2135d97148ed014/specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
func ExampleCustomDomainsClient_BeginEnableCustomHTTPS_customDomainsEnableCustomHttpsUsingCdnManagedCertificate() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armcdn.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewCustomDomainsClient().BeginEnableCustomHTTPS(ctx, "RG", "profile1", "endpoint1", "www-someDomain-net", &armcdn.CustomDomainsClientBeginEnableCustomHTTPSOptions{CustomDomainHTTPSParameters: nil})
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
res, err := poller.PollUntilDone(ctx, nil)
if err != nil {
log.Fatalf("failed to pull the result: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CustomDomain = armcdn.CustomDomain{
// Name: to.Ptr("www-someDomain-net"),
// Type: to.Ptr("Microsoft.Cdn/profiles/endpoints/customdomains"),
// ID: to.Ptr("/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net"),
// Properties: &armcdn.CustomDomainProperties{
// CustomHTTPSProvisioningState: to.Ptr(armcdn.CustomHTTPSProvisioningStateEnabled),
// CustomHTTPSProvisioningSubstate: to.Ptr(armcdn.CustomHTTPSProvisioningSubstateCertificateDeployed),
// HostName: to.Ptr("www.someDomain.net"),
// ProvisioningState: to.Ptr(armcdn.CustomHTTPSProvisioningState("Succeeded")),
// ResourceState: to.Ptr(armcdn.CustomDomainResourceStateActive),
// ValidationData: to.Ptr("validationdata"),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { CdnManagementClient } = require("@azure/arm-cdn");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Enable https delivery of the custom domain.
*
* @summary Enable https delivery of the custom domain.
* x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
*/
async function customDomainsEnableCustomHttpsUsingCdnManagedCertificate() {
const subscriptionId = process.env["CDN_SUBSCRIPTION_ID"] || "subid";
const resourceGroupName = process.env["CDN_RESOURCE_GROUP"] || "RG";
const profileName = "profile1";
const endpointName = "endpoint1";
const customDomainName = "www-someDomain-net";
const credential = new DefaultAzureCredential();
const client = new CdnManagementClient(credential, subscriptionId);
const result = await client.customDomains.beginEnableCustomHttpsAndWait(
resourceGroupName,
profileName,
endpointName,
customDomainName,
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
using Azure;
using Azure.ResourceManager;
using System;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Identity;
using Azure.ResourceManager.Cdn.Models;
using Azure.ResourceManager.Cdn;
// Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
// this example is just showing the usage of "CdnCustomDomains_EnableCustomHttps" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this CdnCustomDomainResource created on azure
// for more information of creating CdnCustomDomainResource, please refer to the document of CdnCustomDomainResource
string subscriptionId = "subid";
string resourceGroupName = "RG";
string profileName = "profile1";
string endpointName = "endpoint1";
string customDomainName = "www-someDomain-net";
ResourceIdentifier cdnCustomDomainResourceId = CdnCustomDomainResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, profileName, endpointName, customDomainName);
CdnCustomDomainResource cdnCustomDomain = client.GetCdnCustomDomainResource(cdnCustomDomainResourceId);
// invoke the operation
ArmOperation<CdnCustomDomainResource> lro = await cdnCustomDomain.EnableCustomHttpsAsync(WaitUntil.Completed);
CdnCustomDomainResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
CdnCustomDomainData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
示例响应
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"validationData": "validationdata"
}
}
azure-asyncoperation: https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-02-01
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": "validationdata"
}
}
CustomDomains_EnableCustomHttpsUsingYourOwnCertificate
示例请求
POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customDomains/www-someDomain-net/enableCustomHttps?api-version=2024-02-01
/**
* Samples for CustomDomains EnableCustomHttps.
*/
public final class Main {
/*
* x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/
* CustomDomains_EnableCustomHttpsUsingBYOC.json
*/
/**
* Sample code: CustomDomains_EnableCustomHttpsUsingYourOwnCertificate.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void
customDomainsEnableCustomHttpsUsingYourOwnCertificate(com.azure.resourcemanager.AzureResourceManager azure) {
azure.cdnProfiles().manager().serviceClient().getCustomDomains().enableCustomHttps("RG", "profile1",
"endpoint1", "www-someDomain-net", null, com.azure.core.util.Context.NONE);
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.cdn import CdnManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-cdn
# USAGE
python custom_domains_enable_custom_https_using_byoc.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = CdnManagementClient(
credential=DefaultAzureCredential(),
subscription_id="subid",
)
response = client.custom_domains.begin_enable_custom_https(
resource_group_name="RG",
profile_name="profile1",
endpoint_name="endpoint1",
custom_domain_name="www-someDomain-net",
).result()
print(response)
# x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armcdn_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cdn/armcdn/v2"
)
// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/92de53a5f1e0e03c94b40475d2135d97148ed014/specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
func ExampleCustomDomainsClient_BeginEnableCustomHTTPS_customDomainsEnableCustomHttpsUsingYourOwnCertificate() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armcdn.NewClientFactory("<subscription-id>", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewCustomDomainsClient().BeginEnableCustomHTTPS(ctx, "RG", "profile1", "endpoint1", "www-someDomain-net", &armcdn.CustomDomainsClientBeginEnableCustomHTTPSOptions{CustomDomainHTTPSParameters: nil})
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
res, err := poller.PollUntilDone(ctx, nil)
if err != nil {
log.Fatalf("failed to pull the result: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res.CustomDomain = armcdn.CustomDomain{
// Name: to.Ptr("www-someDomain-net"),
// Type: to.Ptr("Microsoft.Cdn/profiles/endpoints/customdomains"),
// ID: to.Ptr("/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net"),
// Properties: &armcdn.CustomDomainProperties{
// CustomHTTPSProvisioningState: to.Ptr(armcdn.CustomHTTPSProvisioningStateEnabled),
// CustomHTTPSProvisioningSubstate: to.Ptr(armcdn.CustomHTTPSProvisioningSubstateCertificateDeployed),
// HostName: to.Ptr("www.someDomain.net"),
// ProvisioningState: to.Ptr(armcdn.CustomHTTPSProvisioningState("Succeeded")),
// ResourceState: to.Ptr(armcdn.CustomDomainResourceStateActive),
// ValidationData: to.Ptr("validationdata"),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { CdnManagementClient } = require("@azure/arm-cdn");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to Enable https delivery of the custom domain.
*
* @summary Enable https delivery of the custom domain.
* x-ms-original-file: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
*/
async function customDomainsEnableCustomHttpsUsingYourOwnCertificate() {
const subscriptionId = process.env["CDN_SUBSCRIPTION_ID"] || "subid";
const resourceGroupName = process.env["CDN_RESOURCE_GROUP"] || "RG";
const profileName = "profile1";
const endpointName = "endpoint1";
const customDomainName = "www-someDomain-net";
const credential = new DefaultAzureCredential();
const client = new CdnManagementClient(credential, subscriptionId);
const result = await client.customDomains.beginEnableCustomHttpsAndWait(
resourceGroupName,
profileName,
endpointName,
customDomainName,
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
using Azure;
using Azure.ResourceManager;
using System;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Identity;
using Azure.ResourceManager.Cdn.Models;
using Azure.ResourceManager.Cdn;
// Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
// this example is just showing the usage of "CdnCustomDomains_EnableCustomHttps" operation, for the dependent resources, they will have to be created separately.
// get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
TokenCredential cred = new DefaultAzureCredential();
// authenticate your client
ArmClient client = new ArmClient(cred);
// this example assumes you already have this CdnCustomDomainResource created on azure
// for more information of creating CdnCustomDomainResource, please refer to the document of CdnCustomDomainResource
string subscriptionId = "subid";
string resourceGroupName = "RG";
string profileName = "profile1";
string endpointName = "endpoint1";
string customDomainName = "www-someDomain-net";
ResourceIdentifier cdnCustomDomainResourceId = CdnCustomDomainResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, profileName, endpointName, customDomainName);
CdnCustomDomainResource cdnCustomDomain = client.GetCdnCustomDomainResource(cdnCustomDomainResourceId);
// invoke the operation
ArmOperation<CdnCustomDomainResource> lro = await cdnCustomDomain.EnableCustomHttpsAsync(WaitUntil.Completed);
CdnCustomDomainResource result = lro.Value;
// the variable result is a resource, you could call other operations on this instance as well
// but just for demo, we get its data from this resource instance
CdnCustomDomainData resourceData = result.Data;
// for demo we just print out the id
Console.WriteLine($"Succeeded on id: {resourceData.Id}");
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
示例响应
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabled",
"customHttpsProvisioningSubstate": "CertificateDeployed",
"validationData": "validationdata"
}
}
azure-asyncoperation: https://management.azure.com/subscriptions/subid/resourcegroups/resourceGroupName/providers/Microsoft.Cdn/operationresults/operationId?api-version=2024-02-01
{
"name": "www-someDomain-net",
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
"hostName": "www.someDomain.net",
"customHttpsProvisioningState": "Enabling",
"customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
"validationData": "validationdata"
}
}
定义
CdnCertificateSourceParameters
定义使用 CDN 托管证书保护自定义域的参数。
CdnManagedHttpsParameters
使用 CDN 托管证书定义证书源参数,以启用 SSL。
CertificateType
使用的证书类型
名称 |
类型 |
说明 |
Dedicated
|
string
|
|
Shared
|
string
|
|
CustomDomain
友好域名映射到客户提供的终结点主机名,用于品牌打造,例如 www.contoso.com。
名称 |
类型 |
说明 |
id
|
string
|
资源 ID。
|
name
|
string
|
资源名称。
|
properties.customHttpsParameters
|
CustomDomainHttpsParameters:
|
用于保护自定义 HTTPS 的证书参数
|
properties.customHttpsProvisioningState
|
CustomHttpsProvisioningState
|
自定义域的预配状态。
|
properties.customHttpsProvisioningSubstate
|
CustomHttpsProvisioningSubstate
|
预配子状态显示逐步启用/禁用自定义 HTTPS 过程的进度。
|
properties.hostName
|
string
|
自定义域的主机名。 必须是域名。
|
properties.provisioningState
|
CustomHttpsProvisioningState
|
自定义域的自定义 Https 的预配状态。
|
properties.resourceState
|
CustomDomainResourceState
|
自定义域的资源状态。
|
properties.validationData
|
string
|
由于本地合规性原因,将 CDN 传送到某些区域时,可能需要特殊验证或数据。 例如,在中国交付内容需要自定义域的 ICP 许可证编号。
|
systemData
|
SystemData
|
只读系统数据
|
type
|
string
|
资源类型。
|
CustomDomainResourceState
自定义域的资源状态。
名称 |
类型 |
说明 |
Active
|
string
|
|
Creating
|
string
|
|
Deleting
|
string
|
|
CustomHttpsProvisioningState
自定义域的预配状态。
名称 |
类型 |
说明 |
Disabled
|
string
|
|
Disabling
|
string
|
|
Enabled
|
string
|
|
Enabling
|
string
|
|
Failed
|
string
|
|
CustomHttpsProvisioningSubstate
预配子状态显示逐步启用/禁用自定义 HTTPS 过程的进度。
名称 |
类型 |
说明 |
CertificateDeleted
|
string
|
|
CertificateDeployed
|
string
|
|
DeletingCertificate
|
string
|
|
DeployingCertificate
|
string
|
|
DomainControlValidationRequestApproved
|
string
|
|
DomainControlValidationRequestRejected
|
string
|
|
DomainControlValidationRequestTimedOut
|
string
|
|
IssuingCertificate
|
string
|
|
PendingDomainControlValidationREquestApproval
|
string
|
|
SubmittingDomainControlValidationRequest
|
string
|
|
DeleteRule
描述从密钥保管库中删除证书时应执行的操作。
ErrorAdditionalInfo
资源管理错误附加信息。
名称 |
类型 |
说明 |
info
|
object
|
其他信息。
|
type
|
string
|
其他信息类型。
|
ErrorDetail
错误详细信息。
ErrorResponse
错误响应
IdentityType
创建/修改资源的标识类型
名称 |
类型 |
说明 |
application
|
string
|
|
key
|
string
|
|
managedIdentity
|
string
|
|
user
|
string
|
|
KeyVaultCertificateSourceParameters
介绍使用用户的 KeyVault 证书保护自定义域的参数。
名称 |
类型 |
说明 |
deleteRule
|
DeleteRule
|
描述从密钥保管库中删除证书时应执行的操作。
|
resourceGroupName
|
string
|
包含 SSL 证书的用户密钥保管库的资源组
|
secretName
|
string
|
密钥保管库 机密 (的名称,表示 密钥保管库 中的完整证书 PFX) 。
|
secretVersion
|
string
|
密钥保管库 中密钥保管库机密的版本 (GUID) 。
|
subscriptionId
|
string
|
包含 SSL 证书的用户密钥保管库的订阅 ID
|
typeName
|
string:
KeyVaultCertificateSourceParameters
|
|
updateRule
|
UpdateRule
|
描述在 密钥保管库 中更新证书时应执行的操作。
|
vaultName
|
string
|
包含 SSL 证书的用户密钥保管库的名称
|
MinimumTlsVersion
将用于 Https 的 TLS 协议版本
名称 |
类型 |
说明 |
None
|
string
|
|
TLS10
|
string
|
|
TLS12
|
string
|
|
ProtocolType
定义用于安全传递的 TLS 扩展协议。
名称 |
类型 |
说明 |
IPBased
|
string
|
|
ServerNameIndication
|
string
|
|
SystemData
只读系统数据
名称 |
类型 |
说明 |
createdAt
|
string
|
资源创建时间戳 (UTC)
|
createdBy
|
string
|
创建资源的标识的标识符
|
createdByType
|
IdentityType
|
创建资源的标识类型
|
lastModifiedAt
|
string
|
资源上次修改的时间戳 (UTC)
|
lastModifiedBy
|
string
|
上次修改资源的标识的标识符
|
lastModifiedByType
|
IdentityType
|
上次修改资源的标识类型
|
UpdateRule
描述在 密钥保管库 中更新证书时应执行的操作。
UserManagedHttpsParameters
使用用户的 keyvault 证书来定义证书源参数,以启用 SSL。