-
Notifications
You must be signed in to change notification settings - Fork 10
/
azure-mssql-fog-run-failover.yml
75 lines (75 loc) · 3.12 KB
/
azure-mssql-fog-run-failover.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Copyright 2020 Pivotal Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
version: 1
name: csb-azure-mssql-fog-run-failover
id: 50ef4ced-e7ac-48dc-8bfc-c86bfeafe964
description: Fails primary to secondary on existing Azure SQL Failover Group
display_name: Runs failover from primary to secondary on existing AZure SQL Failover group
image_url: file://service-images/csb.png
documentation_url: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-auto-failover-group/
support_url: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-auto-failover-group/
tags: [azure, dr, failover, preview]
plans:
- name: standard
id: 7ddab73f-3856-414b-923e-4f07a11dc3dc
description: Failover primary to secondary on targeted failover group database, deleting service instance will 'fail back' to primary server.
display_name: "standard"
free: true
provision:
user_inputs:
- field_name: fog_instance_name
type: string
details: Name of failover group to target
required: true
- field_name: server_pair_name
type: string
details: Name of server pair from server_credential_pairs to create database upon
required: true
- field_name: server_pairs
type: object
details: 'JSON hash of server pair name to set of server names. { "name": { "primary":{"server_name":"...", "resource_group":..."}, "secondary":{"server_name":"...", "resource_group":..."}, ...}'
required: true
- field_name: azure_tenant_id
type: string
details: Azure Tenant to create resource in
default: ${config("azure.tenant_id")}
- field_name: azure_subscription_id
type: string
details: Azure Subscription to create resource in
default: ${config("azure.subscription_id")}
- field_name: azure_client_id
type: string
details: Client ID of Azure principal
default: ${config("azure.client_id")}
- field_name: azure_client_secret
type: string
details: Client secret for Azure principal
default: ${config("azure.client_secret")}
- field_name: skip_provider_registration
type: boolean
details: Skip automatic Azure provider registration, set to true if service principal being used does not have rights to register providers
default: false
template_refs:
versions: terraform/azure-mssql-db-failover/run-failover/run-failover-versions.tf
variables: terraform/azure-mssql-db-failover/run-failover/variables.tf
providers: terraform/azure-mssql-db-failover/run-failover/run-failover-providers.tf
main: terraform/azure-mssql-db-failover/run-failover/run-failover.tf
computed_inputs: []
outputs: []
bind:
plan_inputs: []
user_inputs: []
computed_inputs: []
outputs: []