зеркало из
1
0
Форкнуть 0
This commit is contained in:
Kai Ru 2021-03-12 10:47:45 +08:00
Родитель e4748f1538
Коммит d9ac061f3a
52 изменённых файлов: 1516 добавлений и 1844 удалений

Просмотреть файл

@ -1,4 +1,5 @@
## 2021.03.22 - Azure Ruby SDK Release
- azure_key_vault - v0.19.0
- azure_mgmt_resources - v0.18.2
- azure_sdk - v0.72.0

Просмотреть файл

@ -12,20 +12,20 @@ module Azure::Profiles::Latest
HSMSecurityDomain = Azure::KeyVault::V7_2_preview::HSMSecurityDomain
module Models
BackupKeyResult = Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
RoleAssignmentFilter = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentFilter
RoleAssignmentPropertiesWithScope = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
CertificateItem = Azure::KeyVault::V7_2_preview::Models::CertificateItem
RoleAssignment = Azure::KeyVault::V7_2_preview::Models::RoleAssignment
RoleAssignmentPropertiesWithScope = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
KeyProperties = Azure::KeyVault::V7_2_preview::Models::KeyProperties
RoleAssignmentListResult = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
RoleAssignment = Azure::KeyVault::V7_2_preview::Models::RoleAssignment
SubjectAlternativeNames = Azure::KeyVault::V7_2_preview::Models::SubjectAlternativeNames
RoleAssignmentProperties = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
RoleAssignmentListResult = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
Trigger = Azure::KeyVault::V7_2_preview::Models::Trigger
RoleAssignmentCreateParameters = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
RoleAssignmentProperties = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
LifetimeAction = Azure::KeyVault::V7_2_preview::Models::LifetimeAction
RoleDefinitionFilter = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
CertificatePolicy = Azure::KeyVault::V7_2_preview::Models::CertificatePolicy
Permission = Azure::KeyVault::V7_2_preview::Models::Permission
CertificatePolicy = Azure::KeyVault::V7_2_preview::Models::CertificatePolicy
RoleDefinitionProperties = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionProperties
CertificateIssuerItem = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerItem
SecretProperties = Azure::KeyVault::V7_2_preview::Models::SecretProperties
Error = Azure::KeyVault::V7_2_preview::Models::Error
@ -37,91 +37,81 @@ module Azure::Profiles::Latest
IssuerBundle = Azure::KeyVault::V7_2_preview::Models::IssuerBundle
CertificateBundle = Azure::KeyVault::V7_2_preview::Models::CertificateBundle
Contacts = Azure::KeyVault::V7_2_preview::Models::Contacts
SecurityDomainOperationStatus = Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
CertificateImportParameters = Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters
RoleDefinition = Azure::KeyVault::V7_2_preview::Models::RoleDefinition
CertificateMergeParameters = Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters
RoleDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
CertificateIssuerUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerUpdateParameters
SecurityDomainObject = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
CertificateListResult = Azure::KeyVault::V7_2_preview::Models::CertificateListResult
SecretBundle = Azure::KeyVault::V7_2_preview::Models::SecretBundle
CertificateIssuerListResult = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerListResult
SecretItem = Azure::KeyVault::V7_2_preview::Models::SecretItem
CertificateRestoreParameters = Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters
SecurityDomainObjectData = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectData
Attributes = Azure::KeyVault::V7_2_preview::Models::Attributes
SecurityDomainObjectDataSharedKeys = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectDataSharedKeys
KeyReleaseCondition = Azure::KeyVault::V7_2_preview::Models::KeyReleaseCondition
SecretRestoreParameters = Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
KeyReleasePolicy = Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicy
SecretSetParameters = Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
SecurityDomainUploadObject = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObject
SecretUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
KeyItem = Azure::KeyVault::V7_2_preview::Models::KeyItem
SecretListResult = Azure::KeyVault::V7_2_preview::Models::SecretListResult
SecurityDomainUploadObjectValueWrappedKey = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValueWrappedKey
DeletedSecretListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
KeyImportParameters = Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
BackupSecretResult = Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
KeyOperationsParameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
StorageRestoreParameters = Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
KeyVerifyParameters = Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
StorageAccountAttributes = Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
KeyRestoreParameters = Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
StorageBundle = Azure::KeyVault::V7_2_preview::Models::StorageBundle
KeyVerifyResult = Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
Key = Azure::KeyVault::V7_2_preview::Models::Key
DeletedKeyListResult = Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
StorageAccountCreateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
CertificateInfoObject = Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject
StorageAccountUpdateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
AdministratorDetails = Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
Contact = Azure::KeyVault::V7_2_preview::Models::Contact
StorageAccountItem = Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
CertificateUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
EncDataSet = Azure::KeyVault::V7_2_preview::Models::EncDataSet
CertificateOperationUpdateParameter = Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
StorageListResult = Azure::KeyVault::V7_2_preview::Models::StorageListResult
PendingCertificateSigningRequestResult = Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
DeletedStorageListResult = Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
KeyVaultError = Azure::KeyVault::V7_2_preview::Models::KeyVaultError
SasDefinitionAttributes = Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
JsonWebKey = Azure::KeyVault::V7_2_preview::Models::JsonWebKey
SasDefinitionBundle = Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
SecurityDomainUploadObjectValue = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValue
EncDataSetItem = Azure::KeyVault::V7_2_preview::Models::EncDataSetItem
KeyExportParameters = Azure::KeyVault::V7_2_preview::Models::KeyExportParameters
SasDefinitionItem = Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
KeyUpdateParameters = Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
TransferKey = Azure::KeyVault::V7_2_preview::Models::TransferKey
KeyListResult = Azure::KeyVault::V7_2_preview::Models::KeyListResult
SasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
CertificateOperation = Azure::KeyVault::V7_2_preview::Models::CertificateOperation
DeletedSasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
CertificateCreateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
SasDefinitionCreateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
DeletedCertificateListResult = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
SasDefinitionUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
KeyReleaseAuthority = Azure::KeyVault::V7_2_preview::Models::KeyReleaseAuthority
BackupStorageResult = Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
KeyCreateParameters = Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
SASTokenParameter = Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
KeyOperationResult = Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
RestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
IssuerAttributes = Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
SelectiveKeyRestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
BackupCertificateResult = Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
SelectiveKeyRestoreOperation = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
KeySignParameters = Azure::KeyVault::V7_2_preview::Models::KeySignParameters
FullBackupOperation = Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
CertificateIssuerSetParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
RestoreOperation = Azure::KeyVault::V7_2_preview::Models::RestoreOperation
BackupKeyResult = Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
SecurityDomainJsonWebKey = Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
KeyBundle = Azure::KeyVault::V7_2_preview::Models::KeyBundle
CertificateImportParameters = Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters
RoleDefinitionCreateParameters = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionCreateParameters
CertificateMergeParameters = Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters
RoleAssignmentCreateParameters = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
CertificateIssuerUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerUpdateParameters
RoleDefinitionFilter = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
CertificateListResult = Azure::KeyVault::V7_2_preview::Models::CertificateListResult
RoleDefinition = Azure::KeyVault::V7_2_preview::Models::RoleDefinition
CertificateIssuerListResult = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerListResult
RoleDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
CertificateRestoreParameters = Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters
SecurityDomainCertificateItem = Azure::KeyVault::V7_2_preview::Models::SecurityDomainCertificateItem
Attributes = Azure::KeyVault::V7_2_preview::Models::Attributes
SecretBundle = Azure::KeyVault::V7_2_preview::Models::SecretBundle
JsonWebKey = Azure::KeyVault::V7_2_preview::Models::JsonWebKey
SecretItem = Azure::KeyVault::V7_2_preview::Models::SecretItem
KeyBundle = Azure::KeyVault::V7_2_preview::Models::KeyBundle
SecurityDomainJsonWebKey = Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
SecurityDomainObject = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
RestoreOperation = Azure::KeyVault::V7_2_preview::Models::RestoreOperation
KeyCreateParameters = Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
SecretRestoreParameters = Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
KeyOperationsParameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
SecretSetParameters = Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
KeyVerifyParameters = Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
SecretUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
KeyRestoreParameters = Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
SecretListResult = Azure::KeyVault::V7_2_preview::Models::SecretListResult
KeyVerifyResult = Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
DeletedSecretListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
DeletedKeyListResult = Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
BackupSecretResult = Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
StorageRestoreParameters = Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
AdministratorDetails = Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
StorageAccountAttributes = Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
Contact = Azure::KeyVault::V7_2_preview::Models::Contact
StorageBundle = Azure::KeyVault::V7_2_preview::Models::StorageBundle
CertificateUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
FullBackupOperation = Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
CertificateOperationUpdateParameter = Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
StorageAccountCreateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
PendingCertificateSigningRequestResult = Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
StorageAccountUpdateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
KeyVaultError = Azure::KeyVault::V7_2_preview::Models::KeyVaultError
StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
KeyItem = Azure::KeyVault::V7_2_preview::Models::KeyItem
StorageAccountItem = Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
KeyImportParameters = Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
SelectiveKeyRestoreOperation = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
KeyUpdateParameters = Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
StorageListResult = Azure::KeyVault::V7_2_preview::Models::StorageListResult
KeyListResult = Azure::KeyVault::V7_2_preview::Models::KeyListResult
DeletedStorageListResult = Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
CertificateOperation = Azure::KeyVault::V7_2_preview::Models::CertificateOperation
SasDefinitionAttributes = Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
CertificateCreateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
SasDefinitionBundle = Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
DeletedCertificateListResult = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
SelectiveKeyRestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
SecurityDomainOperationStatus = Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
SasDefinitionItem = Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
KeySignParameters = Azure::KeyVault::V7_2_preview::Models::KeySignParameters
RestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
SASTokenParameter = Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
IssuerAttributes = Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
SasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
BackupCertificateResult = Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
DeletedSasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
KeyOperationResult = Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
SasDefinitionCreateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
TransferKey = Azure::KeyVault::V7_2_preview::Models::TransferKey
SasDefinitionUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
CertificateIssuerSetParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
BackupStorageResult = Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
CertificateAttributes = Azure::KeyVault::V7_2_preview::Models::CertificateAttributes
DeletedCertificateBundle = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateBundle
DeletedCertificateItem = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateItem
@ -140,11 +130,13 @@ module Azure::Profiles::Latest
JsonWebKeyCurveName = Azure::KeyVault::V7_2_preview::Models::JsonWebKeyCurveName
KeyUsageType = Azure::KeyVault::V7_2_preview::Models::KeyUsageType
ActionType = Azure::KeyVault::V7_2_preview::Models::ActionType
KeyReleaseConditionCondition = Azure::KeyVault::V7_2_preview::Models::KeyReleaseConditionCondition
KeyReleasePolicyVersion = Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicyVersion
JsonWebKeyOperation = Azure::KeyVault::V7_2_preview::Models::JsonWebKeyOperation
JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V7_2_preview::Models::JsonWebKeyEncryptionAlgorithm
JsonWebKeySignatureAlgorithm = Azure::KeyVault::V7_2_preview::Models::JsonWebKeySignatureAlgorithm
RoleScope = Azure::KeyVault::V7_2_preview::Models::RoleScope
RoleType = Azure::KeyVault::V7_2_preview::Models::RoleType
DataAction = Azure::KeyVault::V7_2_preview::Models::DataAction
RoleDefinitionType = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionType
SasTokenType = Azure::KeyVault::V7_2_preview::Models::SasTokenType
OperationStatus = Azure::KeyVault::V7_2_preview::Models::OperationStatus
end
@ -181,47 +173,47 @@ module Azure::Profiles::Latest
end
class ModelClasses
def backup_key_result
Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
end
def role_assignment_filter
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentFilter
end
def role_assignment_properties_with_scope
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
end
def certificate_item
Azure::KeyVault::V7_2_preview::Models::CertificateItem
end
def role_assignment
Azure::KeyVault::V7_2_preview::Models::RoleAssignment
def role_assignment_properties_with_scope
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
end
def key_properties
Azure::KeyVault::V7_2_preview::Models::KeyProperties
end
def role_assignment_list_result
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
def role_assignment
Azure::KeyVault::V7_2_preview::Models::RoleAssignment
end
def subject_alternative_names
Azure::KeyVault::V7_2_preview::Models::SubjectAlternativeNames
end
def role_assignment_properties
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
def role_assignment_list_result
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
end
def trigger
Azure::KeyVault::V7_2_preview::Models::Trigger
end
def role_assignment_create_parameters
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
def role_assignment_properties
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
end
def lifetime_action
Azure::KeyVault::V7_2_preview::Models::LifetimeAction
end
def role_definition_filter
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
def permission
Azure::KeyVault::V7_2_preview::Models::Permission
end
def certificate_policy
Azure::KeyVault::V7_2_preview::Models::CertificatePolicy
end
def permission
Azure::KeyVault::V7_2_preview::Models::Permission
def role_definition_properties
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionProperties
end
def certificate_issuer_item
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerItem
@ -256,260 +248,230 @@ module Azure::Profiles::Latest
def contacts
Azure::KeyVault::V7_2_preview::Models::Contacts
end
def security_domain_operation_status
Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
def certificate_info_object
Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject
end
def certificate_import_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters
end
def role_definition
Azure::KeyVault::V7_2_preview::Models::RoleDefinition
def role_definition_create_parameters
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionCreateParameters
end
def certificate_merge_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters
end
def role_definition_list_result
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
def role_assignment_create_parameters
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
end
def certificate_issuer_update_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerUpdateParameters
end
def security_domain_object
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
def role_definition_filter
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
end
def certificate_list_result
Azure::KeyVault::V7_2_preview::Models::CertificateListResult
end
def secret_bundle
Azure::KeyVault::V7_2_preview::Models::SecretBundle
def role_definition
Azure::KeyVault::V7_2_preview::Models::RoleDefinition
end
def certificate_issuer_list_result
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerListResult
end
def secret_item
Azure::KeyVault::V7_2_preview::Models::SecretItem
def role_definition_list_result
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
end
def certificate_restore_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters
end
def security_domain_object_data
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectData
def security_domain_certificate_item
Azure::KeyVault::V7_2_preview::Models::SecurityDomainCertificateItem
end
def attributes
Azure::KeyVault::V7_2_preview::Models::Attributes
end
def security_domain_object_data_shared_keys
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectDataSharedKeys
end
def key_release_condition
Azure::KeyVault::V7_2_preview::Models::KeyReleaseCondition
end
def secret_restore_parameters
Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
end
def key_release_policy
Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicy
end
def secret_set_parameters
Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
end
def security_domain_upload_object
Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObject
end
def secret_update_parameters
Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
end
def key_item
Azure::KeyVault::V7_2_preview::Models::KeyItem
end
def secret_list_result
Azure::KeyVault::V7_2_preview::Models::SecretListResult
end
def security_domain_upload_object_value_wrapped_key
Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValueWrappedKey
end
def deleted_secret_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
end
def key_import_parameters
Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
end
def backup_secret_result
Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
end
def key_operations_parameters
Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
end
def storage_restore_parameters
Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
end
def key_verify_parameters
Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
end
def storage_account_attributes
Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
end
def key_restore_parameters
Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
end
def storage_bundle
Azure::KeyVault::V7_2_preview::Models::StorageBundle
end
def key_verify_result
Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
end
def key
Azure::KeyVault::V7_2_preview::Models::Key
end
def deleted_key_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
end
def storage_account_create_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
end
def certificate_info_object
Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject
end
def storage_account_update_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
end
def administrator_details
Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
end
def storage_account_regenerte_key_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
end
def contact
Azure::KeyVault::V7_2_preview::Models::Contact
end
def storage_account_item
Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
end
def certificate_update_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
end
def enc_data_set
Azure::KeyVault::V7_2_preview::Models::EncDataSet
end
def certificate_operation_update_parameter
Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
end
def storage_list_result
Azure::KeyVault::V7_2_preview::Models::StorageListResult
end
def pending_certificate_signing_request_result
Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
end
def deleted_storage_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
end
def key_vault_error
Azure::KeyVault::V7_2_preview::Models::KeyVaultError
end
def sas_definition_attributes
Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
def secret_bundle
Azure::KeyVault::V7_2_preview::Models::SecretBundle
end
def json_web_key
Azure::KeyVault::V7_2_preview::Models::JsonWebKey
end
def sas_definition_bundle
Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
end
def security_domain_upload_object_value
Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValue
end
def enc_data_set_item
Azure::KeyVault::V7_2_preview::Models::EncDataSetItem
end
def key_export_parameters
Azure::KeyVault::V7_2_preview::Models::KeyExportParameters
end
def sas_definition_item
Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
end
def key_update_parameters
Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
end
def transfer_key
Azure::KeyVault::V7_2_preview::Models::TransferKey
end
def key_list_result
Azure::KeyVault::V7_2_preview::Models::KeyListResult
end
def sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
end
def certificate_operation
Azure::KeyVault::V7_2_preview::Models::CertificateOperation
end
def deleted_sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
end
def certificate_create_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
end
def sas_definition_create_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
end
def deleted_certificate_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
end
def sas_definition_update_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
end
def key_release_authority
Azure::KeyVault::V7_2_preview::Models::KeyReleaseAuthority
end
def backup_storage_result
Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
end
def key_create_parameters
Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
end
def sastoken_parameter
Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
end
def key_operation_result
Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
end
def restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
end
def issuer_attributes
Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
end
def selective_key_restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
end
def backup_certificate_result
Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
end
def selective_key_restore_operation
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
end
def key_sign_parameters
Azure::KeyVault::V7_2_preview::Models::KeySignParameters
end
def full_backup_operation
Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
end
def certificate_issuer_set_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
end
def restore_operation
Azure::KeyVault::V7_2_preview::Models::RestoreOperation
end
def backup_key_result
Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
end
def security_domain_json_web_key
Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
def secret_item
Azure::KeyVault::V7_2_preview::Models::SecretItem
end
def key_bundle
Azure::KeyVault::V7_2_preview::Models::KeyBundle
end
def security_domain_certificate_item
Azure::KeyVault::V7_2_preview::Models::SecurityDomainCertificateItem
def security_domain_json_web_key
Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
end
def security_domain_object
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
end
def restore_operation
Azure::KeyVault::V7_2_preview::Models::RestoreOperation
end
def key_create_parameters
Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
end
def secret_restore_parameters
Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
end
def key_operations_parameters
Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
end
def secret_set_parameters
Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
end
def key_verify_parameters
Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
end
def secret_update_parameters
Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
end
def key_restore_parameters
Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
end
def secret_list_result
Azure::KeyVault::V7_2_preview::Models::SecretListResult
end
def key_verify_result
Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
end
def deleted_secret_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
end
def deleted_key_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
end
def backup_secret_result
Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
end
def storage_restore_parameters
Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
end
def administrator_details
Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
end
def storage_account_attributes
Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
end
def contact
Azure::KeyVault::V7_2_preview::Models::Contact
end
def storage_bundle
Azure::KeyVault::V7_2_preview::Models::StorageBundle
end
def certificate_update_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
end
def full_backup_operation
Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
end
def certificate_operation_update_parameter
Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
end
def storage_account_create_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
end
def pending_certificate_signing_request_result
Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
end
def storage_account_update_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
end
def key_vault_error
Azure::KeyVault::V7_2_preview::Models::KeyVaultError
end
def storage_account_regenerte_key_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
end
def key_item
Azure::KeyVault::V7_2_preview::Models::KeyItem
end
def storage_account_item
Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
end
def key_import_parameters
Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
end
def selective_key_restore_operation
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
end
def key_update_parameters
Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
end
def storage_list_result
Azure::KeyVault::V7_2_preview::Models::StorageListResult
end
def key_list_result
Azure::KeyVault::V7_2_preview::Models::KeyListResult
end
def deleted_storage_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
end
def certificate_operation
Azure::KeyVault::V7_2_preview::Models::CertificateOperation
end
def sas_definition_attributes
Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
end
def certificate_create_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
end
def sas_definition_bundle
Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
end
def deleted_certificate_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
end
def selective_key_restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
end
def security_domain_operation_status
Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
end
def sas_definition_item
Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
end
def key_sign_parameters
Azure::KeyVault::V7_2_preview::Models::KeySignParameters
end
def restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
end
def sastoken_parameter
Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
end
def issuer_attributes
Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
end
def sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
end
def backup_certificate_result
Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
end
def deleted_sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
end
def key_operation_result
Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
end
def sas_definition_create_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
end
def transfer_key
Azure::KeyVault::V7_2_preview::Models::TransferKey
end
def sas_definition_update_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
end
def certificate_issuer_set_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
end
def backup_storage_result
Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
end
def certificate_attributes
Azure::KeyVault::V7_2_preview::Models::CertificateAttributes
@ -565,12 +527,6 @@ module Azure::Profiles::Latest
def action_type
Azure::KeyVault::V7_2_preview::Models::ActionType
end
def key_release_condition_condition
Azure::KeyVault::V7_2_preview::Models::KeyReleaseConditionCondition
end
def key_release_policy_version
Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicyVersion
end
def json_web_key_operation
Azure::KeyVault::V7_2_preview::Models::JsonWebKeyOperation
end
@ -580,6 +536,18 @@ module Azure::Profiles::Latest
def json_web_key_signature_algorithm
Azure::KeyVault::V7_2_preview::Models::JsonWebKeySignatureAlgorithm
end
def role_scope
Azure::KeyVault::V7_2_preview::Models::RoleScope
end
def role_type
Azure::KeyVault::V7_2_preview::Models::RoleType
end
def data_action
Azure::KeyVault::V7_2_preview::Models::DataAction
end
def role_definition_type
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionType
end
def sas_token_type
Azure::KeyVault::V7_2_preview::Models::SasTokenType
end

Просмотреть файл

@ -1,4 +1,7 @@
{
"data": [
"azure_key_vault"
],
"management": [
"azure_mgmt_resources"
],

Просмотреть файл

@ -29,7 +29,7 @@
"azure_cognitiveservices_visualsearch": "0.18.2",
"azure_event_grid": "0.18.1",
"azure_graph_rbac": "0.17.2",
"azure_key_vault": "0.18.1",
"azure_key_vault": "0.19.0",
"azure_service_fabric": "0.18.1"
},
"management": {

Просмотреть файл

@ -4027,37 +4027,37 @@
},
"azure_key_vault":{
"azure_key_vault_2016_10_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V2016_10_01",
"tag": "package-2016-10"
},
"azure_key_vault_2015_06_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V2015_06_01",
"tag": "package-2015-06"
},
"azure_key_vault_7_0_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V7_0_preview",
"tag": "package-7.0-preview"
},
"azure_key_vault_7_0": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V7_0",
"tag": "package-7.0"
},
"azure_key_vault_7_1_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V7_1_preview",
"tag": "package-7.1-preview"
},
"azure_key_vault_7_1": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V7_1",
"tag": "package-7.1"
},
"azure_key_vault_7_2_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/keyvault/data-plane/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/9cee82c90c9c188dda3cf33a9816bdcdb395f00a/specification/keyvault/data-plane/readme.md",
"namespace": "Azure::KeyVault::V7_2_preview",
"tag": "package-7.2-preview"
}

Просмотреть файл

@ -6180,7 +6180,7 @@ module Azure::KeyVault::V2015_06_01
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -10924,7 +10924,7 @@ module Azure::KeyVault::V2016_10_01
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -12643,7 +12643,7 @@ module Azure::KeyVault::V7_0_preview
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -12652,7 +12652,7 @@ module Azure::KeyVault::V7_0
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -12655,7 +12655,7 @@ module Azure::KeyVault::V7_1_preview
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -12652,7 +12652,7 @@ module Azure::KeyVault::V7_1
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -26,20 +26,20 @@ module Azure::KeyVault::V7_2_preview
autoload :KeyVaultClient, '7.2-preview/generated/azure_key_vault/key_vault_client.rb'
module Models
autoload :BackupKeyResult, '7.2-preview/generated/azure_key_vault/models/backup_key_result.rb'
autoload :RoleAssignmentFilter, '7.2-preview/generated/azure_key_vault/models/role_assignment_filter.rb'
autoload :RoleAssignmentPropertiesWithScope, '7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb'
autoload :CertificateItem, '7.2-preview/generated/azure_key_vault/models/certificate_item.rb'
autoload :RoleAssignment, '7.2-preview/generated/azure_key_vault/models/role_assignment.rb'
autoload :RoleAssignmentPropertiesWithScope, '7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb'
autoload :KeyProperties, '7.2-preview/generated/azure_key_vault/models/key_properties.rb'
autoload :RoleAssignmentListResult, '7.2-preview/generated/azure_key_vault/models/role_assignment_list_result.rb'
autoload :RoleAssignment, '7.2-preview/generated/azure_key_vault/models/role_assignment.rb'
autoload :SubjectAlternativeNames, '7.2-preview/generated/azure_key_vault/models/subject_alternative_names.rb'
autoload :RoleAssignmentProperties, '7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb'
autoload :RoleAssignmentListResult, '7.2-preview/generated/azure_key_vault/models/role_assignment_list_result.rb'
autoload :Trigger, '7.2-preview/generated/azure_key_vault/models/trigger.rb'
autoload :RoleAssignmentCreateParameters, '7.2-preview/generated/azure_key_vault/models/role_assignment_create_parameters.rb'
autoload :RoleAssignmentProperties, '7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb'
autoload :LifetimeAction, '7.2-preview/generated/azure_key_vault/models/lifetime_action.rb'
autoload :RoleDefinitionFilter, '7.2-preview/generated/azure_key_vault/models/role_definition_filter.rb'
autoload :CertificatePolicy, '7.2-preview/generated/azure_key_vault/models/certificate_policy.rb'
autoload :Permission, '7.2-preview/generated/azure_key_vault/models/permission.rb'
autoload :CertificatePolicy, '7.2-preview/generated/azure_key_vault/models/certificate_policy.rb'
autoload :RoleDefinitionProperties, '7.2-preview/generated/azure_key_vault/models/role_definition_properties.rb'
autoload :CertificateIssuerItem, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_item.rb'
autoload :SecretProperties, '7.2-preview/generated/azure_key_vault/models/secret_properties.rb'
autoload :Error, '7.2-preview/generated/azure_key_vault/models/error.rb'
@ -51,91 +51,81 @@ module Azure::KeyVault::V7_2_preview
autoload :IssuerBundle, '7.2-preview/generated/azure_key_vault/models/issuer_bundle.rb'
autoload :CertificateBundle, '7.2-preview/generated/azure_key_vault/models/certificate_bundle.rb'
autoload :Contacts, '7.2-preview/generated/azure_key_vault/models/contacts.rb'
autoload :SecurityDomainOperationStatus, '7.2-preview/generated/azure_key_vault/models/security_domain_operation_status.rb'
autoload :CertificateImportParameters, '7.2-preview/generated/azure_key_vault/models/certificate_import_parameters.rb'
autoload :RoleDefinition, '7.2-preview/generated/azure_key_vault/models/role_definition.rb'
autoload :CertificateMergeParameters, '7.2-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb'
autoload :RoleDefinitionListResult, '7.2-preview/generated/azure_key_vault/models/role_definition_list_result.rb'
autoload :CertificateIssuerUpdateParameters, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb'
autoload :SecurityDomainObject, '7.2-preview/generated/azure_key_vault/models/security_domain_object.rb'
autoload :CertificateListResult, '7.2-preview/generated/azure_key_vault/models/certificate_list_result.rb'
autoload :SecretBundle, '7.2-preview/generated/azure_key_vault/models/secret_bundle.rb'
autoload :CertificateIssuerListResult, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb'
autoload :SecretItem, '7.2-preview/generated/azure_key_vault/models/secret_item.rb'
autoload :CertificateRestoreParameters, '7.2-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb'
autoload :SecurityDomainObjectData, '7.2-preview/generated/azure_key_vault/models/security_domain_object_data.rb'
autoload :Attributes, '7.2-preview/generated/azure_key_vault/models/attributes.rb'
autoload :SecurityDomainObjectDataSharedKeys, '7.2-preview/generated/azure_key_vault/models/security_domain_object_data_shared_keys.rb'
autoload :KeyReleaseCondition, '7.2-preview/generated/azure_key_vault/models/key_release_condition.rb'
autoload :SecretRestoreParameters, '7.2-preview/generated/azure_key_vault/models/secret_restore_parameters.rb'
autoload :KeyReleasePolicy, '7.2-preview/generated/azure_key_vault/models/key_release_policy.rb'
autoload :SecretSetParameters, '7.2-preview/generated/azure_key_vault/models/secret_set_parameters.rb'
autoload :SecurityDomainUploadObject, '7.2-preview/generated/azure_key_vault/models/security_domain_upload_object.rb'
autoload :SecretUpdateParameters, '7.2-preview/generated/azure_key_vault/models/secret_update_parameters.rb'
autoload :KeyItem, '7.2-preview/generated/azure_key_vault/models/key_item.rb'
autoload :SecretListResult, '7.2-preview/generated/azure_key_vault/models/secret_list_result.rb'
autoload :SecurityDomainUploadObjectValueWrappedKey, '7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value_wrapped_key.rb'
autoload :DeletedSecretListResult, '7.2-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb'
autoload :KeyImportParameters, '7.2-preview/generated/azure_key_vault/models/key_import_parameters.rb'
autoload :BackupSecretResult, '7.2-preview/generated/azure_key_vault/models/backup_secret_result.rb'
autoload :KeyOperationsParameters, '7.2-preview/generated/azure_key_vault/models/key_operations_parameters.rb'
autoload :StorageRestoreParameters, '7.2-preview/generated/azure_key_vault/models/storage_restore_parameters.rb'
autoload :KeyVerifyParameters, '7.2-preview/generated/azure_key_vault/models/key_verify_parameters.rb'
autoload :StorageAccountAttributes, '7.2-preview/generated/azure_key_vault/models/storage_account_attributes.rb'
autoload :KeyRestoreParameters, '7.2-preview/generated/azure_key_vault/models/key_restore_parameters.rb'
autoload :StorageBundle, '7.2-preview/generated/azure_key_vault/models/storage_bundle.rb'
autoload :KeyVerifyResult, '7.2-preview/generated/azure_key_vault/models/key_verify_result.rb'
autoload :Key, '7.2-preview/generated/azure_key_vault/models/key.rb'
autoload :DeletedKeyListResult, '7.2-preview/generated/azure_key_vault/models/deleted_key_list_result.rb'
autoload :StorageAccountCreateParameters, '7.2-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb'
autoload :CertificateInfoObject, '7.2-preview/generated/azure_key_vault/models/certificate_info_object.rb'
autoload :StorageAccountUpdateParameters, '7.2-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb'
autoload :AdministratorDetails, '7.2-preview/generated/azure_key_vault/models/administrator_details.rb'
autoload :StorageAccountRegenerteKeyParameters, '7.2-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb'
autoload :Contact, '7.2-preview/generated/azure_key_vault/models/contact.rb'
autoload :StorageAccountItem, '7.2-preview/generated/azure_key_vault/models/storage_account_item.rb'
autoload :CertificateUpdateParameters, '7.2-preview/generated/azure_key_vault/models/certificate_update_parameters.rb'
autoload :EncDataSet, '7.2-preview/generated/azure_key_vault/models/enc_data_set.rb'
autoload :CertificateOperationUpdateParameter, '7.2-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb'
autoload :StorageListResult, '7.2-preview/generated/azure_key_vault/models/storage_list_result.rb'
autoload :PendingCertificateSigningRequestResult, '7.2-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb'
autoload :DeletedStorageListResult, '7.2-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb'
autoload :KeyVaultError, '7.2-preview/generated/azure_key_vault/models/key_vault_error.rb'
autoload :SasDefinitionAttributes, '7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb'
autoload :JsonWebKey, '7.2-preview/generated/azure_key_vault/models/json_web_key.rb'
autoload :SasDefinitionBundle, '7.2-preview/generated/azure_key_vault/models/sas_definition_bundle.rb'
autoload :SecurityDomainUploadObjectValue, '7.2-preview/generated/azure_key_vault/models/security_domain_upload_object_value.rb'
autoload :EncDataSetItem, '7.2-preview/generated/azure_key_vault/models/enc_data_set_item.rb'
autoload :KeyExportParameters, '7.2-preview/generated/azure_key_vault/models/key_export_parameters.rb'
autoload :SasDefinitionItem, '7.2-preview/generated/azure_key_vault/models/sas_definition_item.rb'
autoload :KeyUpdateParameters, '7.2-preview/generated/azure_key_vault/models/key_update_parameters.rb'
autoload :TransferKey, '7.2-preview/generated/azure_key_vault/models/transfer_key.rb'
autoload :KeyListResult, '7.2-preview/generated/azure_key_vault/models/key_list_result.rb'
autoload :SasDefinitionListResult, '7.2-preview/generated/azure_key_vault/models/sas_definition_list_result.rb'
autoload :CertificateOperation, '7.2-preview/generated/azure_key_vault/models/certificate_operation.rb'
autoload :DeletedSasDefinitionListResult, '7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb'
autoload :CertificateCreateParameters, '7.2-preview/generated/azure_key_vault/models/certificate_create_parameters.rb'
autoload :SasDefinitionCreateParameters, '7.2-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb'
autoload :DeletedCertificateListResult, '7.2-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb'
autoload :SasDefinitionUpdateParameters, '7.2-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb'
autoload :KeyReleaseAuthority, '7.2-preview/generated/azure_key_vault/models/key_release_authority.rb'
autoload :BackupStorageResult, '7.2-preview/generated/azure_key_vault/models/backup_storage_result.rb'
autoload :KeyCreateParameters, '7.2-preview/generated/azure_key_vault/models/key_create_parameters.rb'
autoload :SASTokenParameter, '7.2-preview/generated/azure_key_vault/models/sastoken_parameter.rb'
autoload :KeyOperationResult, '7.2-preview/generated/azure_key_vault/models/key_operation_result.rb'
autoload :RestoreOperationParameters, '7.2-preview/generated/azure_key_vault/models/restore_operation_parameters.rb'
autoload :IssuerAttributes, '7.2-preview/generated/azure_key_vault/models/issuer_attributes.rb'
autoload :SelectiveKeyRestoreOperationParameters, '7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation_parameters.rb'
autoload :BackupCertificateResult, '7.2-preview/generated/azure_key_vault/models/backup_certificate_result.rb'
autoload :SelectiveKeyRestoreOperation, '7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation.rb'
autoload :KeySignParameters, '7.2-preview/generated/azure_key_vault/models/key_sign_parameters.rb'
autoload :FullBackupOperation, '7.2-preview/generated/azure_key_vault/models/full_backup_operation.rb'
autoload :CertificateIssuerSetParameters, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb'
autoload :RestoreOperation, '7.2-preview/generated/azure_key_vault/models/restore_operation.rb'
autoload :BackupKeyResult, '7.2-preview/generated/azure_key_vault/models/backup_key_result.rb'
autoload :SecurityDomainJsonWebKey, '7.2-preview/generated/azure_key_vault/models/security_domain_json_web_key.rb'
autoload :KeyBundle, '7.2-preview/generated/azure_key_vault/models/key_bundle.rb'
autoload :CertificateImportParameters, '7.2-preview/generated/azure_key_vault/models/certificate_import_parameters.rb'
autoload :RoleDefinitionCreateParameters, '7.2-preview/generated/azure_key_vault/models/role_definition_create_parameters.rb'
autoload :CertificateMergeParameters, '7.2-preview/generated/azure_key_vault/models/certificate_merge_parameters.rb'
autoload :RoleAssignmentCreateParameters, '7.2-preview/generated/azure_key_vault/models/role_assignment_create_parameters.rb'
autoload :CertificateIssuerUpdateParameters, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_update_parameters.rb'
autoload :RoleDefinitionFilter, '7.2-preview/generated/azure_key_vault/models/role_definition_filter.rb'
autoload :CertificateListResult, '7.2-preview/generated/azure_key_vault/models/certificate_list_result.rb'
autoload :RoleDefinition, '7.2-preview/generated/azure_key_vault/models/role_definition.rb'
autoload :CertificateIssuerListResult, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_list_result.rb'
autoload :RoleDefinitionListResult, '7.2-preview/generated/azure_key_vault/models/role_definition_list_result.rb'
autoload :CertificateRestoreParameters, '7.2-preview/generated/azure_key_vault/models/certificate_restore_parameters.rb'
autoload :SecurityDomainCertificateItem, '7.2-preview/generated/azure_key_vault/models/security_domain_certificate_item.rb'
autoload :Attributes, '7.2-preview/generated/azure_key_vault/models/attributes.rb'
autoload :SecretBundle, '7.2-preview/generated/azure_key_vault/models/secret_bundle.rb'
autoload :JsonWebKey, '7.2-preview/generated/azure_key_vault/models/json_web_key.rb'
autoload :SecretItem, '7.2-preview/generated/azure_key_vault/models/secret_item.rb'
autoload :KeyBundle, '7.2-preview/generated/azure_key_vault/models/key_bundle.rb'
autoload :SecurityDomainJsonWebKey, '7.2-preview/generated/azure_key_vault/models/security_domain_json_web_key.rb'
autoload :SecurityDomainObject, '7.2-preview/generated/azure_key_vault/models/security_domain_object.rb'
autoload :RestoreOperation, '7.2-preview/generated/azure_key_vault/models/restore_operation.rb'
autoload :KeyCreateParameters, '7.2-preview/generated/azure_key_vault/models/key_create_parameters.rb'
autoload :SecretRestoreParameters, '7.2-preview/generated/azure_key_vault/models/secret_restore_parameters.rb'
autoload :KeyOperationsParameters, '7.2-preview/generated/azure_key_vault/models/key_operations_parameters.rb'
autoload :SecretSetParameters, '7.2-preview/generated/azure_key_vault/models/secret_set_parameters.rb'
autoload :KeyVerifyParameters, '7.2-preview/generated/azure_key_vault/models/key_verify_parameters.rb'
autoload :SecretUpdateParameters, '7.2-preview/generated/azure_key_vault/models/secret_update_parameters.rb'
autoload :KeyRestoreParameters, '7.2-preview/generated/azure_key_vault/models/key_restore_parameters.rb'
autoload :SecretListResult, '7.2-preview/generated/azure_key_vault/models/secret_list_result.rb'
autoload :KeyVerifyResult, '7.2-preview/generated/azure_key_vault/models/key_verify_result.rb'
autoload :DeletedSecretListResult, '7.2-preview/generated/azure_key_vault/models/deleted_secret_list_result.rb'
autoload :DeletedKeyListResult, '7.2-preview/generated/azure_key_vault/models/deleted_key_list_result.rb'
autoload :BackupSecretResult, '7.2-preview/generated/azure_key_vault/models/backup_secret_result.rb'
autoload :StorageRestoreParameters, '7.2-preview/generated/azure_key_vault/models/storage_restore_parameters.rb'
autoload :AdministratorDetails, '7.2-preview/generated/azure_key_vault/models/administrator_details.rb'
autoload :StorageAccountAttributes, '7.2-preview/generated/azure_key_vault/models/storage_account_attributes.rb'
autoload :Contact, '7.2-preview/generated/azure_key_vault/models/contact.rb'
autoload :StorageBundle, '7.2-preview/generated/azure_key_vault/models/storage_bundle.rb'
autoload :CertificateUpdateParameters, '7.2-preview/generated/azure_key_vault/models/certificate_update_parameters.rb'
autoload :FullBackupOperation, '7.2-preview/generated/azure_key_vault/models/full_backup_operation.rb'
autoload :CertificateOperationUpdateParameter, '7.2-preview/generated/azure_key_vault/models/certificate_operation_update_parameter.rb'
autoload :StorageAccountCreateParameters, '7.2-preview/generated/azure_key_vault/models/storage_account_create_parameters.rb'
autoload :PendingCertificateSigningRequestResult, '7.2-preview/generated/azure_key_vault/models/pending_certificate_signing_request_result.rb'
autoload :StorageAccountUpdateParameters, '7.2-preview/generated/azure_key_vault/models/storage_account_update_parameters.rb'
autoload :KeyVaultError, '7.2-preview/generated/azure_key_vault/models/key_vault_error.rb'
autoload :StorageAccountRegenerteKeyParameters, '7.2-preview/generated/azure_key_vault/models/storage_account_regenerte_key_parameters.rb'
autoload :KeyItem, '7.2-preview/generated/azure_key_vault/models/key_item.rb'
autoload :StorageAccountItem, '7.2-preview/generated/azure_key_vault/models/storage_account_item.rb'
autoload :KeyImportParameters, '7.2-preview/generated/azure_key_vault/models/key_import_parameters.rb'
autoload :SelectiveKeyRestoreOperation, '7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation.rb'
autoload :KeyUpdateParameters, '7.2-preview/generated/azure_key_vault/models/key_update_parameters.rb'
autoload :StorageListResult, '7.2-preview/generated/azure_key_vault/models/storage_list_result.rb'
autoload :KeyListResult, '7.2-preview/generated/azure_key_vault/models/key_list_result.rb'
autoload :DeletedStorageListResult, '7.2-preview/generated/azure_key_vault/models/deleted_storage_list_result.rb'
autoload :CertificateOperation, '7.2-preview/generated/azure_key_vault/models/certificate_operation.rb'
autoload :SasDefinitionAttributes, '7.2-preview/generated/azure_key_vault/models/sas_definition_attributes.rb'
autoload :CertificateCreateParameters, '7.2-preview/generated/azure_key_vault/models/certificate_create_parameters.rb'
autoload :SasDefinitionBundle, '7.2-preview/generated/azure_key_vault/models/sas_definition_bundle.rb'
autoload :DeletedCertificateListResult, '7.2-preview/generated/azure_key_vault/models/deleted_certificate_list_result.rb'
autoload :SelectiveKeyRestoreOperationParameters, '7.2-preview/generated/azure_key_vault/models/selective_key_restore_operation_parameters.rb'
autoload :SecurityDomainOperationStatus, '7.2-preview/generated/azure_key_vault/models/security_domain_operation_status.rb'
autoload :SasDefinitionItem, '7.2-preview/generated/azure_key_vault/models/sas_definition_item.rb'
autoload :KeySignParameters, '7.2-preview/generated/azure_key_vault/models/key_sign_parameters.rb'
autoload :RestoreOperationParameters, '7.2-preview/generated/azure_key_vault/models/restore_operation_parameters.rb'
autoload :SASTokenParameter, '7.2-preview/generated/azure_key_vault/models/sastoken_parameter.rb'
autoload :IssuerAttributes, '7.2-preview/generated/azure_key_vault/models/issuer_attributes.rb'
autoload :SasDefinitionListResult, '7.2-preview/generated/azure_key_vault/models/sas_definition_list_result.rb'
autoload :BackupCertificateResult, '7.2-preview/generated/azure_key_vault/models/backup_certificate_result.rb'
autoload :DeletedSasDefinitionListResult, '7.2-preview/generated/azure_key_vault/models/deleted_sas_definition_list_result.rb'
autoload :KeyOperationResult, '7.2-preview/generated/azure_key_vault/models/key_operation_result.rb'
autoload :SasDefinitionCreateParameters, '7.2-preview/generated/azure_key_vault/models/sas_definition_create_parameters.rb'
autoload :TransferKey, '7.2-preview/generated/azure_key_vault/models/transfer_key.rb'
autoload :SasDefinitionUpdateParameters, '7.2-preview/generated/azure_key_vault/models/sas_definition_update_parameters.rb'
autoload :CertificateIssuerSetParameters, '7.2-preview/generated/azure_key_vault/models/certificate_issuer_set_parameters.rb'
autoload :BackupStorageResult, '7.2-preview/generated/azure_key_vault/models/backup_storage_result.rb'
autoload :CertificateAttributes, '7.2-preview/generated/azure_key_vault/models/certificate_attributes.rb'
autoload :DeletedCertificateBundle, '7.2-preview/generated/azure_key_vault/models/deleted_certificate_bundle.rb'
autoload :DeletedCertificateItem, '7.2-preview/generated/azure_key_vault/models/deleted_certificate_item.rb'
@ -154,11 +144,13 @@ module Azure::KeyVault::V7_2_preview
autoload :JsonWebKeyCurveName, '7.2-preview/generated/azure_key_vault/models/json_web_key_curve_name.rb'
autoload :KeyUsageType, '7.2-preview/generated/azure_key_vault/models/key_usage_type.rb'
autoload :ActionType, '7.2-preview/generated/azure_key_vault/models/action_type.rb'
autoload :KeyReleaseConditionCondition, '7.2-preview/generated/azure_key_vault/models/key_release_condition_condition.rb'
autoload :KeyReleasePolicyVersion, '7.2-preview/generated/azure_key_vault/models/key_release_policy_version.rb'
autoload :JsonWebKeyOperation, '7.2-preview/generated/azure_key_vault/models/json_web_key_operation.rb'
autoload :JsonWebKeyEncryptionAlgorithm, '7.2-preview/generated/azure_key_vault/models/json_web_key_encryption_algorithm.rb'
autoload :JsonWebKeySignatureAlgorithm, '7.2-preview/generated/azure_key_vault/models/json_web_key_signature_algorithm.rb'
autoload :RoleScope, '7.2-preview/generated/azure_key_vault/models/role_scope.rb'
autoload :RoleType, '7.2-preview/generated/azure_key_vault/models/role_type.rb'
autoload :DataAction, '7.2-preview/generated/azure_key_vault/models/data_action.rb'
autoload :RoleDefinitionType, '7.2-preview/generated/azure_key_vault/models/role_definition_type.rb'
autoload :SasTokenType, '7.2-preview/generated/azure_key_vault/models/sas_token_type.rb'
autoload :OperationStatus, '7.2-preview/generated/azure_key_vault/models/operation_status.rb'
end

Просмотреть файл

@ -23,57 +23,46 @@ module Azure::KeyVault::V7_2_preview
attr_reader :client
#
# Retrieves Security domain from HSM enclave
# Retrieves the Security Domain download operation status
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] Security domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing public key in JWK format.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SecurityDomainObject] operation results.
# @return [SecurityDomainOperationStatus] operation results.
#
def download(vault_base_url, certificate_info_object, custom_headers:nil)
response = download_async(vault_base_url, certificate_info_object, custom_headers:custom_headers).value!
def download_pending(vault_base_url, custom_headers:nil)
response = download_pending_async(vault_base_url, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Retrieves Security domain from HSM enclave
# Retrieves the Security Domain download operation status
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] Security domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing public key in JWK format.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def download_with_http_info(vault_base_url, certificate_info_object, custom_headers:nil)
download_async(vault_base_url, certificate_info_object, custom_headers:custom_headers).value!
def download_pending_with_http_info(vault_base_url, custom_headers:nil)
download_pending_async(vault_base_url, custom_headers:custom_headers).value!
end
#
# Retrieves Security domain from HSM enclave
# Retrieves the Security Domain download operation status
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] Security domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing public key in JWK format.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def download_async(vault_base_url, certificate_info_object, custom_headers:nil)
def download_pending_async(vault_base_url, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'certificate_info_object is nil' if certificate_info_object.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
@ -82,25 +71,17 @@ module Azure::KeyVault::V7_2_preview
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject.mapper()
request_content = @client.serialize(request_mapper, certificate_info_object)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'securitydomain/download'
path_template = 'securitydomain/download/pending'
request_url = @base_url || @client.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:post, path_template, options)
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
@ -118,7 +99,7 @@ module Azure::KeyVault::V7_2_preview
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject.mapper()
result_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@ -132,7 +113,56 @@ module Azure::KeyVault::V7_2_preview
end
#
# Retrieve security domain transfer key
# Retrieves the Security Domain from the managed HSM. Calling this endpoint can
# be used to activate a provisioned managed HSM resource.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] The Security Domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing a public key in JWK format.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SecurityDomainObject] operation results.
#
def download(vault_base_url, certificate_info_object, custom_headers:nil)
response = download_async(vault_base_url, certificate_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] The Security Domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing a public key in JWK format.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def download_async(vault_base_url, certificate_info_object, custom_headers:nil)
# Send request
promise = begin_download_async(vault_base_url, certificate_info_object, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
result_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject.mapper()
parsed_response = @client.deserialize(result_mapper, parsed_response)
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::AZURE_ASYNC_OPERATION)
end
promise
end
#
# Retrieve Security Domain transfer key
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
@ -147,7 +177,7 @@ module Azure::KeyVault::V7_2_preview
end
#
# Retrieve security domain transfer key
# Retrieve Security Domain transfer key
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
@ -161,7 +191,7 @@ module Azure::KeyVault::V7_2_preview
end
#
# Retrieve security domain transfer key
# Retrieve Security Domain transfer key
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
@ -181,7 +211,7 @@ module Azure::KeyVault::V7_2_preview
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'securitydomain/transferkey'
path_template = 'securitydomain/upload'
request_url = @base_url || @client.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
@ -224,11 +254,12 @@ module Azure::KeyVault::V7_2_preview
end
#
# Request Security domain upload operation
# Restore the provided Security Domain.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param security_domain [SecurityDomainUploadObject] security domain
# @param security_domain [SecurityDomainObject] The Security Domain to be
# restored.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
@ -242,7 +273,8 @@ module Azure::KeyVault::V7_2_preview
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param security_domain [SecurityDomainUploadObject] security domain
# @param security_domain [SecurityDomainObject] The Security Domain to be
# restored.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
@ -268,7 +300,7 @@ module Azure::KeyVault::V7_2_preview
end
#
# Get Security domain upload operation status
# Get Security Domain upload operation status
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
@ -283,7 +315,7 @@ module Azure::KeyVault::V7_2_preview
end
#
# Get Security domain upload operation status
# Get Security Domain upload operation status
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
@ -297,7 +329,7 @@ module Azure::KeyVault::V7_2_preview
end
#
# Get Security domain upload operation status
# Get Security Domain upload operation status
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
@ -358,11 +390,134 @@ module Azure::KeyVault::V7_2_preview
end
#
# Request Security domain upload operation
# Retrieves the Security Domain from the managed HSM. Calling this endpoint can
# be used to activate a provisioned managed HSM resource.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param security_domain [SecurityDomainUploadObject] security domain
# @param certificate_info_object [CertificateInfoObject] The Security Domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing a public key in JWK format.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SecurityDomainObject] operation results.
#
def begin_download(vault_base_url, certificate_info_object, custom_headers:nil)
response = begin_download_async(vault_base_url, certificate_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Retrieves the Security Domain from the managed HSM. Calling this endpoint can
# be used to activate a provisioned managed HSM resource.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] The Security Domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing a public key in JWK format.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_download_with_http_info(vault_base_url, certificate_info_object, custom_headers:nil)
begin_download_async(vault_base_url, certificate_info_object, custom_headers:custom_headers).value!
end
#
# Retrieves the Security Domain from the managed HSM. Calling this endpoint can
# be used to activate a provisioned managed HSM resource.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param certificate_info_object [CertificateInfoObject] The Security Domain
# download operation requires customer to provide N certificates (minimum 3 and
# maximum 10) containing a public key in JWK format.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_download_async(vault_base_url, certificate_info_object, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'certificate_info_object is nil' if certificate_info_object.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject.mapper()
request_content = @client.serialize(request_mapper, certificate_info_object)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'securitydomain/download'
request_url = @base_url || @client.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 202 || status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 202
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Restore the provided Security Domain.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param security_domain [SecurityDomainObject] The Security Domain to be
# restored.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
@ -374,11 +529,12 @@ module Azure::KeyVault::V7_2_preview
end
#
# Request Security domain upload operation
# Restore the provided Security Domain.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param security_domain [SecurityDomainUploadObject] security domain
# @param security_domain [SecurityDomainObject] The Security Domain to be
# restored.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
@ -389,11 +545,12 @@ module Azure::KeyVault::V7_2_preview
end
#
# Request Security domain upload operation
# Restore the provided Security Domain.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param security_domain [SecurityDomainUploadObject] security domain
# @param security_domain [SecurityDomainObject] The Security Domain to be
# restored.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
@ -412,7 +569,7 @@ module Azure::KeyVault::V7_2_preview
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObject.mapper()
request_mapper = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject.mapper()
request_content = @client.serialize(request_mapper, security_domain)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
@ -433,7 +590,7 @@ module Azure::KeyVault::V7_2_preview
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 202
unless status_code == 202 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end

Просмотреть файл

@ -3390,15 +3390,13 @@ module Azure::KeyVault::V7_2_preview
# @param curve [JsonWebKeyCurveName] Elliptic curve name. For valid values, see
# JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521',
# 'P-256K'
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [KeyBundle] operation results.
#
def create_key(vault_base_url, key_name, kty, key_size:nil, public_exponent:nil, key_ops:nil, key_attributes:nil, tags:nil, curve:nil, release_policy:nil, custom_headers:nil)
response = create_key_async(vault_base_url, key_name, kty, key_size:key_size, public_exponent:public_exponent, key_ops:key_ops, key_attributes:key_attributes, tags:tags, curve:curve, release_policy:release_policy, custom_headers:custom_headers).value!
def create_key(vault_base_url, key_name, kty, key_size:nil, public_exponent:nil, key_ops:nil, key_attributes:nil, tags:nil, curve:nil, custom_headers:nil)
response = create_key_async(vault_base_url, key_name, kty, key_size:key_size, public_exponent:public_exponent, key_ops:key_ops, key_attributes:key_attributes, tags:tags, curve:curve, custom_headers:custom_headers).value!
response.body unless response.nil?
end
@ -3427,15 +3425,13 @@ module Azure::KeyVault::V7_2_preview
# @param curve [JsonWebKeyCurveName] Elliptic curve name. For valid values, see
# JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521',
# 'P-256K'
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def create_key_with_http_info(vault_base_url, key_name, kty, key_size:nil, public_exponent:nil, key_ops:nil, key_attributes:nil, tags:nil, curve:nil, release_policy:nil, custom_headers:nil)
create_key_async(vault_base_url, key_name, kty, key_size:key_size, public_exponent:public_exponent, key_ops:key_ops, key_attributes:key_attributes, tags:tags, curve:curve, release_policy:release_policy, custom_headers:custom_headers).value!
def create_key_with_http_info(vault_base_url, key_name, kty, key_size:nil, public_exponent:nil, key_ops:nil, key_attributes:nil, tags:nil, curve:nil, custom_headers:nil)
create_key_async(vault_base_url, key_name, kty, key_size:key_size, public_exponent:public_exponent, key_ops:key_ops, key_attributes:key_attributes, tags:tags, curve:curve, custom_headers:custom_headers).value!
end
#
@ -3463,14 +3459,12 @@ module Azure::KeyVault::V7_2_preview
# @param curve [JsonWebKeyCurveName] Elliptic curve name. For valid values, see
# JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521',
# 'P-256K'
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def create_key_async(vault_base_url, key_name, kty, key_size:nil, public_exponent:nil, key_ops:nil, key_attributes:nil, tags:nil, curve:nil, release_policy:nil, custom_headers:nil)
def create_key_async(vault_base_url, key_name, kty, key_size:nil, public_exponent:nil, key_ops:nil, key_attributes:nil, tags:nil, curve:nil, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
fail ArgumentError, "'key_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !key_name.nil? && key_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
@ -3479,7 +3473,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
parameters = KeyCreateParameters.new
unless kty.nil? && key_size.nil? && public_exponent.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil? && release_policy.nil?
unless kty.nil? && key_size.nil? && public_exponent.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
parameters.kty = kty
parameters.key_size = key_size
parameters.public_exponent = public_exponent
@ -3487,7 +3481,6 @@ module Azure::KeyVault::V7_2_preview
parameters.keyAttributes = key_attributes
parameters.tags = tags
parameters.curve = curve
parameters.release_policy = release_policy
end
request_headers = {}
@ -3563,15 +3556,13 @@ module Azure::KeyVault::V7_2_preview
# @param key_attributes [KeyAttributes] The key management attributes.
# @param tags [Hash{String => String}] Application specific metadata in the
# form of key-value pairs.
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [KeyBundle] operation results.
#
def import_key(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, release_policy:nil, custom_headers:nil)
response = import_key_async(vault_base_url, key_name, key, hsm:hsm, key_attributes:key_attributes, tags:tags, release_policy:release_policy, custom_headers:custom_headers).value!
def import_key(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, custom_headers:nil)
response = import_key_async(vault_base_url, key_name, key, hsm:hsm, key_attributes:key_attributes, tags:tags, custom_headers:custom_headers).value!
response.body unless response.nil?
end
@ -3592,15 +3583,13 @@ module Azure::KeyVault::V7_2_preview
# @param key_attributes [KeyAttributes] The key management attributes.
# @param tags [Hash{String => String}] Application specific metadata in the
# form of key-value pairs.
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def import_key_with_http_info(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, release_policy:nil, custom_headers:nil)
import_key_async(vault_base_url, key_name, key, hsm:hsm, key_attributes:key_attributes, tags:tags, release_policy:release_policy, custom_headers:custom_headers).value!
def import_key_with_http_info(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, custom_headers:nil)
import_key_async(vault_base_url, key_name, key, hsm:hsm, key_attributes:key_attributes, tags:tags, custom_headers:custom_headers).value!
end
#
@ -3620,14 +3609,12 @@ module Azure::KeyVault::V7_2_preview
# @param key_attributes [KeyAttributes] The key management attributes.
# @param tags [Hash{String => String}] Application specific metadata in the
# form of key-value pairs.
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def import_key_async(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, release_policy:nil, custom_headers:nil)
def import_key_async(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
fail ArgumentError, "'key_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !key_name.nil? && key_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
@ -3635,12 +3622,11 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil? && release_policy.nil?
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.tags = tags
parameters.release_policy = release_policy
end
request_headers = {}
@ -3831,15 +3817,13 @@ module Azure::KeyVault::V7_2_preview
# @param key_attributes [KeyAttributes]
# @param tags [Hash{String => String}] Application specific metadata in the
# form of key-value pairs.
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [KeyBundle] operation results.
#
def update_key(vault_base_url, key_name, key_version, key_ops:nil, key_attributes:nil, tags:nil, release_policy:nil, custom_headers:nil)
response = update_key_async(vault_base_url, key_name, key_version, key_ops:key_ops, key_attributes:key_attributes, tags:tags, release_policy:release_policy, custom_headers:custom_headers).value!
def update_key(vault_base_url, key_name, key_version, key_ops:nil, key_attributes:nil, tags:nil, custom_headers:nil)
response = update_key_async(vault_base_url, key_name, key_version, key_ops:key_ops, key_attributes:key_attributes, tags:tags, custom_headers:custom_headers).value!
response.body unless response.nil?
end
@ -3860,15 +3844,13 @@ module Azure::KeyVault::V7_2_preview
# @param key_attributes [KeyAttributes]
# @param tags [Hash{String => String}] Application specific metadata in the
# form of key-value pairs.
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def update_key_with_http_info(vault_base_url, key_name, key_version, key_ops:nil, key_attributes:nil, tags:nil, release_policy:nil, custom_headers:nil)
update_key_async(vault_base_url, key_name, key_version, key_ops:key_ops, key_attributes:key_attributes, tags:tags, release_policy:release_policy, custom_headers:custom_headers).value!
def update_key_with_http_info(vault_base_url, key_name, key_version, key_ops:nil, key_attributes:nil, tags:nil, custom_headers:nil)
update_key_async(vault_base_url, key_name, key_version, key_ops:key_ops, key_attributes:key_attributes, tags:tags, custom_headers:custom_headers).value!
end
#
@ -3888,25 +3870,22 @@ module Azure::KeyVault::V7_2_preview
# @param key_attributes [KeyAttributes]
# @param tags [Hash{String => String}] Application specific metadata in the
# form of key-value pairs.
# @param release_policy [KeyReleasePolicy] The policy rules under which the key
# can be exported.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def update_key_async(vault_base_url, key_name, key_version, key_ops:nil, key_attributes:nil, tags:nil, release_policy:nil, custom_headers:nil)
def update_key_async(vault_base_url, key_name, key_version, key_ops:nil, key_attributes:nil, tags:nil, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil? && release_policy.nil?
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.tags = tags
parameters.release_policy = release_policy
end
request_headers = {}
@ -5611,135 +5590,6 @@ module Azure::KeyVault::V7_2_preview
promise.execute
end
#
# Exports a key.
#
# The export key operation is applicable to all key types. The target key must
# be marked exportable. This operation requires the keys/export permission.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param key_name [String] The name of the key to get.
# @param key_version [String] Adding the version parameter retrieves a specific
# version of a key.
# @param environment [String] The target environment assertion.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [KeyBundle] operation results.
#
def export_key(vault_base_url, key_name, key_version, environment, custom_headers:nil)
response = export_key_async(vault_base_url, key_name, key_version, environment, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Exports a key.
#
# The export key operation is applicable to all key types. The target key must
# be marked exportable. This operation requires the keys/export permission.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param key_name [String] The name of the key to get.
# @param key_version [String] Adding the version parameter retrieves a specific
# version of a key.
# @param environment [String] The target environment assertion.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def export_key_with_http_info(vault_base_url, key_name, key_version, environment, custom_headers:nil)
export_key_async(vault_base_url, key_name, key_version, environment, custom_headers:custom_headers).value!
end
#
# Exports a key.
#
# The export key operation is applicable to all key types. The target key must
# be marked exportable. This operation requires the keys/export permission.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param key_name [String] The name of the key to get.
# @param key_version [String] Adding the version parameter retrieves a specific
# version of a key.
# @param environment [String] The target environment assertion.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def export_key_async(vault_base_url, key_name, key_version, environment, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'environment is nil' if environment.nil?
fail ArgumentError, "'environment' should satisfy the constraint - 'MinLength': '1'" if !environment.nil? && environment.length < 1
parameters = KeyExportParameters.new
unless environment.nil?
parameters.environment = environment
end
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = accept_language unless accept_language.nil?
# Serialize Request
request_mapper = Azure::KeyVault::V7_2_preview::Models::KeyExportParameters.mapper()
request_content = self.serialize(request_mapper, parameters)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'keys/{key-name}/{key-version}/export'
request_url = @base_url || self.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'key-name' => key_name,'key-version' => key_version},
query_params: {'api-version' => api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = self.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::KeyBundle.mapper()
result.body = self.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Lists the deleted keys in the specified vault.
#
@ -13799,7 +13649,7 @@ module Azure::KeyVault::V7_2_preview
#
def add_telemetry
sdk_information = 'azure_key_vault'
sdk_information = "#{sdk_information}/0.18.1"
sdk_information = "#{sdk_information}/0.19.0"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -18,7 +18,7 @@ module Azure::KeyVault::V7_2_preview
attr_accessor :certificates
# @return [Integer] Customer to specify the number of certificates
# (minimum 2 and maximum 10) to restore security domain. Default value: 2
# (minimum 2 and maximum 10) to restore Security Domain. Default value: 2
# .
attr_accessor :required

Просмотреть файл

@ -0,0 +1,43 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Defines values for DataAction
#
module DataAction
ReadHsmKey = "Microsoft.KeyVault/managedHsm/keys/read/action"
WriteHsmKey = "Microsoft.KeyVault/managedHsm/keys/write/action"
ReadDeletedHsmKey = "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action"
RecoverDeletedHsmKey = "Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action"
BackupHsmKeys = "Microsoft.KeyVault/managedHsm/keys/backup/action"
RestoreHsmKeys = "Microsoft.KeyVault/managedHsm/keys/restore/action"
DeleteRoleAssignment = "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action"
GetRoleAssignment = "Microsoft.KeyVault/managedHsm/roleAssignments/read/action"
WriteRoleAssignment = "Microsoft.KeyVault/managedHsm/roleAssignments/write/action"
ReadRoleDefinition = "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action"
EncryptHsmKey = "Microsoft.KeyVault/managedHsm/keys/encrypt/action"
DecryptHsmKey = "Microsoft.KeyVault/managedHsm/keys/decrypt/action"
WrapHsmKey = "Microsoft.KeyVault/managedHsm/keys/wrap/action"
UnwrapHsmKey = "Microsoft.KeyVault/managedHsm/keys/unwrap/action"
SignHsmKey = "Microsoft.KeyVault/managedHsm/keys/sign/action"
VerifyHsmKey = "Microsoft.KeyVault/managedHsm/keys/verify/action"
CreateHsmKey = "Microsoft.KeyVault/managedHsm/keys/create"
DeleteHsmKey = "Microsoft.KeyVault/managedHsm/keys/delete"
ExportHsmKey = "Microsoft.KeyVault/managedHsm/keys/export/action"
ImportHsmKey = "Microsoft.KeyVault/managedHsm/keys/import/action"
PurgeDeletedHsmKey = "Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete"
DownloadHsmSecurityDomain = "Microsoft.KeyVault/managedHsm/securitydomain/download/action"
UploadHsmSecurityDomain = "Microsoft.KeyVault/managedHsm/securitydomain/upload/action"
ReadHsmSecurityDomainStatus = "Microsoft.KeyVault/managedHsm/securitydomain/upload/read"
ReadHsmSecurityDomainTransferKey = "Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read"
StartHsmBackup = "Microsoft.KeyVault/managedHsm/backup/start/action"
StartHsmRestore = "Microsoft.KeyVault/managedHsm/restore/start/action"
ReadHsmBackupStatus = "Microsoft.KeyVault/managedHsm/backup/status/action"
ReadHsmRestoreStatus = "Microsoft.KeyVault/managedHsm/restore/status/action"
end
end
end

Просмотреть файл

@ -80,15 +80,6 @@ module Azure::KeyVault::V7_2_preview
name: 'Boolean'
}
},
release_policy: {
client_side_validation: true,
required: false,
serialized_name: 'release_policy',
type: {
name: 'Composite',
class_name: 'KeyReleasePolicy'
}
},
recovery_id: {
client_side_validation: true,
required: false,

Просмотреть файл

@ -1,72 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class EncDataSet
include MsRestAzure
# @return [Array<EncDataSetItem>] Array of encrypted security domain
attr_accessor :data
# @return [String] The key derivation function used. Default value:
# 'sp108_kdf' .
attr_accessor :kdf
#
# Mapper for EncDataSet class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'EncDataSet',
type: {
name: 'Composite',
class_name: 'EncDataSet',
model_properties: {
data: {
client_side_validation: true,
required: true,
serialized_name: 'data',
constraints: {
UniqueItems: true
},
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'EncDataSetItemElementType',
type: {
name: 'Composite',
class_name: 'EncDataSetItem'
}
}
}
},
kdf: {
client_side_validation: true,
required: true,
serialized_name: 'kdf',
default_value: 'sp108_kdf',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -1,58 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class EncDataSetItem
include MsRestAzure
# @return [String] Encrypted data
attr_accessor :compact_jwe
# @return [String] hsm backup tag
attr_accessor :tag
#
# Mapper for EncDataSetItem class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'EncDataSetItem',
type: {
name: 'Composite',
class_name: 'EncDataSetItem',
model_properties: {
compact_jwe: {
client_side_validation: true,
required: true,
serialized_name: 'compact_jwe',
type: {
name: 'String'
}
},
tag: {
client_side_validation: true,
required: true,
serialized_name: 'tag',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -16,7 +16,6 @@ module Azure::KeyVault::V7_2_preview
WrapKey = "wrapKey"
UnwrapKey = "unwrapKey"
Import = "import"
Export = "export"
end
end
end

Просмотреть файл

@ -1,58 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class Key
include MsRestAzure
# @return [String] Compact JWE wrapped share
attr_accessor :enc_key
# @return [String] SHA 256 hash of certificate
attr_accessor :x5t_256
#
# Mapper for Key class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Key',
type: {
name: 'Composite',
class_name: 'Key',
model_properties: {
enc_key: {
client_side_validation: true,
required: true,
serialized_name: 'enc_key',
type: {
name: 'String'
}
},
x5t_256: {
client_side_validation: true,
required: true,
serialized_name: 'x5t_256',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -26,9 +26,6 @@ module Azure::KeyVault::V7_2_preview
# 'CustomizedRecoverable', 'CustomizedRecoverable+ProtectedSubscription'
attr_accessor :recovery_level
# @return [Boolean] Indicates if the private key can be exported.
attr_accessor :exportable
#
# Mapper for KeyAttributes class as Ruby Hash.
@ -102,14 +99,6 @@ module Azure::KeyVault::V7_2_preview
type: {
name: 'String'
}
},
exportable: {
client_side_validation: true,
required: false,
serialized_name: 'exportable',
type: {
name: 'Boolean'
}
}
}
}

Просмотреть файл

@ -26,10 +26,6 @@ module Azure::KeyVault::V7_2_preview
# If this is a key backing a certificate, then managed will be true.
attr_accessor :managed
# @return [KeyReleasePolicy] The policy rules under which the key can be
# exported.
attr_accessor :release_policy
#
# Mapper for KeyBundle class as Ruby Hash.
@ -86,15 +82,6 @@ module Azure::KeyVault::V7_2_preview
type: {
name: 'Boolean'
}
},
release_policy: {
client_side_validation: true,
required: false,
serialized_name: 'release_policy',
type: {
name: 'Composite',
class_name: 'KeyReleasePolicy'
}
}
}
}

Просмотреть файл

@ -39,10 +39,6 @@ module Azure::KeyVault::V7_2_preview
# 'P-521', 'P-256K'
attr_accessor :curve
# @return [KeyReleasePolicy] The policy rules under which the key can be
# exported.
attr_accessor :release_policy
#
# Mapper for KeyCreateParameters class as Ruby Hash.
@ -132,15 +128,6 @@ module Azure::KeyVault::V7_2_preview
type: {
name: 'String'
}
},
release_policy: {
client_side_validation: true,
required: false,
serialized_name: 'release_policy',
type: {
name: 'Composite',
class_name: 'KeyReleasePolicy'
}
}
}
}

Просмотреть файл

@ -1,49 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# The export key parameters.
#
class KeyExportParameters
include MsRestAzure
# @return [String] The target environment assertion.
attr_accessor :environment
#
# Mapper for KeyExportParameters class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'KeyExportParameters',
type: {
name: 'Composite',
class_name: 'KeyExportParameters',
model_properties: {
environment: {
client_side_validation: true,
required: true,
serialized_name: 'env',
constraints: {
MinLength: 1
},
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -26,10 +26,6 @@ module Azure::KeyVault::V7_2_preview
# form of key-value pairs.
attr_accessor :tags
# @return [KeyReleasePolicy] The policy rules under which the key can be
# exported.
attr_accessor :release_policy
#
# Mapper for KeyImportParameters class as Ruby Hash.
@ -85,15 +81,6 @@ module Azure::KeyVault::V7_2_preview
}
}
}
},
release_policy: {
client_side_validation: true,
required: false,
serialized_name: 'release_policy',
type: {
name: 'Composite',
class_name: 'KeyReleasePolicy'
}
}
}
}

Просмотреть файл

@ -18,6 +18,15 @@ module Azure::KeyVault::V7_2_preview
# @return
attr_accessor :result
# @return
attr_accessor :iv
# @return
attr_accessor :authentication_tag
# @return
attr_accessor :additional_authenticated_data
#
# Mapper for KeyOperationResult class as Ruby Hash.
@ -49,6 +58,33 @@ module Azure::KeyVault::V7_2_preview
type: {
name: 'Base64Url'
}
},
iv: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'iv',
type: {
name: 'Base64Url'
}
},
authentication_tag: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'tag',
type: {
name: 'Base64Url'
}
},
additional_authenticated_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'aad',
type: {
name: 'Base64Url'
}
}
}
}

Просмотреть файл

@ -12,9 +12,6 @@ module Azure::KeyVault::V7_2_preview
include MsRestAzure
# @return [Boolean] Indicates if the private key can be exported.
attr_accessor :exportable
# @return [JsonWebKeyType] The type of key pair to be used for the
# certificate. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
# 'oct', 'oct-HSM'
@ -47,14 +44,6 @@ module Azure::KeyVault::V7_2_preview
name: 'Composite',
class_name: 'KeyProperties',
model_properties: {
exportable: {
client_side_validation: true,
required: false,
serialized_name: 'exportable',
type: {
name: 'Boolean'
}
},
key_type: {
client_side_validation: true,
required: false,

Просмотреть файл

@ -1,70 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class KeyReleaseAuthority
include MsRestAzure
# @return [String] Base URL of the attestation service.
attr_accessor :authority_url
# @return [Array<KeyReleaseCondition>]
attr_accessor :all_of
#
# Mapper for KeyReleaseAuthority class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'KeyReleaseAuthority',
type: {
name: 'Composite',
class_name: 'KeyReleaseAuthority',
model_properties: {
authority_url: {
client_side_validation: true,
required: false,
serialized_name: 'authority',
constraints: {
MinLength: 1
},
type: {
name: 'String'
}
},
all_of: {
client_side_validation: true,
required: false,
serialized_name: 'allOf',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'KeyReleaseConditionElementType',
type: {
name: 'Composite',
class_name: 'KeyReleaseCondition'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -1,76 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class KeyReleaseCondition
include MsRestAzure
# @return [String] claim type name
attr_accessor :claim_type
# @return [KeyReleaseConditionCondition] condition to test. Possible
# values include: 'equals'
attr_accessor :claim_condition
# @return [String]
attr_accessor :value
#
# Mapper for KeyReleaseCondition class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'KeyReleaseCondition',
type: {
name: 'Composite',
class_name: 'KeyReleaseCondition',
model_properties: {
claim_type: {
client_side_validation: true,
required: false,
serialized_name: 'claim',
constraints: {
MinLength: 1
},
type: {
name: 'String'
}
},
claim_condition: {
client_side_validation: true,
required: false,
serialized_name: 'condition',
constraints: {
MinLength: 1
},
type: {
name: 'String'
}
},
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -1,68 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class KeyReleasePolicy
include MsRestAzure
# @return [KeyReleasePolicyVersion] key release policy version. Possible
# values include: '0.2'
attr_accessor :version
# @return [Array<KeyReleaseAuthority>]
attr_accessor :any_of
#
# Mapper for KeyReleasePolicy class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'KeyReleasePolicy',
type: {
name: 'Composite',
class_name: 'KeyReleasePolicy',
model_properties: {
version: {
client_side_validation: true,
required: false,
serialized_name: 'version',
type: {
name: 'String'
}
},
any_of: {
client_side_validation: true,
required: false,
serialized_name: 'anyOf',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'KeyReleaseAuthorityElementType',
type: {
name: 'Composite',
class_name: 'KeyReleaseAuthority'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -23,10 +23,6 @@ module Azure::KeyVault::V7_2_preview
# form of key-value pairs.
attr_accessor :tags
# @return [KeyReleasePolicy] The policy rules under which the key can be
# exported.
attr_accessor :release_policy
#
# Mapper for KeyUpdateParameters class as Ruby Hash.
@ -81,15 +77,6 @@ module Azure::KeyVault::V7_2_preview
}
}
}
},
release_policy: {
client_side_validation: true,
required: false,
serialized_name: 'release_policy',
type: {
name: 'Composite',
class_name: 'KeyReleasePolicy'
}
}
}
}

Просмотреть файл

@ -12,16 +12,20 @@ module Azure::KeyVault::V7_2_preview
include MsRestAzure
# @return [Array<String>] Allowed actions.
# @return [Array<String>] Action permissions that are granted.
attr_accessor :actions
# @return [Array<String>] Denied actions.
# @return [Array<String>] Action permissions that are excluded but not
# denied. They may be granted by other role definitions assigned to a
# principal.
attr_accessor :not_actions
# @return [Array<String>] Allowed Data actions.
# @return [Array<DataAction>] Data action permissions that are granted.
attr_accessor :data_actions
# @return [Array<String>] Denied Data actions.
# @return [Array<DataAction>] Data action permissions that are excluded
# but not denied. They may be granted by other role definitions assigned
# to a principal.
attr_accessor :not_data_actions
@ -79,7 +83,7 @@ module Azure::KeyVault::V7_2_preview
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
serialized_name: 'DataActionElementType',
type: {
name: 'String'
}
@ -95,7 +99,7 @@ module Azure::KeyVault::V7_2_preview
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
serialized_name: 'DataActionElementType',
type: {
name: 'String'
}

Просмотреть файл

@ -13,7 +13,8 @@ module Azure::KeyVault::V7_2_preview
include MsRestAzure
# @return [SASTokenParameter]
# @return [SASTokenParameter] SAS token parameter object containing Azure
# storage resourceUri and token
attr_accessor :sas_token_parameters
# @return [String] The Folder name of the blob where the previous

Просмотреть файл

@ -12,7 +12,7 @@ module Azure::KeyVault::V7_2_preview
include MsRestAzure
# @return [String] The role assignment scope.
# @return [RoleScope] Possible values include: 'Global', 'Keys'
attr_accessor :scope
# @return [String] The role definition ID.

Просмотреть файл

@ -18,7 +18,8 @@ module Azure::KeyVault::V7_2_preview
# @return [String] The role definition name.
attr_accessor :name
# @return [String] The role definition type.
# @return [RoleDefinitionType] The role definition type. Possible values
# include: 'Microsoft.Authorization/roleDefinitions'
attr_accessor :type
# @return [String] The role name.
@ -27,13 +28,14 @@ module Azure::KeyVault::V7_2_preview
# @return [String] The role definition description.
attr_accessor :description
# @return [String] The role type.
# @return [RoleType] The role type. Possible values include:
# 'BuiltInRole', 'CustomRole'
attr_accessor :role_type
# @return [Array<Permission>] Role definition permissions.
attr_accessor :permissions
# @return [Array<String>] Role definition assignable scopes.
# @return [Array<RoleScope>] Role definition assignable scopes.
attr_accessor :assignable_scopes
@ -127,7 +129,7 @@ module Azure::KeyVault::V7_2_preview
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
serialized_name: 'RoleScopeElementType',
type: {
name: 'String'
}

Просмотреть файл

@ -6,36 +6,36 @@
module Azure::KeyVault::V7_2_preview
module Models
#
# Security domain object uploaded to a new pool
# Role definition create parameters.
#
class SecurityDomainUploadObject
class RoleDefinitionCreateParameters
include MsRestAzure
# @return [SecurityDomainUploadObjectValue]
attr_accessor :value
# @return [RoleDefinitionProperties] Role definition properties.
attr_accessor :properties
#
# Mapper for SecurityDomainUploadObject class as Ruby Hash.
# Mapper for RoleDefinitionCreateParameters class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SecurityDomainUploadObject',
serialized_name: 'RoleDefinitionCreateParameters',
type: {
name: 'Composite',
class_name: 'SecurityDomainUploadObject',
class_name: 'RoleDefinitionCreateParameters',
model_properties: {
value: {
properties: {
client_side_validation: true,
required: true,
serialized_name: 'value',
serialized_name: 'properties',
type: {
name: 'Composite',
class_name: 'SecurityDomainUploadObjectValue'
class_name: 'RoleDefinitionProperties'
}
}
}

Просмотреть файл

@ -0,0 +1,108 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Role definition properties.
#
class RoleDefinitionProperties
include MsRestAzure
# @return [String] The role name.
attr_accessor :role_name
# @return [String] The role definition description.
attr_accessor :description
# @return [RoleType] The role type. Possible values include:
# 'BuiltInRole', 'CustomRole'
attr_accessor :role_type
# @return [Array<Permission>] Role definition permissions.
attr_accessor :permissions
# @return [Array<RoleScope>] Role definition assignable scopes.
attr_accessor :assignable_scopes
#
# Mapper for RoleDefinitionProperties class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'RoleDefinitionProperties',
type: {
name: 'Composite',
class_name: 'RoleDefinitionProperties',
model_properties: {
role_name: {
client_side_validation: true,
required: false,
serialized_name: 'roleName',
type: {
name: 'String'
}
},
description: {
client_side_validation: true,
required: false,
serialized_name: 'description',
type: {
name: 'String'
}
},
role_type: {
client_side_validation: true,
required: false,
serialized_name: 'type',
type: {
name: 'String'
}
},
permissions: {
client_side_validation: true,
required: false,
serialized_name: 'permissions',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'PermissionElementType',
type: {
name: 'Composite',
class_name: 'Permission'
}
}
}
},
assignable_scopes: {
client_side_validation: true,
required: false,
serialized_name: 'assignableScopes',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'RoleScopeElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,15 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Defines values for RoleDefinitionType
#
module RoleDefinitionType
MicrosoftAuthorizationroleDefinitions = "Microsoft.Authorization/roleDefinitions"
end
end
end

Просмотреть файл

@ -6,10 +6,11 @@
module Azure::KeyVault::V7_2_preview
module Models
#
# Defines values for KeyReleasePolicyVersion
# Defines values for RoleScope
#
module KeyReleasePolicyVersion
ZeroFullStopTwo = "0.2"
module RoleScope
Global = "/"
Keys = "/keys"
end
end
end

Просмотреть файл

@ -6,10 +6,11 @@
module Azure::KeyVault::V7_2_preview
module Models
#
# Defines values for KeyReleaseConditionCondition
# Defines values for RoleType
#
module KeyReleaseConditionCondition
Equals = "equals"
module RoleType
BuiltInRole = "AKVBuiltInRole"
CustomRole = "CustomRole"
end
end
end

Просмотреть файл

@ -18,7 +18,7 @@ module Azure::KeyVault::V7_2_preview
# @return [String] JsonWebKey Key Type (kty), as defined in
# https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40. For
# security domain this value must be RSA
# Security Domain this value must be RSA.
attr_accessor :kty
# @return [Array<String>]

Просмотреть файл

@ -6,14 +6,14 @@
module Azure::KeyVault::V7_2_preview
module Models
#
# Security domain
# The Security Domain.
#
class SecurityDomainObject
include MsRestAzure
# @return [SecurityDomainObjectData]
attr_accessor :data
# @return [String] The Security Domain.
attr_accessor :value
#
@ -29,13 +29,12 @@ module Azure::KeyVault::V7_2_preview
name: 'Composite',
class_name: 'SecurityDomainObject',
model_properties: {
data: {
value: {
client_side_validation: true,
required: true,
serialized_name: 'data',
serialized_name: 'value',
type: {
name: 'Composite',
class_name: 'SecurityDomainObjectData'
name: 'String'
}
}
}

Просмотреть файл

@ -1,71 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class SecurityDomainObjectData
include MsRestAzure
# @return [EncDataSet] Array of encrypted data set
attr_accessor :enc_data
# @return [SecurityDomainObjectDataSharedKeys] Array of shared keys
attr_accessor :shared_keys
# @return [Integer]
attr_accessor :version
#
# Mapper for SecurityDomainObjectData class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SecurityDomainObject_data',
type: {
name: 'Composite',
class_name: 'SecurityDomainObjectData',
model_properties: {
enc_data: {
client_side_validation: true,
required: false,
serialized_name: 'EncData',
type: {
name: 'Composite',
class_name: 'EncDataSet'
}
},
shared_keys: {
client_side_validation: true,
required: false,
serialized_name: 'SharedKeys',
type: {
name: 'Composite',
class_name: 'SecurityDomainObjectDataSharedKeys'
}
},
version: {
client_side_validation: true,
required: false,
serialized_name: 'version',
type: {
name: 'Number'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -1,87 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Array of shared keys
#
class SecurityDomainObjectDataSharedKeys
include MsRestAzure
# @return [String] The Algorithm used for shared keys. Default value:
# 'shamir_share' .
attr_accessor :key_algorithm
# @return [Integer] The number of keys (minimum 2 and maximum 10)
# required for security domain.
attr_accessor :required
# @return [Array<Key>] Compact JWE wrapped shares array
attr_accessor :enc_shares
#
# Mapper for SecurityDomainObjectDataSharedKeys class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SecurityDomainObject_data_SharedKeys',
type: {
name: 'Composite',
class_name: 'SecurityDomainObjectDataSharedKeys',
model_properties: {
key_algorithm: {
client_side_validation: true,
required: false,
serialized_name: 'key_algorithm',
default_value: 'shamir_share',
type: {
name: 'String'
}
},
required: {
client_side_validation: true,
required: false,
serialized_name: 'required',
constraints: {
InclusiveMaximum: 10,
InclusiveMinimum: 2
},
type: {
name: 'Number'
}
},
enc_shares: {
client_side_validation: true,
required: false,
serialized_name: 'enc_shares',
constraints: {
UniqueItems: true
},
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'KeyElementType',
type: {
name: 'Composite',
class_name: 'Key'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -1,61 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Model object.
#
#
class SecurityDomainUploadObjectValue
include MsRestAzure
# @return [EncDataSet] Array of encrypted data set
attr_accessor :enc_data
# @return [SecurityDomainUploadObjectValueWrappedKey] Key object
# containing the encryption key used to encrypt EncData object
attr_accessor :wrapped_key
#
# Mapper for SecurityDomainUploadObjectValue class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SecurityDomainUploadObject_value',
type: {
name: 'Composite',
class_name: 'SecurityDomainUploadObjectValue',
model_properties: {
enc_data: {
client_side_validation: true,
required: false,
serialized_name: 'EncData',
type: {
name: 'Composite',
class_name: 'EncDataSet'
}
},
wrapped_key: {
client_side_validation: true,
required: false,
serialized_name: 'WrappedKey',
type: {
name: 'Composite',
class_name: 'SecurityDomainUploadObjectValueWrappedKey'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -1,59 +0,0 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::KeyVault::V7_2_preview
module Models
#
# Key object containing the encryption key used to encrypt EncData object
#
class SecurityDomainUploadObjectValueWrappedKey
include MsRestAzure
# @return [String] Encryption key used to encrypt the EncData
attr_accessor :enc_key
# @return [String] Thumbprint used to determine which certificate was
# used to encrypt the enc_key field
attr_accessor :x5t_256
#
# Mapper for SecurityDomainUploadObjectValueWrappedKey class as Ruby
# Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SecurityDomainUploadObject_value_WrappedKey',
type: {
name: 'Composite',
class_name: 'SecurityDomainUploadObjectValueWrappedKey',
model_properties: {
enc_key: {
client_side_validation: true,
required: false,
serialized_name: 'enc_key',
type: {
name: 'String'
}
},
x5t_256: {
client_side_validation: true,
required: false,
serialized_name: 'x5t_256',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -13,7 +13,8 @@ module Azure::KeyVault::V7_2_preview
include MsRestAzure
# @return [SASTokenParameter]
# @return [SASTokenParameter] SAS token parameter object containing Azure
# storage resourceUri and token
attr_accessor :sas_token_parameters
# @return [String] The Folder name of the blob where the previous

Просмотреть файл

@ -22,6 +22,341 @@ module Azure::KeyVault::V7_2_preview
# @return [KeyVaultClient] reference to the KeyVaultClient
attr_reader :client
#
# Deletes a custom role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to delete. Managed HSM
# only supports '/'.
# @param role_definition_name [String] The name (GUID) of the role definition
# to delete.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [RoleDefinition] operation results.
#
def delete(vault_base_url, scope, role_definition_name, custom_headers:nil)
response = delete_async(vault_base_url, scope, role_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Deletes a custom role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to delete. Managed HSM
# only supports '/'.
# @param role_definition_name [String] The name (GUID) of the role definition
# to delete.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def delete_with_http_info(vault_base_url, scope, role_definition_name, custom_headers:nil)
delete_async(vault_base_url, scope, role_definition_name, custom_headers:custom_headers).value!
end
#
# Deletes a custom role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to delete. Managed HSM
# only supports '/'.
# @param role_definition_name [String] The name (GUID) of the role definition
# to delete.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def delete_async(vault_base_url, scope, role_definition_name, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'scope is nil' if scope.nil?
fail ArgumentError, 'role_definition_name is nil' if role_definition_name.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = '{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}'
request_url = @base_url || @client.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'roleDefinitionName' => role_definition_name},
skip_encoding_path_params: {'scope' => scope},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:delete, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::RoleDefinition.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Creates or updates a custom role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to create or update.
# Managed HSM only supports '/'.
# @param role_definition_name [String] The name of the role definition to
# create or update. It can be any valid GUID.
# @param parameters [RoleDefinitionCreateParameters] Parameters for the role
# definition.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [RoleDefinition] operation results.
#
def create_or_update(vault_base_url, scope, role_definition_name, parameters, custom_headers:nil)
response = create_or_update_async(vault_base_url, scope, role_definition_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Creates or updates a custom role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to create or update.
# Managed HSM only supports '/'.
# @param role_definition_name [String] The name of the role definition to
# create or update. It can be any valid GUID.
# @param parameters [RoleDefinitionCreateParameters] Parameters for the role
# definition.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def create_or_update_with_http_info(vault_base_url, scope, role_definition_name, parameters, custom_headers:nil)
create_or_update_async(vault_base_url, scope, role_definition_name, parameters, custom_headers:custom_headers).value!
end
#
# Creates or updates a custom role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to create or update.
# Managed HSM only supports '/'.
# @param role_definition_name [String] The name of the role definition to
# create or update. It can be any valid GUID.
# @param parameters [RoleDefinitionCreateParameters] Parameters for the role
# definition.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def create_or_update_async(vault_base_url, scope, role_definition_name, parameters, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'scope is nil' if scope.nil?
fail ArgumentError, 'role_definition_name is nil' if role_definition_name.nil?
fail ArgumentError, 'parameters is nil' if parameters.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionCreateParameters.mapper()
request_content = @client.serialize(request_mapper, parameters)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = '{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}'
request_url = @base_url || @client.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'roleDefinitionName' => role_definition_name},
skip_encoding_path_params: {'scope' => scope},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 201
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 201
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::RoleDefinition.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Get the specified role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to get. Managed HSM
# only supports '/'.
# @param role_definition_name [String] The name of the role definition to get.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [RoleDefinition] operation results.
#
def get(vault_base_url, scope, role_definition_name, custom_headers:nil)
response = get_async(vault_base_url, scope, role_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Get the specified role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to get. Managed HSM
# only supports '/'.
# @param role_definition_name [String] The name of the role definition to get.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def get_with_http_info(vault_base_url, scope, role_definition_name, custom_headers:nil)
get_async(vault_base_url, scope, role_definition_name, custom_headers:custom_headers).value!
end
#
# Get the specified role definition.
#
# @param vault_base_url [String] The vault name, for example
# https://myvault.vault.azure.net.
# @param scope [String] The scope of the role definition to get. Managed HSM
# only supports '/'.
# @param role_definition_name [String] The name of the role definition to get.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def get_async(vault_base_url, scope, role_definition_name, custom_headers:nil)
fail ArgumentError, 'vault_base_url is nil' if vault_base_url.nil?
fail ArgumentError, 'scope is nil' if scope.nil?
fail ArgumentError, 'role_definition_name is nil' if role_definition_name.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = '{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}'
request_url = @base_url || @client.base_url
request_url = request_url.gsub('{vaultBaseUrl}', vault_base_url)
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'roleDefinitionName' => role_definition_name},
skip_encoding_path_params: {'scope' => scope},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::KeyVault::V7_2_preview::Models::RoleDefinition.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Get all role definitions that are applicable at scope and above.
#

Просмотреть файл

@ -2,14 +2,14 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-06-01/generated/azure_key_vault'
require '2016-10-01/generated/azure_key_vault'
require '7.1/generated/azure_key_vault'
require '7.1-preview/generated/azure_key_vault'
require '7.2-preview/generated/azure_key_vault'
require '7.0/generated/azure_key_vault'
require '7.0-preview/generated/azure_key_vault'
require '2015-06-01/generated/azure_key_vault'
require '7.0/generated/azure_key_vault'
require '7.1-preview/generated/azure_key_vault'
require '7.1/generated/azure_key_vault'
require '7.2-preview/generated/azure_key_vault'
require 'profiles/latest/keyvault_latest_profile_client'
require 'profiles/v2017_03_09/keyvault_v2017_03_09_profile_client'
require 'profiles/v2018_03_01/keyvault_v2018_03_01_profile_client'
require 'profiles/v2019_03_01_hybrid/keyvault_v2019_03_01_hybrid_profile_client'
require 'profiles/v2018_03_01/keyvault_v2018_03_01_profile_client'

Просмотреть файл

@ -10,20 +10,20 @@ module Azure::KeyVault::Profiles::Latest
HSMSecurityDomain = Azure::KeyVault::V7_2_preview::HSMSecurityDomain
module Models
BackupKeyResult = Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
RoleAssignmentFilter = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentFilter
RoleAssignmentPropertiesWithScope = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
CertificateItem = Azure::KeyVault::V7_2_preview::Models::CertificateItem
RoleAssignment = Azure::KeyVault::V7_2_preview::Models::RoleAssignment
RoleAssignmentPropertiesWithScope = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
KeyProperties = Azure::KeyVault::V7_2_preview::Models::KeyProperties
RoleAssignmentListResult = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
RoleAssignment = Azure::KeyVault::V7_2_preview::Models::RoleAssignment
SubjectAlternativeNames = Azure::KeyVault::V7_2_preview::Models::SubjectAlternativeNames
RoleAssignmentProperties = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
RoleAssignmentListResult = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
Trigger = Azure::KeyVault::V7_2_preview::Models::Trigger
RoleAssignmentCreateParameters = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
RoleAssignmentProperties = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
LifetimeAction = Azure::KeyVault::V7_2_preview::Models::LifetimeAction
RoleDefinitionFilter = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
CertificatePolicy = Azure::KeyVault::V7_2_preview::Models::CertificatePolicy
Permission = Azure::KeyVault::V7_2_preview::Models::Permission
CertificatePolicy = Azure::KeyVault::V7_2_preview::Models::CertificatePolicy
RoleDefinitionProperties = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionProperties
CertificateIssuerItem = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerItem
SecretProperties = Azure::KeyVault::V7_2_preview::Models::SecretProperties
Error = Azure::KeyVault::V7_2_preview::Models::Error
@ -35,91 +35,81 @@ module Azure::KeyVault::Profiles::Latest
IssuerBundle = Azure::KeyVault::V7_2_preview::Models::IssuerBundle
CertificateBundle = Azure::KeyVault::V7_2_preview::Models::CertificateBundle
Contacts = Azure::KeyVault::V7_2_preview::Models::Contacts
SecurityDomainOperationStatus = Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
CertificateImportParameters = Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters
RoleDefinition = Azure::KeyVault::V7_2_preview::Models::RoleDefinition
CertificateMergeParameters = Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters
RoleDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
CertificateIssuerUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerUpdateParameters
SecurityDomainObject = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
CertificateListResult = Azure::KeyVault::V7_2_preview::Models::CertificateListResult
SecretBundle = Azure::KeyVault::V7_2_preview::Models::SecretBundle
CertificateIssuerListResult = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerListResult
SecretItem = Azure::KeyVault::V7_2_preview::Models::SecretItem
CertificateRestoreParameters = Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters
SecurityDomainObjectData = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectData
Attributes = Azure::KeyVault::V7_2_preview::Models::Attributes
SecurityDomainObjectDataSharedKeys = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectDataSharedKeys
KeyReleaseCondition = Azure::KeyVault::V7_2_preview::Models::KeyReleaseCondition
SecretRestoreParameters = Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
KeyReleasePolicy = Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicy
SecretSetParameters = Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
SecurityDomainUploadObject = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObject
SecretUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
KeyItem = Azure::KeyVault::V7_2_preview::Models::KeyItem
SecretListResult = Azure::KeyVault::V7_2_preview::Models::SecretListResult
SecurityDomainUploadObjectValueWrappedKey = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValueWrappedKey
DeletedSecretListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
KeyImportParameters = Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
BackupSecretResult = Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
KeyOperationsParameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
StorageRestoreParameters = Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
KeyVerifyParameters = Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
StorageAccountAttributes = Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
KeyRestoreParameters = Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
StorageBundle = Azure::KeyVault::V7_2_preview::Models::StorageBundle
KeyVerifyResult = Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
Key = Azure::KeyVault::V7_2_preview::Models::Key
DeletedKeyListResult = Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
StorageAccountCreateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
CertificateInfoObject = Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject
StorageAccountUpdateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
AdministratorDetails = Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
Contact = Azure::KeyVault::V7_2_preview::Models::Contact
StorageAccountItem = Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
CertificateUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
EncDataSet = Azure::KeyVault::V7_2_preview::Models::EncDataSet
CertificateOperationUpdateParameter = Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
StorageListResult = Azure::KeyVault::V7_2_preview::Models::StorageListResult
PendingCertificateSigningRequestResult = Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
DeletedStorageListResult = Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
KeyVaultError = Azure::KeyVault::V7_2_preview::Models::KeyVaultError
SasDefinitionAttributes = Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
JsonWebKey = Azure::KeyVault::V7_2_preview::Models::JsonWebKey
SasDefinitionBundle = Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
SecurityDomainUploadObjectValue = Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValue
EncDataSetItem = Azure::KeyVault::V7_2_preview::Models::EncDataSetItem
KeyExportParameters = Azure::KeyVault::V7_2_preview::Models::KeyExportParameters
SasDefinitionItem = Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
KeyUpdateParameters = Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
TransferKey = Azure::KeyVault::V7_2_preview::Models::TransferKey
KeyListResult = Azure::KeyVault::V7_2_preview::Models::KeyListResult
SasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
CertificateOperation = Azure::KeyVault::V7_2_preview::Models::CertificateOperation
DeletedSasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
CertificateCreateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
SasDefinitionCreateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
DeletedCertificateListResult = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
SasDefinitionUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
KeyReleaseAuthority = Azure::KeyVault::V7_2_preview::Models::KeyReleaseAuthority
BackupStorageResult = Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
KeyCreateParameters = Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
SASTokenParameter = Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
KeyOperationResult = Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
RestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
IssuerAttributes = Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
SelectiveKeyRestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
BackupCertificateResult = Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
SelectiveKeyRestoreOperation = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
KeySignParameters = Azure::KeyVault::V7_2_preview::Models::KeySignParameters
FullBackupOperation = Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
CertificateIssuerSetParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
RestoreOperation = Azure::KeyVault::V7_2_preview::Models::RestoreOperation
BackupKeyResult = Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
SecurityDomainJsonWebKey = Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
KeyBundle = Azure::KeyVault::V7_2_preview::Models::KeyBundle
CertificateImportParameters = Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters
RoleDefinitionCreateParameters = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionCreateParameters
CertificateMergeParameters = Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters
RoleAssignmentCreateParameters = Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
CertificateIssuerUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerUpdateParameters
RoleDefinitionFilter = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
CertificateListResult = Azure::KeyVault::V7_2_preview::Models::CertificateListResult
RoleDefinition = Azure::KeyVault::V7_2_preview::Models::RoleDefinition
CertificateIssuerListResult = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerListResult
RoleDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
CertificateRestoreParameters = Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters
SecurityDomainCertificateItem = Azure::KeyVault::V7_2_preview::Models::SecurityDomainCertificateItem
Attributes = Azure::KeyVault::V7_2_preview::Models::Attributes
SecretBundle = Azure::KeyVault::V7_2_preview::Models::SecretBundle
JsonWebKey = Azure::KeyVault::V7_2_preview::Models::JsonWebKey
SecretItem = Azure::KeyVault::V7_2_preview::Models::SecretItem
KeyBundle = Azure::KeyVault::V7_2_preview::Models::KeyBundle
SecurityDomainJsonWebKey = Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
SecurityDomainObject = Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
RestoreOperation = Azure::KeyVault::V7_2_preview::Models::RestoreOperation
KeyCreateParameters = Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
SecretRestoreParameters = Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
KeyOperationsParameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
SecretSetParameters = Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
KeyVerifyParameters = Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
SecretUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
KeyRestoreParameters = Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
SecretListResult = Azure::KeyVault::V7_2_preview::Models::SecretListResult
KeyVerifyResult = Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
DeletedSecretListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
DeletedKeyListResult = Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
BackupSecretResult = Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
StorageRestoreParameters = Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
AdministratorDetails = Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
StorageAccountAttributes = Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
Contact = Azure::KeyVault::V7_2_preview::Models::Contact
StorageBundle = Azure::KeyVault::V7_2_preview::Models::StorageBundle
CertificateUpdateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
FullBackupOperation = Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
CertificateOperationUpdateParameter = Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
StorageAccountCreateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
PendingCertificateSigningRequestResult = Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
StorageAccountUpdateParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
KeyVaultError = Azure::KeyVault::V7_2_preview::Models::KeyVaultError
StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
KeyItem = Azure::KeyVault::V7_2_preview::Models::KeyItem
StorageAccountItem = Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
KeyImportParameters = Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
SelectiveKeyRestoreOperation = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
KeyUpdateParameters = Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
StorageListResult = Azure::KeyVault::V7_2_preview::Models::StorageListResult
KeyListResult = Azure::KeyVault::V7_2_preview::Models::KeyListResult
DeletedStorageListResult = Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
CertificateOperation = Azure::KeyVault::V7_2_preview::Models::CertificateOperation
SasDefinitionAttributes = Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
CertificateCreateParameters = Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
SasDefinitionBundle = Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
DeletedCertificateListResult = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
SelectiveKeyRestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
SecurityDomainOperationStatus = Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
SasDefinitionItem = Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
KeySignParameters = Azure::KeyVault::V7_2_preview::Models::KeySignParameters
RestoreOperationParameters = Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
SASTokenParameter = Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
IssuerAttributes = Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
SasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
BackupCertificateResult = Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
DeletedSasDefinitionListResult = Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
KeyOperationResult = Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
SasDefinitionCreateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
TransferKey = Azure::KeyVault::V7_2_preview::Models::TransferKey
SasDefinitionUpdateParameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
CertificateIssuerSetParameters = Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
BackupStorageResult = Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
CertificateAttributes = Azure::KeyVault::V7_2_preview::Models::CertificateAttributes
DeletedCertificateBundle = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateBundle
DeletedCertificateItem = Azure::KeyVault::V7_2_preview::Models::DeletedCertificateItem
@ -138,11 +128,13 @@ module Azure::KeyVault::Profiles::Latest
JsonWebKeyCurveName = Azure::KeyVault::V7_2_preview::Models::JsonWebKeyCurveName
KeyUsageType = Azure::KeyVault::V7_2_preview::Models::KeyUsageType
ActionType = Azure::KeyVault::V7_2_preview::Models::ActionType
KeyReleaseConditionCondition = Azure::KeyVault::V7_2_preview::Models::KeyReleaseConditionCondition
KeyReleasePolicyVersion = Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicyVersion
JsonWebKeyOperation = Azure::KeyVault::V7_2_preview::Models::JsonWebKeyOperation
JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V7_2_preview::Models::JsonWebKeyEncryptionAlgorithm
JsonWebKeySignatureAlgorithm = Azure::KeyVault::V7_2_preview::Models::JsonWebKeySignatureAlgorithm
RoleScope = Azure::KeyVault::V7_2_preview::Models::RoleScope
RoleType = Azure::KeyVault::V7_2_preview::Models::RoleType
DataAction = Azure::KeyVault::V7_2_preview::Models::DataAction
RoleDefinitionType = Azure::KeyVault::V7_2_preview::Models::RoleDefinitionType
SasTokenType = Azure::KeyVault::V7_2_preview::Models::SasTokenType
OperationStatus = Azure::KeyVault::V7_2_preview::Models::OperationStatus
end
@ -194,47 +186,47 @@ module Azure::KeyVault::Profiles::Latest
end
class ModelClasses
def backup_key_result
Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
end
def role_assignment_filter
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentFilter
end
def role_assignment_properties_with_scope
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
end
def certificate_item
Azure::KeyVault::V7_2_preview::Models::CertificateItem
end
def role_assignment
Azure::KeyVault::V7_2_preview::Models::RoleAssignment
def role_assignment_properties_with_scope
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentPropertiesWithScope
end
def key_properties
Azure::KeyVault::V7_2_preview::Models::KeyProperties
end
def role_assignment_list_result
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
def role_assignment
Azure::KeyVault::V7_2_preview::Models::RoleAssignment
end
def subject_alternative_names
Azure::KeyVault::V7_2_preview::Models::SubjectAlternativeNames
end
def role_assignment_properties
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
def role_assignment_list_result
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentListResult
end
def trigger
Azure::KeyVault::V7_2_preview::Models::Trigger
end
def role_assignment_create_parameters
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
def role_assignment_properties
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties
end
def lifetime_action
Azure::KeyVault::V7_2_preview::Models::LifetimeAction
end
def role_definition_filter
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
def permission
Azure::KeyVault::V7_2_preview::Models::Permission
end
def certificate_policy
Azure::KeyVault::V7_2_preview::Models::CertificatePolicy
end
def permission
Azure::KeyVault::V7_2_preview::Models::Permission
def role_definition_properties
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionProperties
end
def certificate_issuer_item
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerItem
@ -269,260 +261,230 @@ module Azure::KeyVault::Profiles::Latest
def contacts
Azure::KeyVault::V7_2_preview::Models::Contacts
end
def security_domain_operation_status
Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
def certificate_info_object
Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject
end
def certificate_import_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters
end
def role_definition
Azure::KeyVault::V7_2_preview::Models::RoleDefinition
def role_definition_create_parameters
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionCreateParameters
end
def certificate_merge_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters
end
def role_definition_list_result
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
def role_assignment_create_parameters
Azure::KeyVault::V7_2_preview::Models::RoleAssignmentCreateParameters
end
def certificate_issuer_update_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerUpdateParameters
end
def security_domain_object
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
def role_definition_filter
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionFilter
end
def certificate_list_result
Azure::KeyVault::V7_2_preview::Models::CertificateListResult
end
def secret_bundle
Azure::KeyVault::V7_2_preview::Models::SecretBundle
def role_definition
Azure::KeyVault::V7_2_preview::Models::RoleDefinition
end
def certificate_issuer_list_result
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerListResult
end
def secret_item
Azure::KeyVault::V7_2_preview::Models::SecretItem
def role_definition_list_result
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionListResult
end
def certificate_restore_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters
end
def security_domain_object_data
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectData
def security_domain_certificate_item
Azure::KeyVault::V7_2_preview::Models::SecurityDomainCertificateItem
end
def attributes
Azure::KeyVault::V7_2_preview::Models::Attributes
end
def security_domain_object_data_shared_keys
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObjectDataSharedKeys
end
def key_release_condition
Azure::KeyVault::V7_2_preview::Models::KeyReleaseCondition
end
def secret_restore_parameters
Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
end
def key_release_policy
Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicy
end
def secret_set_parameters
Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
end
def security_domain_upload_object
Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObject
end
def secret_update_parameters
Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
end
def key_item
Azure::KeyVault::V7_2_preview::Models::KeyItem
end
def secret_list_result
Azure::KeyVault::V7_2_preview::Models::SecretListResult
end
def security_domain_upload_object_value_wrapped_key
Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValueWrappedKey
end
def deleted_secret_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
end
def key_import_parameters
Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
end
def backup_secret_result
Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
end
def key_operations_parameters
Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
end
def storage_restore_parameters
Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
end
def key_verify_parameters
Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
end
def storage_account_attributes
Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
end
def key_restore_parameters
Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
end
def storage_bundle
Azure::KeyVault::V7_2_preview::Models::StorageBundle
end
def key_verify_result
Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
end
def key
Azure::KeyVault::V7_2_preview::Models::Key
end
def deleted_key_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
end
def storage_account_create_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
end
def certificate_info_object
Azure::KeyVault::V7_2_preview::Models::CertificateInfoObject
end
def storage_account_update_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
end
def administrator_details
Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
end
def storage_account_regenerte_key_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
end
def contact
Azure::KeyVault::V7_2_preview::Models::Contact
end
def storage_account_item
Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
end
def certificate_update_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
end
def enc_data_set
Azure::KeyVault::V7_2_preview::Models::EncDataSet
end
def certificate_operation_update_parameter
Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
end
def storage_list_result
Azure::KeyVault::V7_2_preview::Models::StorageListResult
end
def pending_certificate_signing_request_result
Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
end
def deleted_storage_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
end
def key_vault_error
Azure::KeyVault::V7_2_preview::Models::KeyVaultError
end
def sas_definition_attributes
Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
def secret_bundle
Azure::KeyVault::V7_2_preview::Models::SecretBundle
end
def json_web_key
Azure::KeyVault::V7_2_preview::Models::JsonWebKey
end
def sas_definition_bundle
Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
end
def security_domain_upload_object_value
Azure::KeyVault::V7_2_preview::Models::SecurityDomainUploadObjectValue
end
def enc_data_set_item
Azure::KeyVault::V7_2_preview::Models::EncDataSetItem
end
def key_export_parameters
Azure::KeyVault::V7_2_preview::Models::KeyExportParameters
end
def sas_definition_item
Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
end
def key_update_parameters
Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
end
def transfer_key
Azure::KeyVault::V7_2_preview::Models::TransferKey
end
def key_list_result
Azure::KeyVault::V7_2_preview::Models::KeyListResult
end
def sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
end
def certificate_operation
Azure::KeyVault::V7_2_preview::Models::CertificateOperation
end
def deleted_sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
end
def certificate_create_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
end
def sas_definition_create_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
end
def deleted_certificate_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
end
def sas_definition_update_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
end
def key_release_authority
Azure::KeyVault::V7_2_preview::Models::KeyReleaseAuthority
end
def backup_storage_result
Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
end
def key_create_parameters
Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
end
def sastoken_parameter
Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
end
def key_operation_result
Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
end
def restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
end
def issuer_attributes
Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
end
def selective_key_restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
end
def backup_certificate_result
Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
end
def selective_key_restore_operation
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
end
def key_sign_parameters
Azure::KeyVault::V7_2_preview::Models::KeySignParameters
end
def full_backup_operation
Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
end
def certificate_issuer_set_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
end
def restore_operation
Azure::KeyVault::V7_2_preview::Models::RestoreOperation
end
def backup_key_result
Azure::KeyVault::V7_2_preview::Models::BackupKeyResult
end
def security_domain_json_web_key
Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
def secret_item
Azure::KeyVault::V7_2_preview::Models::SecretItem
end
def key_bundle
Azure::KeyVault::V7_2_preview::Models::KeyBundle
end
def security_domain_certificate_item
Azure::KeyVault::V7_2_preview::Models::SecurityDomainCertificateItem
def security_domain_json_web_key
Azure::KeyVault::V7_2_preview::Models::SecurityDomainJsonWebKey
end
def security_domain_object
Azure::KeyVault::V7_2_preview::Models::SecurityDomainObject
end
def restore_operation
Azure::KeyVault::V7_2_preview::Models::RestoreOperation
end
def key_create_parameters
Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters
end
def secret_restore_parameters
Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters
end
def key_operations_parameters
Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters
end
def secret_set_parameters
Azure::KeyVault::V7_2_preview::Models::SecretSetParameters
end
def key_verify_parameters
Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters
end
def secret_update_parameters
Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters
end
def key_restore_parameters
Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters
end
def secret_list_result
Azure::KeyVault::V7_2_preview::Models::SecretListResult
end
def key_verify_result
Azure::KeyVault::V7_2_preview::Models::KeyVerifyResult
end
def deleted_secret_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSecretListResult
end
def deleted_key_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedKeyListResult
end
def backup_secret_result
Azure::KeyVault::V7_2_preview::Models::BackupSecretResult
end
def storage_restore_parameters
Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters
end
def administrator_details
Azure::KeyVault::V7_2_preview::Models::AdministratorDetails
end
def storage_account_attributes
Azure::KeyVault::V7_2_preview::Models::StorageAccountAttributes
end
def contact
Azure::KeyVault::V7_2_preview::Models::Contact
end
def storage_bundle
Azure::KeyVault::V7_2_preview::Models::StorageBundle
end
def certificate_update_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters
end
def full_backup_operation
Azure::KeyVault::V7_2_preview::Models::FullBackupOperation
end
def certificate_operation_update_parameter
Azure::KeyVault::V7_2_preview::Models::CertificateOperationUpdateParameter
end
def storage_account_create_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters
end
def pending_certificate_signing_request_result
Azure::KeyVault::V7_2_preview::Models::PendingCertificateSigningRequestResult
end
def storage_account_update_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters
end
def key_vault_error
Azure::KeyVault::V7_2_preview::Models::KeyVaultError
end
def storage_account_regenerte_key_parameters
Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters
end
def key_item
Azure::KeyVault::V7_2_preview::Models::KeyItem
end
def storage_account_item
Azure::KeyVault::V7_2_preview::Models::StorageAccountItem
end
def key_import_parameters
Azure::KeyVault::V7_2_preview::Models::KeyImportParameters
end
def selective_key_restore_operation
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperation
end
def key_update_parameters
Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters
end
def storage_list_result
Azure::KeyVault::V7_2_preview::Models::StorageListResult
end
def key_list_result
Azure::KeyVault::V7_2_preview::Models::KeyListResult
end
def deleted_storage_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedStorageListResult
end
def certificate_operation
Azure::KeyVault::V7_2_preview::Models::CertificateOperation
end
def sas_definition_attributes
Azure::KeyVault::V7_2_preview::Models::SasDefinitionAttributes
end
def certificate_create_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters
end
def sas_definition_bundle
Azure::KeyVault::V7_2_preview::Models::SasDefinitionBundle
end
def deleted_certificate_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedCertificateListResult
end
def selective_key_restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::SelectiveKeyRestoreOperationParameters
end
def security_domain_operation_status
Azure::KeyVault::V7_2_preview::Models::SecurityDomainOperationStatus
end
def sas_definition_item
Azure::KeyVault::V7_2_preview::Models::SasDefinitionItem
end
def key_sign_parameters
Azure::KeyVault::V7_2_preview::Models::KeySignParameters
end
def restore_operation_parameters
Azure::KeyVault::V7_2_preview::Models::RestoreOperationParameters
end
def sastoken_parameter
Azure::KeyVault::V7_2_preview::Models::SASTokenParameter
end
def issuer_attributes
Azure::KeyVault::V7_2_preview::Models::IssuerAttributes
end
def sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::SasDefinitionListResult
end
def backup_certificate_result
Azure::KeyVault::V7_2_preview::Models::BackupCertificateResult
end
def deleted_sas_definition_list_result
Azure::KeyVault::V7_2_preview::Models::DeletedSasDefinitionListResult
end
def key_operation_result
Azure::KeyVault::V7_2_preview::Models::KeyOperationResult
end
def sas_definition_create_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters
end
def transfer_key
Azure::KeyVault::V7_2_preview::Models::TransferKey
end
def sas_definition_update_parameters
Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters
end
def certificate_issuer_set_parameters
Azure::KeyVault::V7_2_preview::Models::CertificateIssuerSetParameters
end
def backup_storage_result
Azure::KeyVault::V7_2_preview::Models::BackupStorageResult
end
def certificate_attributes
Azure::KeyVault::V7_2_preview::Models::CertificateAttributes
@ -578,12 +540,6 @@ module Azure::KeyVault::Profiles::Latest
def action_type
Azure::KeyVault::V7_2_preview::Models::ActionType
end
def key_release_condition_condition
Azure::KeyVault::V7_2_preview::Models::KeyReleaseConditionCondition
end
def key_release_policy_version
Azure::KeyVault::V7_2_preview::Models::KeyReleasePolicyVersion
end
def json_web_key_operation
Azure::KeyVault::V7_2_preview::Models::JsonWebKeyOperation
end
@ -593,6 +549,18 @@ module Azure::KeyVault::Profiles::Latest
def json_web_key_signature_algorithm
Azure::KeyVault::V7_2_preview::Models::JsonWebKeySignatureAlgorithm
end
def role_scope
Azure::KeyVault::V7_2_preview::Models::RoleScope
end
def role_type
Azure::KeyVault::V7_2_preview::Models::RoleType
end
def data_action
Azure::KeyVault::V7_2_preview::Models::DataAction
end
def role_definition_type
Azure::KeyVault::V7_2_preview::Models::RoleDefinitionType
end
def sas_token_type
Azure::KeyVault::V7_2_preview::Models::SasTokenType
end

Просмотреть файл

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
module Azure::KeyVault
VERSION = '0.18.1'
VERSION = '0.19.0'
end