mirror of
https://github.com/ansible/awx.git
synced 2026-06-30 19:08:02 -02:30
remove azure
This commit is contained in:
committed by
Ryan Petrello
parent
4cc58a221b
commit
a08a158672
@@ -57,7 +57,6 @@ class V1Credential(object):
|
||||
('satellite6', 'Red Hat Satellite 6'),
|
||||
('cloudforms', 'Red Hat CloudForms'),
|
||||
('gce', 'Google Compute Engine'),
|
||||
('azure', 'Microsoft Azure Classic (deprecated)'),
|
||||
('azure_rm', 'Microsoft Azure Resource Manager'),
|
||||
('openstack', 'OpenStack'),
|
||||
('insights', 'Insights'),
|
||||
@@ -934,35 +933,6 @@ def gce(cls):
|
||||
)
|
||||
|
||||
|
||||
@CredentialType.default
|
||||
def azure(cls):
|
||||
return cls(
|
||||
kind='cloud',
|
||||
name='Microsoft Azure Classic (deprecated)',
|
||||
managed_by_tower=True,
|
||||
inputs={
|
||||
'fields': [{
|
||||
'id': 'username',
|
||||
'label': 'Subscription ID',
|
||||
'type': 'string',
|
||||
'help_text': ('Subscription ID is an Azure construct, which is '
|
||||
'mapped to a username.')
|
||||
}, {
|
||||
'id': 'ssh_key_data',
|
||||
'label': 'Management Certificate',
|
||||
'type': 'string',
|
||||
'format': 'ssh_private_key',
|
||||
'secret': True,
|
||||
'multiline': True,
|
||||
'help_text': ('Paste the contents of the PEM file that corresponds '
|
||||
'to the certificate you uploaded in the Microsoft '
|
||||
'Azure console.')
|
||||
}],
|
||||
'required': ['username', 'ssh_key_data'],
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@CredentialType.default
|
||||
def azure_rm(cls):
|
||||
return cls(
|
||||
|
||||
Reference in New Issue
Block a user