azure-native.sql.getGeoBackupPolicy

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

Using getGeoBackupPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGeoBackupPolicy(args: GetGeoBackupPolicyArgs, opts?: InvokeOptions): Promise<GetGeoBackupPolicyResult>
function getGeoBackupPolicyOutput(args: GetGeoBackupPolicyOutputArgs, opts?: InvokeOptions): Output<GetGeoBackupPolicyResult>
def get_geo_backup_policy(database_name: Optional[str] = None,
                          geo_backup_policy_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          server_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetGeoBackupPolicyResult
def get_geo_backup_policy_output(database_name: Optional[pulumi.Input[str]] = None,
                          geo_backup_policy_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          server_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetGeoBackupPolicyResult]
func LookupGeoBackupPolicy(ctx *Context, args *LookupGeoBackupPolicyArgs, opts ...InvokeOption) (*LookupGeoBackupPolicyResult, error)
func LookupGeoBackupPolicyOutput(ctx *Context, args *LookupGeoBackupPolicyOutputArgs, opts ...InvokeOption) LookupGeoBackupPolicyResultOutput

> Note: This function is named LookupGeoBackupPolicy in the Go SDK.

public static class GetGeoBackupPolicy 
{
    public static Task<GetGeoBackupPolicyResult> InvokeAsync(GetGeoBackupPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetGeoBackupPolicyResult> Invoke(GetGeoBackupPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGeoBackupPolicyResult> getGeoBackupPolicy(GetGeoBackupPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:sql:getGeoBackupPolicy
  arguments:
    # arguments dictionary

The following arguments are supported:

DatabaseName string

The name of the database.

GeoBackupPolicyName string

The name of the geo backup policy.

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

ServerName string

The name of the server.

DatabaseName string

The name of the database.

GeoBackupPolicyName string

The name of the geo backup policy.

ResourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

ServerName string

The name of the server.

databaseName String

The name of the database.

geoBackupPolicyName String

The name of the geo backup policy.

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName String

The name of the server.

databaseName string

The name of the database.

geoBackupPolicyName string

The name of the geo backup policy.

resourceGroupName string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName string

The name of the server.

database_name str

The name of the database.

geo_backup_policy_name str

The name of the geo backup policy.

resource_group_name str

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

server_name str

The name of the server.

databaseName String

The name of the database.

geoBackupPolicyName String

The name of the geo backup policy.

resourceGroupName String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName String

The name of the server.

getGeoBackupPolicy Result

The following output properties are available:

Id string

Resource ID.

Kind string

Kind of geo backup policy. This is metadata used for the Azure portal experience.

Location string

Backup policy location.

Name string

Resource name.

State string

The state of the geo backup policy.

StorageType string

The storage type of the geo backup policy.

Type string

Resource type.

Id string

Resource ID.

Kind string

Kind of geo backup policy. This is metadata used for the Azure portal experience.

Location string

Backup policy location.

Name string

Resource name.

State string

The state of the geo backup policy.

StorageType string

The storage type of the geo backup policy.

Type string

Resource type.

id String

Resource ID.

kind String

Kind of geo backup policy. This is metadata used for the Azure portal experience.

location String

Backup policy location.

name String

Resource name.

state String

The state of the geo backup policy.

storageType String

The storage type of the geo backup policy.

type String

Resource type.

id string

Resource ID.

kind string

Kind of geo backup policy. This is metadata used for the Azure portal experience.

location string

Backup policy location.

name string

Resource name.

state string

The state of the geo backup policy.

storageType string

The storage type of the geo backup policy.

type string

Resource type.

id str

Resource ID.

kind str

Kind of geo backup policy. This is metadata used for the Azure portal experience.

location str

Backup policy location.

name str

Resource name.

state str

The state of the geo backup policy.

storage_type str

The storage type of the geo backup policy.

type str

Resource type.

id String

Resource ID.

kind String

Kind of geo backup policy. This is metadata used for the Azure portal experience.

location String

Backup policy location.

name String

Resource name.

state String

The state of the geo backup policy.

storageType String

The storage type of the geo backup policy.

type String

Resource type.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0