다음을 통해 공유


SqlServerResource Class

Definition

A Class representing a SqlServer along with the instance operations that can be performed on it. If you have a ResourceIdentifier you can construct a SqlServerResource from an instance of ArmClient using the GetSqlServerResource method. Otherwise you can get one from its parent resource ResourceGroupResource using the GetSqlServer method.

public class SqlServerResource : Azure.ResourceManager.ArmResource
public class SqlServerResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.SqlServerData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.SqlServerData>
type SqlServerResource = class
    inherit ArmResource
type SqlServerResource = class
    inherit ArmResource
    interface IJsonModel<SqlServerData>
    interface IPersistableModel<SqlServerData>
Public Class SqlServerResource
Inherits ArmResource
Public Class SqlServerResource
Inherits ArmResource
Implements IJsonModel(Of SqlServerData), IPersistableModel(Of SqlServerData)
Inheritance
SqlServerResource
Implements

Constructors

SqlServerResource()

Initializes a new instance of the SqlServerResource class for mocking.

Fields

ResourceType

Gets the resource type for the operations.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmResource)
Data

Gets the data representing this Feature.

Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmResource)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmResource)
HasData

Gets whether or not the current instance has data.

Id

Gets the resource identifier.

(Inherited from ArmResource)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmResource)

Methods

AddTag(String, String, CancellationToken)

Add a tag to the current resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
AddTagAsync(String, String, CancellationToken)

Add a tag to the current resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
CanUseTagResource(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
CanUseTagResourceAsync(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
CreateResourceIdentifier(String, String, String)

Generate the resource identifier of a SqlServerResource instance.

CreateTdeCertificate(WaitUntil, TdeCertificate, CancellationToken)

Creates a TDE certificate for a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/tdeCertificates
  • Operation Id: TdeCertificates_Create
  • Default Api Version: 2020-11-01-preview
CreateTdeCertificateAsync(WaitUntil, TdeCertificate, CancellationToken)

Creates a TDE certificate for a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/tdeCertificates
  • Operation Id: TdeCertificates_Create
  • Default Api Version: 2020-11-01-preview
Delete(WaitUntil, CancellationToken)

Deletes a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Delete
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
DeleteAsync(WaitUntil, CancellationToken)

Deletes a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Delete
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
Get(String, CancellationToken)

Gets a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
GetAsync(String, CancellationToken)

Gets a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetElasticPool(String, CancellationToken)

Gets an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetElasticPoolAsync(String, CancellationToken)

Gets an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}
  • Operation Id: ElasticPools_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
GetElasticPools()

Gets a collection of ElasticPoolResources in the SqlServer.

GetEncryptionProtector(EncryptionProtectorName, CancellationToken)

Gets a server encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: EncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: EncryptionProtectorResource
GetEncryptionProtectorAsync(EncryptionProtectorName, CancellationToken)

Gets a server encryption protector.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/encryptionProtector/{encryptionProtectorName}
  • Operation Id: EncryptionProtectors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: EncryptionProtectorResource
GetEncryptionProtectors()

Gets a collection of EncryptionProtectorResources in the SqlServer.

GetExtendedServerBlobAuditingPolicies()

Gets a collection of ExtendedServerBlobAuditingPolicyResources in the SqlServer.

GetExtendedServerBlobAuditingPolicy(BlobAuditingPolicyName, CancellationToken)

Gets an extended server's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}
  • Operation Id: ExtendedServerBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ExtendedServerBlobAuditingPolicyResource
GetExtendedServerBlobAuditingPolicyAsync(BlobAuditingPolicyName, CancellationToken)

Gets an extended server's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/extendedAuditingSettings/{blobAuditingPolicyName}
  • Operation Id: ExtendedServerBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ExtendedServerBlobAuditingPolicyResource
GetFailoverGroup(String, CancellationToken)

Gets a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
GetFailoverGroupAsync(String, CancellationToken)

Gets a failover group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/failoverGroups/{failoverGroupName}
  • Operation Id: FailoverGroups_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: FailoverGroupResource
GetFailoverGroups()

Gets a collection of FailoverGroupResources in the SqlServer.

GetInaccessibleDatabases(CancellationToken)

Gets a list of inaccessible databases in a logical server

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases
  • Operation Id: Databases_ListInaccessibleByServer
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlDatabaseResource
GetInaccessibleDatabasesAsync(CancellationToken)

Gets a list of inaccessible databases in a logical server

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases
  • Operation Id: Databases_ListInaccessibleByServer
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlDatabaseResource
GetIPv6FirewallRule(String, CancellationToken)

Gets an IPv6 firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetIPv6FirewallRuleAsync(String, CancellationToken)

Gets an IPv6 firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/ipv6FirewallRules/{firewallRuleName}
  • Operation Id: IPv6FirewallRules_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: IPv6FirewallRuleResource
GetIPv6FirewallRules()

Gets a collection of IPv6FirewallRuleResources in the SqlServer.

GetManagementLock(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLockAsync(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLocks()

Gets a collection of ManagementLockResources in the ArmResource.

(Inherited from ArmResource)
GetOutboundFirewallRule(String, CancellationToken)

Gets an outbound firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetOutboundFirewallRuleAsync(String, CancellationToken)

Gets an outbound firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/outboundFirewallRules/{outboundRuleFqdn}
  • Operation Id: OutboundFirewallRules_Get
  • Default Api Version: 2021-02-01-preview
  • Resource: OutboundFirewallRuleResource
GetOutboundFirewallRules()

Gets a collection of OutboundFirewallRuleResources in the SqlServer.

GetPolicyAssignment(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignments()

Gets a collection of PolicyAssignmentResources in the ArmResource.

(Inherited from ArmResource)
GetRecoverableDatabase(String, String, String, CancellationToken)

Gets a recoverable database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases/{databaseName}
  • Operation Id: RecoverableDatabases_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: RecoverableDatabaseResource
GetRecoverableDatabaseAsync(String, String, String, CancellationToken)

Gets a recoverable database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/recoverableDatabases/{databaseName}
  • Operation Id: RecoverableDatabases_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: RecoverableDatabaseResource
GetRecoverableDatabases()

Gets a collection of RecoverableDatabaseResources in the SqlServer.

GetReplicationLinks(CancellationToken)

Gets a list of replication links.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/replicationLinks
  • Operation Id: ReplicationLinks_ListByServer
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerDatabaseReplicationLinkResource
GetReplicationLinksAsync(CancellationToken)

Gets a list of replication links.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/replicationLinks
  • Operation Id: ReplicationLinks_ListByServer
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerDatabaseReplicationLinkResource
GetRestorableDroppedDatabase(String, String, String, CancellationToken)

Gets a restorable dropped database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}
  • Operation Id: RestorableDroppedDatabases_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: RestorableDroppedDatabaseResource
GetRestorableDroppedDatabaseAsync(String, String, String, CancellationToken)

Gets a restorable dropped database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}
  • Operation Id: RestorableDroppedDatabases_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: RestorableDroppedDatabaseResource
GetRestorableDroppedDatabases()

Gets a collection of RestorableDroppedDatabaseResources in the SqlServer.

GetServerAdvancedThreatProtection(AdvancedThreatProtectionName, CancellationToken)

Get a server's Advanced Threat Protection state.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • Operation Id: ServerAdvancedThreatProtectionSettings_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ServerAdvancedThreatProtectionResource
GetServerAdvancedThreatProtectionAsync(AdvancedThreatProtectionName, CancellationToken)

Get a server's Advanced Threat Protection state.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • Operation Id: ServerAdvancedThreatProtectionSettings_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: ServerAdvancedThreatProtectionResource
GetServerAdvancedThreatProtections()

Gets a collection of ServerAdvancedThreatProtectionResources in the SqlServer.

GetServerOperations(CancellationToken)

Gets a list of operations performed on the server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/operations
  • Operation Id: ServerOperations_ListByServer
  • Default Api Version: 2020-11-01-preview
GetServerOperationsAsync(CancellationToken)

Gets a list of operations performed on the server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/operations
  • Operation Id: ServerOperations_ListByServer
  • Default Api Version: 2020-11-01-preview
GetServerUsages(CancellationToken)

Returns server usages.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/usages
  • Operation Id: ServerUsages_ListByServer
  • Default Api Version: 2014-04-01
GetServerUsagesAsync(CancellationToken)

Returns server usages.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/usages
  • Operation Id: ServerUsages_ListByServer
  • Default Api Version: 2014-04-01
GetServiceObjective(String, CancellationToken)

Gets a database service objective.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives/{serviceObjectiveName}
  • Operation Id: ServiceObjectives_Get
  • Default Api Version: 2014-04-01
  • Resource: ServiceObjectiveResource
GetServiceObjectiveAsync(String, CancellationToken)

Gets a database service objective.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/serviceObjectives/{serviceObjectiveName}
  • Operation Id: ServiceObjectives_Get
  • Default Api Version: 2014-04-01
  • Resource: ServiceObjectiveResource
GetServiceObjectives()

Gets a collection of ServiceObjectiveResources in the SqlServer.

GetSqlDatabase(String, String, String, CancellationToken)

Gets a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}
  • Operation Id: Databases_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlDatabaseResource
GetSqlDatabaseAsync(String, String, String, CancellationToken)

Gets a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}
  • Operation Id: Databases_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlDatabaseResource
GetSqlDatabases()

Gets a collection of SqlDatabaseResources in the SqlServer.

GetSqlFirewallRule(String, CancellationToken)

Gets a firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}
  • Operation Id: FirewallRules_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlFirewallRuleResource
GetSqlFirewallRuleAsync(String, CancellationToken)

Gets a firewall rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/firewallRules/{firewallRuleName}
  • Operation Id: FirewallRules_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlFirewallRuleResource
GetSqlFirewallRules()

Gets a collection of SqlFirewallRuleResources in the SqlServer.

GetSqlPrivateEndpointConnection(String, CancellationToken)

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetSqlPrivateEndpointConnectionAsync(String, CancellationToken)

Gets a private endpoint connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operation Id: PrivateEndpointConnections_Get
  • Default Api Version: 2022-08-01-preview
  • Resource: SqlPrivateEndpointConnectionResource
GetSqlPrivateEndpointConnections()

Gets a collection of SqlPrivateEndpointConnectionResources in the SqlServer.

GetSqlPrivateLinkResource(String, CancellationToken)

Gets a private link resource for SQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlPrivateLinkResource
GetSqlPrivateLinkResourceAsync(String, CancellationToken)

Gets a private link resource for SQL server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateLinkResources/{groupName}
  • Operation Id: PrivateLinkResources_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlPrivateLinkResource
GetSqlPrivateLinkResources()

Gets a collection of SqlPrivateLinkResources in the SqlServer.

GetSqlServerAdvisor(String, CancellationToken)

Gets a server advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • Operation Id: ServerAdvisors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAdvisorResource
GetSqlServerAdvisorAsync(String, CancellationToken)

Gets a server advisor.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advisors/{advisorName}
  • Operation Id: ServerAdvisors_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAdvisorResource
GetSqlServerAdvisors()

Gets a collection of SqlServerAdvisorResources in the SqlServer.

GetSqlServerAutomaticTuning()

Gets an object representing a SqlServerAutomaticTuningResource along with the instance operations that can be performed on it in the SqlServer.

GetSqlServerAzureADAdministrator(SqlAdministratorName, CancellationToken)

Gets a Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetSqlServerAzureADAdministratorAsync(SqlAdministratorName, CancellationToken)

Gets a Azure Active Directory administrator.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/{administratorName}
  • Operation Id: ServerAzureADAdministrators_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADAdministratorResource
GetSqlServerAzureADAdministrators()

Gets a collection of SqlServerAzureADAdministratorResources in the SqlServer.

GetSqlServerAzureADOnlyAuthentication(AuthenticationName, CancellationToken)

Gets a specific Azure Active Directory only authentication property.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}
  • Operation Id: ServerAzureADOnlyAuthentications_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADOnlyAuthenticationResource
GetSqlServerAzureADOnlyAuthenticationAsync(AuthenticationName, CancellationToken)

Gets a specific Azure Active Directory only authentication property.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/{authenticationName}
  • Operation Id: ServerAzureADOnlyAuthentications_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerAzureADOnlyAuthenticationResource
GetSqlServerAzureADOnlyAuthentications()

Gets a collection of SqlServerAzureADOnlyAuthenticationResources in the SqlServer.

GetSqlServerBlobAuditingPolicies()

Gets a collection of SqlServerBlobAuditingPolicyResources in the SqlServer.

GetSqlServerBlobAuditingPolicy(BlobAuditingPolicyName, CancellationToken)

Gets a server's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: ServerBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlServerBlobAuditingPolicyResource
GetSqlServerBlobAuditingPolicyAsync(BlobAuditingPolicyName, CancellationToken)

Gets a server's blob auditing policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/auditingSettings/{blobAuditingPolicyName}
  • Operation Id: ServerBlobAuditingPolicies_Get
  • Default Api Version: 2021-11-01-preview
  • Resource: SqlServerBlobAuditingPolicyResource
GetSqlServerCommunicationLink(String, CancellationToken)

Returns a server communication link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetSqlServerCommunicationLinkAsync(String, CancellationToken)

Returns a server communication link.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/communicationLinks/{communicationLinkName}
  • Operation Id: ServerCommunicationLinks_Get
  • Default Api Version: 2014-04-01
  • Resource: SqlServerCommunicationLinkResource
GetSqlServerCommunicationLinks()

Gets a collection of SqlServerCommunicationLinkResources in the SqlServer.

GetSqlServerConnectionPolicies()

Gets a collection of SqlServerConnectionPolicyResources in the SqlServer.

GetSqlServerConnectionPolicy(ConnectionPolicyName, CancellationToken)

Gets a server connection policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName}
  • Operation Id: ServerConnectionPolicies_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SqlServerConnectionPolicyResource
GetSqlServerConnectionPolicyAsync(ConnectionPolicyName, CancellationToken)

Gets a server connection policy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName}
  • Operation Id: ServerConnectionPolicies_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SqlServerConnectionPolicyResource
GetSqlServerDevOpsAuditingSetting(String, CancellationToken)

Gets a server's DevOps audit settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetSqlServerDevOpsAuditingSettingAsync(String, CancellationToken)

Gets a server's DevOps audit settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/devOpsAuditingSettings/{devOpsAuditingSettingsName}
  • Operation Id: ServerDevOpsAuditSettings_Get
  • Default Api Version: 2022-02-01-preview
  • Resource: SqlServerDevOpsAuditingSettingResource
GetSqlServerDevOpsAuditingSettings()

Gets a collection of SqlServerDevOpsAuditingSettingResources in the SqlServer.

GetSqlServerDnsAlias(String, CancellationToken)

Gets a server DNS alias.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}
  • Operation Id: ServerDnsAliases_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerDnsAliasResource
GetSqlServerDnsAliasAsync(String, CancellationToken)

Gets a server DNS alias.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/dnsAliases/{dnsAliasName}
  • Operation Id: ServerDnsAliases_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerDnsAliasResource
GetSqlServerDnsAliases()

Gets a collection of SqlServerDnsAliasResources in the SqlServer.

GetSqlServerJobAgent(String, CancellationToken)

Gets a job agent.

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

Gets a job agent.

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

Gets a collection of SqlServerJobAgentResources in the SqlServer.

GetSqlServerKey(String, CancellationToken)

Gets a server key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerKeyResource
GetSqlServerKeyAsync(String, CancellationToken)

Gets a server key.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/keys/{keyName}
  • Operation Id: ServerKeys_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerKeyResource
GetSqlServerKeys()

Gets a collection of SqlServerKeyResources in the SqlServer.

GetSqlServerSecurityAlertPolicies()

Gets a collection of SqlServerSecurityAlertPolicyResources in the SqlServer.

GetSqlServerSecurityAlertPolicy(SqlSecurityAlertPolicyName, CancellationToken)

Get a server's security alert policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: ServerSecurityAlertPolicies_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerSecurityAlertPolicyResource
GetSqlServerSecurityAlertPolicyAsync(SqlSecurityAlertPolicyName, CancellationToken)

Get a server's security alert policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operation Id: ServerSecurityAlertPolicies_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerSecurityAlertPolicyResource
GetSqlServerSqlVulnerabilityAssessment(VulnerabilityAssessmentName, CancellationToken)

Gets SQL Vulnerability Assessment policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: SqlVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentResource
GetSqlServerSqlVulnerabilityAssessmentAsync(VulnerabilityAssessmentName, CancellationToken)

Gets SQL Vulnerability Assessment policy.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: SqlVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2022-11-01-preview
  • Resource: SqlServerSqlVulnerabilityAssessmentResource
GetSqlServerSqlVulnerabilityAssessments()

Gets a collection of SqlServerSqlVulnerabilityAssessmentResources in the SqlServer.

GetSqlServerVirtualNetworkRule(String, CancellationToken)

Gets a virtual network rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}
  • Operation Id: VirtualNetworkRules_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerVirtualNetworkRuleResource
GetSqlServerVirtualNetworkRuleAsync(String, CancellationToken)

Gets a virtual network rule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}
  • Operation Id: VirtualNetworkRules_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerVirtualNetworkRuleResource
GetSqlServerVirtualNetworkRules()

Gets a collection of SqlServerVirtualNetworkRuleResources in the SqlServer.

GetSqlServerVulnerabilityAssessment(VulnerabilityAssessmentName, CancellationToken)

Gets the server's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ServerVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerVulnerabilityAssessmentResource
GetSqlServerVulnerabilityAssessmentAsync(VulnerabilityAssessmentName, CancellationToken)

Gets the server's vulnerability assessment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}
  • Operation Id: ServerVulnerabilityAssessments_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlServerVulnerabilityAssessmentResource
GetSqlServerVulnerabilityAssessments()

Gets a collection of SqlServerVulnerabilityAssessmentResources in the SqlServer.

GetSyncAgent(String, CancellationToken)

Gets a sync agent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}
  • Operation Id: SyncAgents_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncAgentResource
GetSyncAgentAsync(String, CancellationToken)

Gets a sync agent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/syncAgents/{syncAgentName}
  • Operation Id: SyncAgents_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: SyncAgentResource
GetSyncAgents()

Gets a collection of SyncAgentResources in the SqlServer.

GetTagResource()

Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource.

(Inherited from ArmResource)
ImportDatabase(WaitUntil, DatabaseImportDefinition, CancellationToken)

Imports a bacpac into a new database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import
  • Operation Id: Servers_ImportDatabase
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
ImportDatabaseAsync(WaitUntil, DatabaseImportDefinition, CancellationToken)

Imports a bacpac into a new database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/import
  • Operation Id: Servers_ImportDatabase
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
RefreshStatus(WaitUntil, CancellationToken)

Refresh external governance enablement status.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/refreshExternalGovernanceStatus
  • Operation Id: Servers_RefreshStatus
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
RefreshStatusAsync(WaitUntil, CancellationToken)

Refresh external governance enablement status.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/refreshExternalGovernanceStatus
  • Operation Id: Servers_RefreshStatus
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
RemoveTag(String, CancellationToken)

Removes a tag by key from the resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
RemoveTagAsync(String, CancellationToken)

Removes a tag by key from the resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
SetTags(IDictionary<String,String>, CancellationToken)

Replace the tags on the resource with the given set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
SetTagsAsync(IDictionary<String,String>, CancellationToken)

Replace the tags on the resource with the given set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmResource)
Update(WaitUntil, SqlServerPatch, CancellationToken)

Updates a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Update
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource
UpdateAsync(WaitUntil, SqlServerPatch, CancellationToken)

Updates a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}
  • Operation Id: Servers_Update
  • Default Api Version: 2023-05-01-preview
  • Resource: SqlServerResource

Explicit Interface Implementations

IJsonModel<SqlServerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SqlServerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlServerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlServerData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SqlServerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Extension Methods

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
GetAuthorizationRoleDefinitions(ArmResource)

Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead.

GetDenyAssignment(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
GetDenyAssignments(ArmResource)

Gets a collection of DenyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetDenyAssignments() instead.

GetRoleAssignment(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
GetRoleAssignments(ArmResource)

Gets a collection of RoleAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignments() instead.

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetRoleAssignmentScheduleInstances(ArmResource)

Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead.

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
GetRoleAssignmentScheduleRequests(ArmResource)

Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead.

GetRoleAssignmentSchedules(ArmResource)

Gets a collection of RoleAssignmentScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead.

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetRoleEligibilityScheduleInstances(ArmResource)

Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead.

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetRoleEligibilityScheduleRequests(ArmResource)

Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead.

GetRoleEligibilitySchedules(ArmResource)

Gets a collection of RoleEligibilityScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead.

GetRoleManagementPolicies(ArmResource)

Gets a collection of RoleManagementPolicyResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicies() instead.

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
GetRoleManagementPolicyAssignments(ArmResource)

Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead.

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
GetSystemAssignedIdentity(ArmResource)

Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource. MockingTo mock this method, please mock GetSystemAssignedIdentity() instead.

GetLinkerResource(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetLinkerResources(ArmResource)

Gets a collection of LinkerResources in the ArmResource. MockingTo mock this method, please mock GetLinkerResources() instead.

Applies to