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:
- Database
Name string The name of the database.
- Geo
Backup stringPolicy Name The name of the geo backup policy.
- Resource
Group stringName 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 string The name of the server.
- Database
Name string The name of the database.
- Geo
Backup stringPolicy Name The name of the geo backup policy.
- Resource
Group stringName 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 string The name of the server.
- database
Name String The name of the database.
- geo
Backup StringPolicy Name The name of the geo backup policy.
- resource
Group StringName 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 String The name of the server.
- database
Name string The name of the database.
- geo
Backup stringPolicy Name The name of the geo backup policy.
- resource
Group stringName 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 string The name of the server.
- database_
name str The name of the database.
- geo_
backup_ strpolicy_ name The name of the geo backup policy.
- resource_
group_ strname 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.
- database
Name String The name of the database.
- geo
Backup StringPolicy Name The name of the geo backup policy.
- resource
Group StringName 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 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.
- Storage
Type 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.
- Storage
Type 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.
- storage
Type 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.
- storage
Type 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.
- storage
Type 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