ArtifactStoreCollection.GetIfExists(String, CancellationToken) メソッド

定義

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridNetwork/publishers/{publisherName}/artifactStores/{artifactStoreName}
  • 操作IdArtifactStores_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.ArtifactStoreResource> GetIfExists (string artifactStoreName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.ArtifactStoreResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.HybridNetwork.ArtifactStoreResource>
Public Overridable Function GetIfExists (artifactStoreName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ArtifactStoreResource)

パラメーター

artifactStoreName
String

成果物ストアの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

artifactStoreName は空の文字列であり、空でないと予想されていました。

artifactStoreName が null です。

適用対象