NetworkManagementClient class
- Extends
建構函式
屬性
繼承的屬性
pipeline | 此客戶端用來提出要求的管線 |
方法
繼承的方法
send |
傳送使用提供的 OperationSpec 填入的 HTTP 要求。 |
send |
傳送提供的 HTTPRequest。 |
建構函式詳細資料
NetworkManagementClient(TokenCredential, NetworkManagementClientOptionalParams)
new NetworkManagementClient(credentials: TokenCredential, options?: NetworkManagementClientOptionalParams)
參數
- credentials
- TokenCredential
NetworkManagementClient(TokenCredential, string, NetworkManagementClientOptionalParams)
初始化 NetworkManagementClient 類別的新實例。
new NetworkManagementClient(credentials: TokenCredential, subscriptionId: string, options?: NetworkManagementClientOptionalParams)
參數
- credentials
- TokenCredential
可唯一識別用戶端訂用帳戶的訂用帳戶認證。
- subscriptionId
-
string
可唯一識別Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶標識碼會形成每個服務呼叫 URI 的一部分。
參數選項
屬性詳細資料
$host
$host: string
屬性值
string
adminRuleCollections
adminRules
applicationGatewayPrivateEndpointConnections
applicationGatewayPrivateEndpointConnections: ApplicationGatewayPrivateEndpointConnections
屬性值
applicationGatewayPrivateLinkResources
applicationGatewayPrivateLinkResources: ApplicationGatewayPrivateLinkResources
屬性值
applicationGateways
applicationGatewayWafDynamicManifests
applicationGatewayWafDynamicManifests: ApplicationGatewayWafDynamicManifests
屬性值
applicationGatewayWafDynamicManifestsDefault
applicationGatewayWafDynamicManifestsDefault: ApplicationGatewayWafDynamicManifestsDefault
屬性值
applicationSecurityGroups
availableDelegations
availableEndpointServices
availablePrivateEndpointTypes
availableResourceGroupDelegations
availableResourceGroupDelegations: AvailableResourceGroupDelegations
屬性值
availableServiceAliases
azureFirewallFqdnTags
azureFirewalls
bastionHosts
bgpServiceCommunities
configurationPolicyGroups
connectionMonitors
connectivityConfigurations
customIPPrefixes
ddosCustomPolicies
ddosProtectionPlans
defaultSecurityRules
dscpConfigurationOperations
expressRouteCircuitAuthorizations
expressRouteCircuitAuthorizations: ExpressRouteCircuitAuthorizations
屬性值
expressRouteCircuitConnections
expressRouteCircuitPeerings
expressRouteCircuits
expressRouteConnections
expressRouteCrossConnectionPeerings
expressRouteCrossConnectionPeerings: ExpressRouteCrossConnectionPeerings
屬性值
expressRouteCrossConnections
expressRouteGateways
expressRouteLinks
expressRoutePortAuthorizations
expressRoutePorts
expressRoutePortsLocations
expressRouteProviderPortsLocation
expressRouteProviderPortsLocation: ExpressRouteProviderPortsLocation
屬性值
expressRouteServiceProviders
firewallPolicies
firewallPolicyDeployments
firewallPolicyDrafts
firewallPolicyIdpsSignatures
firewallPolicyIdpsSignaturesFilterValues
firewallPolicyIdpsSignaturesFilterValues: FirewallPolicyIdpsSignaturesFilterValues
屬性值
firewallPolicyIdpsSignaturesOverrides
firewallPolicyIdpsSignaturesOverrides: FirewallPolicyIdpsSignaturesOverrides
屬性值
firewallPolicyRuleCollectionGroupDrafts
firewallPolicyRuleCollectionGroupDrafts: FirewallPolicyRuleCollectionGroupDrafts
屬性值
firewallPolicyRuleCollectionGroups
firewallPolicyRuleCollectionGroups: FirewallPolicyRuleCollectionGroups
屬性值
flowLogs
hubRouteTables
hubVirtualNetworkConnections
inboundNatRules
inboundSecurityRuleOperations
ipAllocations
ipGroups
loadBalancerBackendAddressPools
loadBalancerBackendAddressPools: LoadBalancerBackendAddressPools
屬性值
loadBalancerFrontendIPConfigurations
loadBalancerFrontendIPConfigurations: LoadBalancerFrontendIPConfigurations
屬性值
loadBalancerLoadBalancingRules
loadBalancerNetworkInterfaces
loadBalancerOutboundRules
loadBalancerProbes
loadBalancers
localNetworkGateways
managementGroupNetworkManagerConnections
managementGroupNetworkManagerConnections: ManagementGroupNetworkManagerConnections
屬性值
natGateways
natRules
networkGroups
networkInterfaceIPConfigurations
networkInterfaceIPConfigurations: NetworkInterfaceIPConfigurations
屬性值
networkInterfaceLoadBalancers
networkInterfaces
networkInterfaceTapConfigurations
networkInterfaceTapConfigurations: NetworkInterfaceTapConfigurations
屬性值
networkManagerCommits
networkManagerDeploymentStatusOperations
networkManagerDeploymentStatusOperations: NetworkManagerDeploymentStatusOperations
屬性值
networkManagerRoutingConfigurations
networkManagerRoutingConfigurations: NetworkManagerRoutingConfigurations
屬性值
networkManagers
networkProfiles
networkSecurityGroups
networkVirtualApplianceConnections
networkVirtualApplianceConnections: NetworkVirtualApplianceConnections
屬性值
networkVirtualAppliances
networkWatchers
operations
p2SVpnGateways
packetCaptures
peerExpressRouteCircuitConnections
peerExpressRouteCircuitConnections: PeerExpressRouteCircuitConnections
屬性值
privateDnsZoneGroups
privateEndpoints
privateLinkServices
publicIPAddresses
publicIPPrefixes
resourceNavigationLinks
routeFilterRules
routeFilters
routeMaps
routes
routeTables
routingIntentOperations
routingRuleCollections
routingRules
scopeConnections
securityAdminConfigurations
securityPartnerProviders
securityRules
securityUserConfigurations
securityUserRuleCollections
securityUserRules
serviceAssociationLinks
serviceEndpointPolicies
serviceEndpointPolicyDefinitions
serviceEndpointPolicyDefinitions: ServiceEndpointPolicyDefinitions
屬性值
serviceTagInformationOperations
serviceTagInformationOperations: ServiceTagInformationOperations
屬性值
serviceTags
staticMembers
subnets
subscriptionId
subscriptionId?: string
屬性值
string
subscriptionNetworkManagerConnections
subscriptionNetworkManagerConnections: SubscriptionNetworkManagerConnections
屬性值
usages
vipSwap
virtualApplianceSites
virtualApplianceSkus
virtualHubBgpConnection
virtualHubBgpConnections
virtualHubIpConfiguration
virtualHubRouteTableV2S
virtualHubs
virtualNetworkGatewayConnections
virtualNetworkGatewayConnections: VirtualNetworkGatewayConnections
屬性值
virtualNetworkGatewayNatRules
virtualNetworkGateways
virtualNetworkPeerings
virtualNetworks
virtualNetworkTaps
virtualRouterPeerings
virtualRouters
virtualWans
vpnConnections
vpnGateways
vpnLinkConnections
vpnServerConfigurations
vpnServerConfigurationsAssociatedWithVirtualWan
vpnServerConfigurationsAssociatedWithVirtualWan: VpnServerConfigurationsAssociatedWithVirtualWan
屬性值
vpnSiteLinkConnections
vpnSiteLinks
vpnSites
vpnSitesConfiguration
webApplicationFirewallPolicies
webCategories
繼承的屬性詳細資料
pipeline
方法詳細資料
beginDeleteBastionShareableLink(string, string, BastionShareableLinkListRequest, DeleteBastionShareableLinkOptionalParams)
刪除要求中指定的所有 VM 的 Bastion 可共享連結。
function beginDeleteBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: BastionShareableLinkListRequest, options?: DeleteBastionShareableLinkOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- bslRequest
- BastionShareableLinkListRequest
建立/刪除/取得 Bastion 可共用連結端點的張貼要求。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteBastionShareableLinkAndWait(string, string, BastionShareableLinkListRequest, DeleteBastionShareableLinkOptionalParams)
刪除要求中指定的所有 VM 的 Bastion 可共享連結。
function beginDeleteBastionShareableLinkAndWait(resourceGroupName: string, bastionHostName: string, bslRequest: BastionShareableLinkListRequest, options?: DeleteBastionShareableLinkOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- bslRequest
- BastionShareableLinkListRequest
建立/刪除/取得 Bastion 可共用連結端點的張貼要求。
選項參數。
傳回
Promise<void>
beginDeleteBastionShareableLinkByToken(string, string, BastionShareableLinkTokenListRequest, DeleteBastionShareableLinkByTokenOptionalParams)
刪除要求中指定之所有令牌的 Bastion 可共享連結。
function beginDeleteBastionShareableLinkByToken(resourceGroupName: string, bastionHostName: string, bslTokenRequest: BastionShareableLinkTokenListRequest, options?: DeleteBastionShareableLinkByTokenOptionalParams): Promise<SimplePollerLike<OperationState<NetworkManagementClientDeleteBastionShareableLinkByTokenHeaders>, NetworkManagementClientDeleteBastionShareableLinkByTokenHeaders>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- bslTokenRequest
- BastionShareableLinkTokenListRequest
Post request for Delete Bastion Shareable Link By Token endpoint.
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<NetworkManagementClientDeleteBastionShareableLinkByTokenHeaders>, NetworkManagementClientDeleteBastionShareableLinkByTokenHeaders>>
beginDeleteBastionShareableLinkByTokenAndWait(string, string, BastionShareableLinkTokenListRequest, DeleteBastionShareableLinkByTokenOptionalParams)
刪除要求中指定之所有令牌的 Bastion 可共享連結。
function beginDeleteBastionShareableLinkByTokenAndWait(resourceGroupName: string, bastionHostName: string, bslTokenRequest: BastionShareableLinkTokenListRequest, options?: DeleteBastionShareableLinkByTokenOptionalParams): Promise<NetworkManagementClientDeleteBastionShareableLinkByTokenHeaders>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- bslTokenRequest
- BastionShareableLinkTokenListRequest
Post request for Delete Bastion Shareable Link By Token endpoint.
選項參數。
傳回
beginGeneratevirtualwanvpnserverconfigurationvpnprofile(string, string, VirtualWanVpnProfileParameters, GeneratevirtualwanvpnserverconfigurationvpnprofileOptionalParams)
為 VirtualWan 的 P2S 用戶端產生唯一的 VPN 配置檔,並在指定的資源群組中產生相關聯的 VpnServerConfiguration 組合。
function beginGeneratevirtualwanvpnserverconfigurationvpnprofile(resourceGroupName: string, virtualWANName: string, vpnClientParams: VirtualWanVpnProfileParameters, options?: GeneratevirtualwanvpnserverconfigurationvpnprofileOptionalParams): Promise<SimplePollerLike<OperationState<VpnProfileResponse>, VpnProfileResponse>>
參數
- resourceGroupName
-
string
資源組名。
- virtualWANName
-
string
需要相關聯的 VpnServerConfigurations VirtualWAN 名稱。
- vpnClientParams
- VirtualWanVpnProfileParameters
提供給產生 VirtualWan VPN 設定檔產生作業的參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<VpnProfileResponse>, VpnProfileResponse>>
beginGeneratevirtualwanvpnserverconfigurationvpnprofileAndWait(string, string, VirtualWanVpnProfileParameters, GeneratevirtualwanvpnserverconfigurationvpnprofileOptionalParams)
為 VirtualWan 的 P2S 用戶端產生唯一的 VPN 配置檔,並在指定的資源群組中產生相關聯的 VpnServerConfiguration 組合。
function beginGeneratevirtualwanvpnserverconfigurationvpnprofileAndWait(resourceGroupName: string, virtualWANName: string, vpnClientParams: VirtualWanVpnProfileParameters, options?: GeneratevirtualwanvpnserverconfigurationvpnprofileOptionalParams): Promise<VpnProfileResponse>
參數
- resourceGroupName
-
string
資源組名。
- virtualWANName
-
string
需要相關聯的 VpnServerConfigurations VirtualWAN 名稱。
- vpnClientParams
- VirtualWanVpnProfileParameters
提供給產生 VirtualWan VPN 設定檔產生作業的參數。
傳回
Promise<VpnProfileResponse>
beginListActiveSessionsAndWait(string, string, GetActiveSessionsOptionalParams)
傳回 Bastion 上目前作用中的會話清單。
function beginListActiveSessionsAndWait(resourceGroupName: string, bastionHostName: string, options?: GetActiveSessionsOptionalParams): PagedAsyncIterableIterator<BastionActiveSession, BastionActiveSession[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- options
- GetActiveSessionsOptionalParams
選項參數。
傳回
beginListPutBastionShareableLinkAndWait(string, string, BastionShareableLinkListRequest, PutBastionShareableLinkOptionalParams)
為要求中指定的所有 VM 建立 Bastion 可共享連結。
function beginListPutBastionShareableLinkAndWait(resourceGroupName: string, bastionHostName: string, bslRequest: BastionShareableLinkListRequest, options?: PutBastionShareableLinkOptionalParams): PagedAsyncIterableIterator<BastionShareableLink, BastionShareableLink[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- bslRequest
- BastionShareableLinkListRequest
建立/刪除/取得 Bastion 可共用連結端點的張貼要求。
選項參數。
傳回
checkDnsNameAvailability(string, string, CheckDnsNameAvailabilityOptionalParams)
檢查 cloudapp.azure.com 區域中的功能變數名稱是否可供使用。
function checkDnsNameAvailability(location: string, domainNameLabel: string, options?: CheckDnsNameAvailabilityOptionalParams): Promise<DnsNameAvailabilityResult>
參數
- location
-
string
功能變數名稱的位置。
- domainNameLabel
-
string
要驗證的功能變數名稱。 它必須符合下列正則表達式:^[a-z][a-z0-9-]{1,61}[a-z0-9]$。
選項參數。
傳回
Promise<DnsNameAvailabilityResult>
expressRouteProviderPort(string, ExpressRouteProviderPortOptionalParams)
擷取提供者埠的詳細數據。
function expressRouteProviderPort(providerport: string, options?: ExpressRouteProviderPortOptionalParams): Promise<ExpressRouteProviderPort>
參數
- providerport
-
string
提供者埠的名稱。
選項參數。
傳回
Promise<ExpressRouteProviderPort>
listActiveConnectivityConfigurations(string, string, ActiveConfigurationParameter, ListActiveConnectivityConfigurationsOptionalParams)
列出網路管理員中的使用中聯機設定。
function listActiveConnectivityConfigurations(resourceGroupName: string, networkManagerName: string, parameters: ActiveConfigurationParameter, options?: ListActiveConnectivityConfigurationsOptionalParams): Promise<ActiveConnectivityConfigurationsListResult>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkManagerName
-
string
網路管理員的名稱。
- parameters
- ActiveConfigurationParameter
使用中組態參數。
選項參數。
傳回
listActiveSecurityAdminRules(string, string, ActiveConfigurationParameter, ListActiveSecurityAdminRulesOptionalParams)
列出網路管理員中的使用中安全性系統管理員規則。
function listActiveSecurityAdminRules(resourceGroupName: string, networkManagerName: string, parameters: ActiveConfigurationParameter, options?: ListActiveSecurityAdminRulesOptionalParams): Promise<ActiveSecurityAdminRulesListResult>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkManagerName
-
string
網路管理員的名稱。
- parameters
- ActiveConfigurationParameter
使用中組態參數。
選項參數。
傳回
Promise<ActiveSecurityAdminRulesListResult>
listBastionShareableLink(string, string, BastionShareableLinkListRequest, GetBastionShareableLinkOptionalParams)
針對要求中指定的所有 VM,傳回 Bastion 可共享連結。
function listBastionShareableLink(resourceGroupName: string, bastionHostName: string, bslRequest: BastionShareableLinkListRequest, options?: GetBastionShareableLinkOptionalParams): PagedAsyncIterableIterator<BastionShareableLink, BastionShareableLink[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- bslRequest
- BastionShareableLinkListRequest
建立/刪除/取得 Bastion 可共用連結端點的張貼要求。
選項參數。
傳回
listDisconnectActiveSessions(string, string, SessionIds, DisconnectActiveSessionsOptionalParams)
傳回 Bastion 上目前作用中的會話清單。
function listDisconnectActiveSessions(resourceGroupName: string, bastionHostName: string, sessionIds: SessionIds, options?: DisconnectActiveSessionsOptionalParams): PagedAsyncIterableIterator<BastionSessionState, BastionSessionState[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。
- bastionHostName
-
string
Bastion 主機的名稱。
- sessionIds
- SessionIds
要中斷連線的 sessionid 清單。
選項參數。
傳回
listNetworkManagerEffectiveConnectivityConfigurations(string, string, QueryRequestOptions, ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams)
列出虛擬網路上套用的所有有效連線設定。
function listNetworkManagerEffectiveConnectivityConfigurations(resourceGroupName: string, virtualNetworkName: string, parameters: QueryRequestOptions, options?: ListNetworkManagerEffectiveConnectivityConfigurationsOptionalParams): Promise<NetworkManagerEffectiveConnectivityConfigurationListResult>
參數
- resourceGroupName
-
string
資源群組的名稱。
- virtualNetworkName
-
string
虛擬網路的名稱。
- parameters
- QueryRequestOptions
提供的參數以列出正確的頁面。
傳回
listNetworkManagerEffectiveSecurityAdminRules(string, string, QueryRequestOptions, ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams)
列出虛擬網路上套用的所有有效安全性系統管理員規則。
function listNetworkManagerEffectiveSecurityAdminRules(resourceGroupName: string, virtualNetworkName: string, parameters: QueryRequestOptions, options?: ListNetworkManagerEffectiveSecurityAdminRulesOptionalParams): Promise<NetworkManagerEffectiveSecurityAdminRulesListResult>
參數
- resourceGroupName
-
string
資源群組的名稱。
- virtualNetworkName
-
string
虛擬網路的名稱。
- parameters
- QueryRequestOptions
提供的參數以列出正確的頁面。
傳回
supportedSecurityProviders(string, string, SupportedSecurityProvidersOptionalParams)
為虛擬 Wan 提供支援的安全性提供者。
function supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options?: SupportedSecurityProvidersOptionalParams): Promise<VirtualWanSecurityProviders>
參數
- resourceGroupName
-
string
資源組名。
- virtualWANName
-
string
需要支援安全性提供者的 VirtualWAN 名稱。
選項參數。
傳回
Promise<VirtualWanSecurityProviders>
繼承的方法的詳細資料
sendOperationRequest<T>(OperationArguments, OperationSpec)
傳送使用提供的 OperationSpec 填入的 HTTP 要求。
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
參數
- operationArguments
- OperationArguments
HTTP 要求樣板化值的自變數將會從 中填入。
- operationSpec
- OperationSpec
要用來填入 HTTPRequest 的 OperationSpec。
傳回
Promise<T>
繼承自 coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
傳送提供的 HTTPRequest。
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
參數
- request
- PipelineRequest
傳回
Promise<PipelineResponse>
繼承自 coreClient.ServiceClient.sendRequest