HostnameConfiguration interface
自定義主機名組態。
屬性
certificate | 憑證資訊。 |
certificate |
憑證密碼。 |
certificate |
憑證來源。 |
certificate |
憑證狀態。 |
default |
指定 true,將與此主機名相關聯的憑證設定為預設 SSL 憑證。 如果用戶端未傳送 SNI 標頭,則這會是將會受到挑戰的憑證。 如果服務已啟用多個自定義主機名,且必須決定預設ssl憑證,則屬性會很有用。 僅套用至閘道主機名稱類型的設定。 |
encoded |
Base64 編碼憑證。 |
host |
在 Api 管理服務上設定的主機名。 |
identity |
Azure AD 所產生的系統或使用者指派受控識別 clientId,其具有包含 SSL 憑證之 keyVault 的 GET 存取權。 |
key |
包含 Ssl 憑證之 KeyVault 秘密的 URL。 如果提供包含版本的絕對 URL,SSL 憑證的自動更新將無法運作。 這需要使用 aka.ms/apimmsi 來設定 Api 管理服務。 秘密的類型應 為 application/x-pkcs12 |
negotiate |
指定 true 以一律交涉主機名上的客戶端憑證。 默認值為 false。 |
type | 主機名類型。 |
屬性詳細資料
certificate
certificatePassword
憑證密碼。
certificatePassword?: string
屬性值
string
certificateSource
憑證來源。
certificateSource?: string
屬性值
string
certificateStatus
憑證狀態。
certificateStatus?: string
屬性值
string
defaultSslBinding
指定 true,將與此主機名相關聯的憑證設定為預設 SSL 憑證。 如果用戶端未傳送 SNI 標頭,則這會是將會受到挑戰的憑證。 如果服務已啟用多個自定義主機名,且必須決定預設ssl憑證,則屬性會很有用。 僅套用至閘道主機名稱類型的設定。
defaultSslBinding?: boolean
屬性值
boolean
encodedCertificate
Base64 編碼憑證。
encodedCertificate?: string
屬性值
string
hostName
在 Api 管理服務上設定的主機名。
hostName: string
屬性值
string
identityClientId
Azure AD 所產生的系統或使用者指派受控識別 clientId,其具有包含 SSL 憑證之 keyVault 的 GET 存取權。
identityClientId?: string
屬性值
string
keyVaultId
包含 Ssl 憑證之 KeyVault 秘密的 URL。 如果提供包含版本的絕對 URL,SSL 憑證的自動更新將無法運作。 這需要使用 aka.ms/apimmsi 來設定 Api 管理服務。 秘密的類型應 為 application/x-pkcs12
keyVaultId?: string
屬性值
string
negotiateClientCertificate
指定 true 以一律交涉主機名上的客戶端憑證。 默認值為 false。
negotiateClientCertificate?: boolean
屬性值
boolean
type
主機名類型。
type: string
屬性值
string