Partilhar via


RoleAssignmentScheduleInstanceCollection.Exists Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operação IdRoleAssignmentScheduleInstances_Get
public virtual Azure.Response<bool> Exists (string roleAssignmentScheduleInstanceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (roleAssignmentScheduleInstanceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parâmetros

roleAssignmentScheduleInstanceName
String

O nome (hash do nome do agendamento + hora) do agendamento de atribuição de função a ser obtido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

roleAssignmentScheduleInstanceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

roleAssignmentScheduleInstanceName é nulo.

Aplica-se a