SqlFunctions

Functions

Link copied to clipboard

Gets a database's short term retention policy. API Version: 2020-11-01-preview.

suspend fun getBackupShortTermRetentionPolicy(databaseName: String, policyName: String, resourceGroupName: String, serverName: String): GetBackupShortTermRetentionPolicyResult
Link copied to clipboard

Gets a database. 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

Gets a database advisor. API Version: 2020-11-01-preview.

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

Gets a database's 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

Gets a database's 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

Gets the database's vulnerability assessment. API Version: 2020-11-01-preview.

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

Gets 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

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

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

Gets a distributed availability group info. API Version: 2021-05-01-preview.

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

Gets an elastic pool. API Version: 2020-11-01-preview.

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

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

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

Gets a failover group. API Version: 2020-11-01-preview.

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

Gets a firewall rule. API Version: 2020-11-01-preview.

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

Gets a geo backup policy. API Version: 2014-04-01.

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

Gets a failover group. API Version: 2020-11-01-preview.

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

Gets an instance pool. API Version: 2020-11-01-preview.

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

Gets an IPv6 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

Gets 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

Gets a 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

Gets a jobs credential. API Version: 2020-11-01-preview.

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

Gets a job step in a job's current version. 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

Gets a target group. API Version: 2020-11-01-preview.

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

Gets a database's 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

Gets a managed database. API Version: 2020-11-01-preview.

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

Gets the sensitivity label of a given column 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

Gets a managed instance. API Version: 2020-11-01-preview.

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

Gets a managed instance administrator. API Version: 2020-11-01-preview.

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

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

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

Gets a server DNS alias. API Version: 2021-11-01-preview.

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

Gets an outbound firewall rule. API Version: 2021-02-01-preview.

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

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

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

Gets the sensitivity label of a given column 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

Gets a 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

Gets a server advisor. API Version: 2020-11-01-preview.

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

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

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

Gets a specific Azure Active Directory only authentication property. API Version: 2020-11-01-preview.

suspend fun getServerAzureADOnlyAuthentication(authenticationName: String, resourceGroupName: String, serverName: String): GetServerAzureADOnlyAuthenticationResult
Link copied to clipboard

Gets a server's blob auditing policy. API Version: 2020-11-01-preview.

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

Returns a server communication link. API Version: 2014-04-01.

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

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

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

Gets a server key. API Version: 2020-11-01-preview.

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

Get a server's security alert policy. API Version: 2020-11-01-preview.

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

Gets a server trust certificate that was uploaded from box to Sql Managed Instance. API Version: 2021-05-01-preview.

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

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

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

Gets the server's vulnerability assessment. API Version: 2020-11-01-preview.

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

Gets a sync agent. API Version: 2020-11-01-preview.

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

Gets a sync group. API Version: 2020-11-01-preview.

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

Gets a 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

Gets a database's 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

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

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

Gets a workload classifier API Version: 2020-11-01-preview.

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

Gets a workload group API Version: 2020-11-01-preview.

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