Dela via


SqlServerJobCredentialCollection Class

Definition

A class representing a collection of SqlServerJobCredentialResource and their operations. Each SqlServerJobCredentialResource in the collection will belong to the same instance of SqlServerJobAgentResource. To get a SqlServerJobCredentialCollection instance call the GetSqlServerJobCredentials method from an instance of SqlServerJobAgentResource.

public class SqlServerJobCredentialCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Sql.SqlServerJobCredentialResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.SqlServerJobCredentialResource>
type SqlServerJobCredentialCollection = class
    inherit ArmCollection
    interface seq<SqlServerJobCredentialResource>
    interface IEnumerable
    interface IAsyncEnumerable<SqlServerJobCredentialResource>
Public Class SqlServerJobCredentialCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SqlServerJobCredentialResource), IEnumerable(Of SqlServerJobCredentialResource)
Inheritance
SqlServerJobCredentialCollection
Implements

Constructors

SqlServerJobCredentialCollection()

Initializes a new instance of the SqlServerJobCredentialCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SqlServerJobCredentialData, CancellationToken)

Creates or updates a job credential.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
CreateOrUpdateAsync(WaitUntil, String, SqlServerJobCredentialData, CancellationToken)

Creates or updates a job credential.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_CreateOrUpdate
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
Get(String, CancellationToken)

Gets a jobs credential.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
GetAll(CancellationToken)

Gets a list of jobs credentials.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials
  • Operation Id: JobCredentials_ListByAgent
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
GetAllAsync(CancellationToken)

Gets a list of jobs credentials.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials
  • Operation Id: JobCredentials_ListByAgent
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
GetAsync(String, CancellationToken)

Gets a jobs credential.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/jobAgents/{jobAgentName}/credentials/{credentialName}
  • Operation Id: JobCredentials_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerJobCredentialResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SqlServerJobCredentialResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SqlServerJobCredentialResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to