啟用自訂網域的 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 參數
名稱 |
位於 |
必要 |
類型 |
Description |
customDomainName
|
path |
True
|
string
|
端點內自定義網域的名稱。
|
endpointName
|
path |
True
|
string
|
配置檔下唯一的端點名稱。
|
profileName
|
path |
True
|
string
|
資源群組內唯一的CDN配置檔名稱。
|
resourceGroupName
|
path |
True
|
string
|
Azure 訂用帳戶內的資源組名。
Regex 模式: ^[-\w\._\(\)]+$
|
subscriptionId
|
path |
True
|
string
|
Azure 訂用帳戶識別碼。
|
api-version
|
query |
True
|
string
|
要與用戶端要求搭配使用的 API 版本。 目前的版本是 2024-02-01。
|
要求本文
要求主體可以是下列其中一項:
CdnManagedHttpsParameters
使用 CDN 受控憑證來啟用 SSL,定義憑證來源參數。
UserManagedHttpsParameters
使用使用者的 Keyvault 憑證來啟用 SSL,定義憑證來源參數。
回應
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 |
Description |
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
使用的憑證類型
名稱 |
類型 |
Description |
Dedicated
|
string
|
|
Shared
|
string
|
|
CustomDomain
易記功能變數名稱對應至客戶針對商標用途提供的端點主機名,例如 www.contoso.com。
名稱 |
類型 |
Description |
id
|
string
|
資源識別碼。
|
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傳遞給某些區域時,可能需要特殊驗證或數據。 例如,必須有自定義網域的授權號碼,才能在中國傳遞內容。
|
systemData
|
SystemData
|
唯讀系統數據
|
type
|
string
|
資源類型。
|
CustomDomainResourceState
自訂網域的資源狀態。
名稱 |
類型 |
Description |
Active
|
string
|
|
Creating
|
string
|
|
Deleting
|
string
|
|
CustomHttpsProvisioningState
自訂網域的布建狀態。
名稱 |
類型 |
Description |
Disabled
|
string
|
|
Disabling
|
string
|
|
Enabled
|
string
|
|
Enabling
|
string
|
|
Failed
|
string
|
|
CustomHttpsProvisioningSubstate
布建子文件會顯示自定義 HTTPS 的逐步啟用/停用程序進度。
名稱 |
類型 |
Description |
CertificateDeleted
|
string
|
|
CertificateDeployed
|
string
|
|
DeletingCertificate
|
string
|
|
DeployingCertificate
|
string
|
|
DomainControlValidationRequestApproved
|
string
|
|
DomainControlValidationRequestRejected
|
string
|
|
DomainControlValidationRequestTimedOut
|
string
|
|
IssuingCertificate
|
string
|
|
PendingDomainControlValidationREquestApproval
|
string
|
|
SubmittingDomainControlValidationRequest
|
string
|
|
DeleteRule
描述從 金鑰保存庫 移除憑證時應採取的動作。
名稱 |
類型 |
Description |
NoAction
|
string
|
|
ErrorAdditionalInfo
資源管理錯誤其他資訊。
名稱 |
類型 |
Description |
info
|
object
|
其他資訊。
|
type
|
string
|
其他信息類型。
|
ErrorDetail
錯誤詳細數據。
名稱 |
類型 |
Description |
additionalInfo
|
ErrorAdditionalInfo[]
|
錯誤其他資訊。
|
code
|
string
|
錯誤碼。
|
details
|
ErrorDetail[]
|
錯誤詳細資料。
|
message
|
string
|
錯誤訊息。
|
target
|
string
|
錯誤目標。
|
ErrorResponse
錯誤回應
IdentityType
建立/修改資源的身分識別類型
名稱 |
類型 |
Description |
application
|
string
|
|
key
|
string
|
|
managedIdentity
|
string
|
|
user
|
string
|
|
KeyVaultCertificateSourceParameters
描述使用使用者的 KeyVault 憑證來保護自訂網域的參數。
名稱 |
類型 |
Description |
deleteRule
|
DeleteRule
|
描述從 金鑰保存庫 移除憑證時應採取的動作。
|
resourceGroupName
|
string
|
包含 SSL 憑證之使用者 金鑰保存庫 的資源群組
|
secretName
|
string
|
金鑰保存庫 Secret (的名稱,代表 金鑰保存庫 中的完整憑證 PFX) 。
|
secretVersion
|
string
|
金鑰保存庫 中 金鑰保存庫 秘密的版本 (GUID) 。
|
subscriptionId
|
string
|
包含 SSL 憑證之使用者 金鑰保存庫 的訂用帳戶標識碼
|
typeName
|
string:
KeyVaultCertificateSourceParameters
|
|
updateRule
|
UpdateRule
|
描述在 金鑰保存庫 中更新憑證時應採取的動作。
|
vaultName
|
string
|
包含 SSL 憑證的使用者 金鑰保存庫 名稱
|
MinimumTlsVersion
將用於 Https 的 TLS 通訊協定版本
名稱 |
類型 |
Description |
None
|
string
|
|
TLS10
|
string
|
|
TLS12
|
string
|
|
ProtocolType
定義用於安全傳遞的 TLS 延伸模組通訊協定。
名稱 |
類型 |
Description |
IPBased
|
string
|
|
ServerNameIndication
|
string
|
|
SystemData
唯讀系統數據
名稱 |
類型 |
Description |
createdAt
|
string
|
資源建立的時間戳 (UTC)
|
createdBy
|
string
|
建立資源的身分識別標識碼
|
createdByType
|
IdentityType
|
建立資源的身分識別類型
|
lastModifiedAt
|
string
|
上次修改的資源時間戳 (UTC)
|
lastModifiedBy
|
string
|
上次修改資源的身分識別標識碼
|
lastModifiedByType
|
IdentityType
|
上次修改資源的身分識別類型
|
UpdateRule
描述在 金鑰保存庫 中更新憑證時應採取的動作。
名稱 |
類型 |
Description |
NoAction
|
string
|
|
UserManagedHttpsParameters
使用使用者的 Keyvault 憑證來啟用 SSL,定義憑證來源參數。