SqlFunctions

Functions

Link copied to clipboard

A database resource. API Version: 2020-11-01-preview.

suspend fun getDatabase(argument: suspend GetDatabasePlainArgsBuilder.() -> Unit): GetDatabaseResult
suspend fun getDatabase(databaseName: String, resourceGroupName: String, serverName: String): GetDatabaseResult
Link copied to clipboard

Database, Server or Elastic Pool Advisor. API Version: 2020-11-01-preview.

suspend fun getDatabaseAdvisor(advisorName: String, databaseName: String, resourceGroupName: String, serverName: String): GetDatabaseAdvisorResult
Link copied to clipboard

A database blob auditing policy. API Version: 2020-11-01-preview.

suspend fun getDatabaseBlobAuditingPolicy(blobAuditingPolicyName: String, databaseName: String, resourceGroupName: String, serverName: String): GetDatabaseBlobAuditingPolicyResult
Link copied to clipboard

A database security alert policy. API Version: 2020-11-01-preview.

suspend fun getDatabaseSecurityAlertPolicy(databaseName: String, resourceGroupName: String, securityAlertPolicyName: String, serverName: String): GetDatabaseSecurityAlertPolicyResult
Link copied to clipboard

A database vulnerability assessment. API Version: 2020-11-01-preview.

suspend fun getDatabaseVulnerabilityAssessment(databaseName: String, resourceGroupName: String, serverName: String, vulnerabilityAssessmentName: String): GetDatabaseVulnerabilityAssessmentResult
Link copied to clipboard

Represents a database data masking policy. API Version: 2014-04-01.

suspend fun getDataMaskingPolicy(dataMaskingPolicyName: String, databaseName: String, resourceGroupName: String, serverName: String): GetDataMaskingPolicyResult
Link copied to clipboard

Represents a disaster recovery configuration. API Version: 2014-04-01.

suspend fun getDisasterRecoveryConfiguration(disasterRecoveryConfigurationName: String, resourceGroupName: String, serverName: String): GetDisasterRecoveryConfigurationResult
Link copied to clipboard

Distributed availability group between box and Sql Managed Instance. API Version: 2021-05-01-preview.

suspend fun getDistributedAvailabilityGroup(distributedAvailabilityGroupName: String, managedInstanceName: String, resourceGroupName: String): GetDistributedAvailabilityGroupResult
Link copied to clipboard

An elastic pool. API Version: 2020-11-01-preview.

suspend fun getElasticPool(elasticPoolName: String, resourceGroupName: String, serverName: String): GetElasticPoolResult
Link copied to clipboard

The server encryption protector. API Version: 2020-11-01-preview.

suspend fun getEncryptionProtector(encryptionProtectorName: String, resourceGroupName: String, serverName: String): GetEncryptionProtectorResult
Link copied to clipboard

A failover group. API Version: 2020-11-01-preview.

suspend fun getFailoverGroup(failoverGroupName: String, resourceGroupName: String, serverName: String): GetFailoverGroupResult
Link copied to clipboard

A server firewall rule. API Version: 2020-11-01-preview.

suspend fun getFirewallRule(firewallRuleName: String, resourceGroupName: String, serverName: String): GetFirewallRuleResult
Link copied to clipboard

A database geo backup policy. API Version: 2014-04-01.

suspend fun getGeoBackupPolicy(databaseName: String, geoBackupPolicyName: String, resourceGroupName: String, serverName: String): GetGeoBackupPolicyResult
Link copied to clipboard

An instance failover group. API Version: 2020-11-01-preview.

suspend fun getInstanceFailoverGroup(failoverGroupName: String, locationName: String, resourceGroupName: String): GetInstanceFailoverGroupResult
Link copied to clipboard

An Azure SQL instance pool. API Version: 2020-11-01-preview.

suspend fun getInstancePool(instancePoolName: String, resourceGroupName: String): GetInstancePoolResult
Link copied to clipboard

An IPv6 server firewall rule. API Version: 2021-08-01-preview.

suspend fun getIPv6FirewallRule(firewallRuleName: String, resourceGroupName: String, serverName: String): GetIPv6FirewallRuleResult
Link copied to clipboard
suspend fun getJob(argument: GetJobPlainArgs): GetJobResult

A job. API Version: 2020-11-01-preview.

suspend fun getJob(argument: suspend GetJobPlainArgsBuilder.() -> Unit): GetJobResult
suspend fun getJob(jobAgentName: String, jobName: String, resourceGroupName: String, serverName: String): GetJobResult
Link copied to clipboard

An Azure SQL job agent. API Version: 2020-11-01-preview.

suspend fun getJobAgent(argument: suspend GetJobAgentPlainArgsBuilder.() -> Unit): GetJobAgentResult
suspend fun getJobAgent(jobAgentName: String, resourceGroupName: String, serverName: String): GetJobAgentResult
Link copied to clipboard

A stored credential that can be used by a job to connect to target databases. API Version: 2020-11-01-preview.

suspend fun getJobCredential(credentialName: String, jobAgentName: String, resourceGroupName: String, serverName: String): GetJobCredentialResult
Link copied to clipboard

A job step. API Version: 2020-11-01-preview.

suspend fun getJobStep(argument: suspend GetJobStepPlainArgsBuilder.() -> Unit): GetJobStepResult
suspend fun getJobStep(jobAgentName: String, jobName: String, resourceGroupName: String, serverName: String, stepName: String): GetJobStepResult
Link copied to clipboard

A group of job targets. API Version: 2020-11-01-preview.

suspend fun getJobTargetGroup(jobAgentName: String, resourceGroupName: String, serverName: String, targetGroupName: String): GetJobTargetGroupResult
Link copied to clipboard

A long term retention policy. API Version: 2020-11-01-preview.

suspend fun getLongTermRetentionPolicy(databaseName: String, policyName: String, resourceGroupName: String, serverName: String): GetLongTermRetentionPolicyResult
Link copied to clipboard

A managed database resource. API Version: 2020-11-01-preview.

suspend fun getManagedDatabase(databaseName: String, managedInstanceName: String, resourceGroupName: String): GetManagedDatabaseResult
Link copied to clipboard

A sensitivity label. API Version: 2020-11-01-preview.

suspend fun getManagedDatabaseSensitivityLabel(columnName: String, databaseName: String, managedInstanceName: String, resourceGroupName: String, schemaName: String, sensitivityLabelSource: String, tableName: String): GetManagedDatabaseSensitivityLabelResult
Link copied to clipboard

An Azure SQL managed instance. API Version: 2020-11-01-preview.

suspend fun getManagedInstance(expand: String? = null, managedInstanceName: String, resourceGroupName: String): GetManagedInstanceResult
Link copied to clipboard

An Azure SQL managed instance administrator. API Version: 2020-11-01-preview.

suspend fun getManagedInstanceAdministrator(administratorName: String, managedInstanceName: String, resourceGroupName: String): GetManagedInstanceAdministratorResult
Link copied to clipboard

A managed instance key. API Version: 2020-11-01-preview.

suspend fun getManagedInstanceKey(keyName: String, managedInstanceName: String, resourceGroupName: String): GetManagedInstanceKeyResult
Link copied to clipboard

A managed server DNS alias. API Version: 2021-11-01-preview.

suspend fun getManagedServerDnsAlias(dnsAliasName: String, managedInstanceName: String, resourceGroupName: String): GetManagedServerDnsAliasResult
Link copied to clipboard

An Azure SQL DB Server Outbound Firewall Rule. API Version: 2021-02-01-preview.

suspend fun getOutboundFirewallRule(outboundRuleFqdn: String, resourceGroupName: String, serverName: String): GetOutboundFirewallRuleResult
Link copied to clipboard

A private endpoint connection API Version: 2020-11-01-preview.

suspend fun getPrivateEndpointConnection(privateEndpointConnectionName: String, resourceGroupName: String, serverName: String): GetPrivateEndpointConnectionResult
Link copied to clipboard

A sensitivity label. API Version: 2020-11-01-preview.

suspend fun getSensitivityLabel(columnName: String, databaseName: String, resourceGroupName: String, schemaName: String, sensitivityLabelSource: String, serverName: String, tableName: String): GetSensitivityLabelResult
Link copied to clipboard

An Azure SQL Database server. API Version: 2020-11-01-preview.

suspend fun getServer(argument: suspend GetServerPlainArgsBuilder.() -> Unit): GetServerResult
suspend fun getServer(expand: String? = null, resourceGroupName: String, serverName: String): GetServerResult
Link copied to clipboard

Database, Server or Elastic Pool Advisor. API Version: 2020-11-01-preview.

suspend fun getServerAdvisor(advisorName: String, resourceGroupName: String, serverName: String): GetServerAdvisorResult
Link copied to clipboard

Azure Active Directory administrator. API Version: 2020-11-01-preview.

suspend fun getServerAzureADAdministrator(administratorName: String, resourceGroupName: String, serverName: String): GetServerAzureADAdministratorResult
Link copied to clipboard

A server blob auditing policy. API Version: 2020-11-01-preview.

suspend fun getServerBlobAuditingPolicy(blobAuditingPolicyName: String, resourceGroupName: String, serverName: String): GetServerBlobAuditingPolicyResult
Link copied to clipboard

Server communication link. API Version: 2014-04-01.

suspend fun getServerCommunicationLink(communicationLinkName: String, resourceGroupName: String, serverName: String): GetServerCommunicationLinkResult
Link copied to clipboard

A server DNS alias. API Version: 2020-11-01-preview.

suspend fun getServerDnsAlias(dnsAliasName: String, resourceGroupName: String, serverName: String): GetServerDnsAliasResult
Link copied to clipboard

A server key. API Version: 2020-11-01-preview.

suspend fun getServerKey(keyName: String, resourceGroupName: String, serverName: String): GetServerKeyResult
Link copied to clipboard

A server security alert policy. API Version: 2020-11-01-preview.

suspend fun getServerSecurityAlertPolicy(resourceGroupName: String, securityAlertPolicyName: String, serverName: String): GetServerSecurityAlertPolicyResult
Link copied to clipboard

Server trust certificate imported from box to enable connection between box and Sql Managed Instance. API Version: 2021-05-01-preview.

suspend fun getServerTrustCertificate(certificateName: String, managedInstanceName: String, resourceGroupName: String): GetServerTrustCertificateResult
Link copied to clipboard

A server trust group. API Version: 2020-11-01-preview.

suspend fun getServerTrustGroup(locationName: String, resourceGroupName: String, serverTrustGroupName: String): GetServerTrustGroupResult
Link copied to clipboard

A server vulnerability assessment. API Version: 2020-11-01-preview.

suspend fun getServerVulnerabilityAssessment(resourceGroupName: String, serverName: String, vulnerabilityAssessmentName: String): GetServerVulnerabilityAssessmentResult
Link copied to clipboard

An Azure SQL Database sync agent. API Version: 2020-11-01-preview.

suspend fun getSyncAgent(resourceGroupName: String, serverName: String, syncAgentName: String): GetSyncAgentResult
Link copied to clipboard

An Azure SQL Database sync group. API Version: 2020-11-01-preview.

suspend fun getSyncGroup(databaseName: String, resourceGroupName: String, serverName: String, syncGroupName: String): GetSyncGroupResult
Link copied to clipboard

An Azure SQL Database sync member. API Version: 2020-11-01-preview.

suspend fun getSyncMember(databaseName: String, resourceGroupName: String, serverName: String, syncGroupName: String, syncMemberName: String): GetSyncMemberResult
Link copied to clipboard

Represents a database transparent data encryption configuration. API Version: 2014-04-01.

suspend fun getTransparentDataEncryption(databaseName: String, resourceGroupName: String, serverName: String, transparentDataEncryptionName: String): GetTransparentDataEncryptionResult
Link copied to clipboard

A virtual network rule. API Version: 2020-11-01-preview.

suspend fun getVirtualNetworkRule(resourceGroupName: String, serverName: String, virtualNetworkRuleName: String): GetVirtualNetworkRuleResult
Link copied to clipboard

Workload classifier operations for a data warehouse API Version: 2020-11-01-preview.

suspend fun getWorkloadClassifier(databaseName: String, resourceGroupName: String, serverName: String, workloadClassifierName: String, workloadGroupName: String): GetWorkloadClassifierResult
Link copied to clipboard

Workload group operations for a data warehouse API Version: 2020-11-01-preview.

suspend fun getWorkloadGroup(databaseName: String, resourceGroupName: String, serverName: String, workloadGroupName: String): GetWorkloadGroupResult