New-AzApiManagementBackendServiceFabric
PsApiManagementServiceFabric
のオブジェクトを作成します。
構文
New-AzApiManagementBackendServiceFabric
-ManagementEndpoint <String[]>
[-ClientCertificateThumbprint <String>]
[-ClientCertificateId <String>]
[-MaxPartitionResolutionRetry <Int32>]
[-ServerX509Name <Hashtable>]
[-ServerCertificateThumbprint <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
例
例 1: バックエンド Service Fabric In-Memory オブジェクトを作成する
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
$ManagementEndpoints = 'https://sfbackend-01.net:443', 'https://sfbackend-02.net:443'
$ServerCertificateThumbprints = '33CC47C6FCA848DC9B14A6F071C1EF7C'
$serviceFabric = New-AzApiManagementBackendServiceFabric -ManagementEndpoint $ManagementEndpoints -ClientCertificateThumbprint "33CC47C6FCA848DC9B14A6F071C1EF7C" -ServerX509Name @{"CN=foobar.net" = @('33CC47C6FCA848DC9B14A6F071C1EF7C'); } -ServerCertificateThumbprint $ServerCertificateThumbprints
$backend = New-AzApiManagementBackend -Context $apimContext -BackendId 123 -Url 'https://contoso.com/awesomeapi' -Protocol http -ServiceFabricCluster $serviceFabric -Description "service fabric backend"
バックエンド Service Fabric コントラクトを作成します
パラメーター
-ClientCertificateId
管理エンドポイントのクライアント証明書 ID。 このパラメーターは省略可能です。
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-ClientCertificateThumbprint
管理エンドポイントのクライアント証明書の拇印。 このパラメーターは必須です。
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-DefaultProfile
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。
型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ManagementEndpoint
Service Fabric クラスター管理エンドポイント。 このパラメーターは必須です。
型: | String[] |
配置: | Named |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-MaxPartitionResolutionRetry
Service Fabric パーティションを解決するときの再試行の最大数。 このパラメーターは省略可能で、既定値は 5 です。
型: | Nullable<T>[Int32] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ServerCertificateThumbprint
クラスター管理サービスが TLS 通信に使用する証明書の拇印。このパラメーターは省略可能です。
型: | String[] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ServerX509Name
サーバー X509 証明書名コレクション。 このパラメーターは省略可能です。
型: | Hashtable |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |