DnsSecurityRules interface
表示 DnsSecurityRules 的介面。
方法
| begin |
建立或更新 DNS 解析程序原則的 DNS 安全性規則。 |
| begin |
建立或更新 DNS 解析程序原則的 DNS 安全性規則。 |
| begin |
刪除 DNS 解析程式原則的 DNS 安全性規則。 警告:無法復原此作業。 |
| begin |
刪除 DNS 解析程式原則的 DNS 安全性規則。 警告:無法復原此作業。 |
| begin |
更新 DNS 安全性規則。 |
| begin |
更新 DNS 安全性規則。 |
| get(string, string, string, Dns |
取得 DNS 解析程式原則之 DNS 安全性規則的屬性。 |
| list(string, string, Dns |
列出 DNS 解析程式策略的 DNS 安全規則。 |
方法詳細資料
beginCreateOrUpdate(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)
建立或更新 DNS 解析程序原則的 DNS 安全性規則。
function beginCreateOrUpdate(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRule, options?: DnsSecurityRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
- parameters
- DnsSecurityRule
提供給 CreateOrUpdate 作業的參數。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
beginCreateOrUpdateAndWait(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)
建立或更新 DNS 解析程序原則的 DNS 安全性規則。
function beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRule, options?: DnsSecurityRulesCreateOrUpdateOptionalParams): Promise<DnsSecurityRule>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
- parameters
- DnsSecurityRule
提供給 CreateOrUpdate 作業的參數。
選項參數。
傳回
Promise<DnsSecurityRule>
beginDelete(string, string, string, DnsSecurityRulesDeleteOptionalParams)
刪除 DNS 解析程式原則的 DNS 安全性規則。 警告:無法復原此作業。
function beginDelete(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRulesDeleteHeaders>, DnsSecurityRulesDeleteHeaders>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRulesDeleteHeaders>, DnsSecurityRulesDeleteHeaders>>
beginDeleteAndWait(string, string, string, DnsSecurityRulesDeleteOptionalParams)
刪除 DNS 解析程式原則的 DNS 安全性規則。 警告:無法復原此作業。
function beginDeleteAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesDeleteOptionalParams): Promise<DnsSecurityRulesDeleteHeaders>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
選項參數。
傳回
Promise<DnsSecurityRulesDeleteHeaders>
beginUpdate(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)
更新 DNS 安全性規則。
function beginUpdate(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRulePatch, options?: DnsSecurityRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
- parameters
- DnsSecurityRulePatch
提供給更新作業的參數。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
beginUpdateAndWait(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)
更新 DNS 安全性規則。
function beginUpdateAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRulePatch, options?: DnsSecurityRulesUpdateOptionalParams): Promise<DnsSecurityRule>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
- parameters
- DnsSecurityRulePatch
提供給更新作業的參數。
選項參數。
傳回
Promise<DnsSecurityRule>
get(string, string, string, DnsSecurityRulesGetOptionalParams)
取得 DNS 解析程式原則之 DNS 安全性規則的屬性。
function get(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesGetOptionalParams): Promise<DnsSecurityRule>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
- dnsSecurityRuleName
-
string
DNS 安全性規則的名稱。
選項參數。
傳回
Promise<DnsSecurityRule>
list(string, string, DnsSecurityRulesListOptionalParams)
列出 DNS 解析程式策略的 DNS 安全規則。
function list(resourceGroupName: string, dnsResolverPolicyName: string, options?: DnsSecurityRulesListOptionalParams): PagedAsyncIterableIterator<DnsSecurityRule, DnsSecurityRule[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- dnsResolverPolicyName
-
string
DNS 解析程式原則的名稱。
選項參數。