зеркало из
1
0
Форкнуть 0

Merge pull request #2829 from kairu-ms/key-vault-issue-fix

Fix key vault issues
This commit is contained in:
kai ru 2021-03-22 17:06:10 +08:00 коммит произвёл GitHub
Родитель e4748f1538 1a3369613d
Коммит 9d0fd01184
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
87 изменённых файлов: 1889 добавлений и 2211 удалений

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

@ -1,5 +1,9 @@
## 2021.03.22 - Azure Ruby SDK Release
- azure_key_vault - v0.19.0
- azure_mgmt_resources - v0.18.2
- azure_mgmt_bot_service - v0.17.2
- azure_mgmt_cognitive_services - v0.19.4
- azure_mgmt_cosmosdb - v0.24.1
- azure_sdk - v0.72.0
## 2021.03.11 - Azure Ruby SDK Release

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

@ -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,6 +1,12 @@
{
"data": [
"azure_key_vault"
],
"management": [
"azure_mgmt_resources"
"azure_mgmt_resources",
"azure_mgmt_bot_service",
"azure_mgmt_cognitive_services",
"azure_mgmt_cosmosdb"
],
"rollup": [
"azure_sdk"

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

@ -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": {
@ -48,9 +48,9 @@
"azure_mgmt_batch": "0.18.1",
"azure_mgmt_batchai": "0.17.1",
"azure_mgmt_billing": "0.17.3",
"azure_mgmt_bot_service": "0.17.1",
"azure_mgmt_bot_service": "0.17.2",
"azure_mgmt_cdn": "0.18.2",
"azure_mgmt_cognitive_services": "0.19.3",
"azure_mgmt_cognitive_services": "0.19.4",
"azure_mgmt_commerce": "0.17.2",
"azure_mgmt_compute": "0.22.0",
"azure_mgmt_confluent": "0.17.0",
@ -58,7 +58,7 @@
"azure_mgmt_container_instance": "0.18.0",
"azure_mgmt_container_registry": "0.18.5",
"azure_mgmt_container_service": "0.22.0",
"azure_mgmt_cosmosdb": "0.24.0",
"azure_mgmt_cosmosdb": "0.24.1",
"azure_mgmt_cost_management": "0.17.1",
"azure_mgmt_customer_insights": "0.17.3",
"azure_mgmt_databox": "0.17.1",

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

@ -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"
}

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

@ -183,12 +183,12 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'kty is nil' if kty.nil?
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
parameters = KeyCreateParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyCreateParameters.new
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.kty = kty
parameters.key_size = key_size
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -315,11 +315,11 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -542,10 +542,10 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -1055,9 +1055,9 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -1181,7 +1181,7 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1306,7 +1306,7 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1437,7 +1437,7 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1572,7 +1572,7 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -1698,7 +1698,7 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1826,7 +1826,7 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1952,12 +1952,12 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -2176,10 +2176,10 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -3654,10 +3654,10 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -3726,7 +3726,7 @@ module Azure::KeyVault::V2015_06_01
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate
@ -3753,7 +3753,7 @@ module Azure::KeyVault::V2015_06_01
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate
@ -3779,7 +3779,7 @@ module Azure::KeyVault::V2015_06_01
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate
@ -3799,12 +3799,12 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -4071,7 +4071,7 @@ module Azure::KeyVault::V2015_06_01
#
# Updates the policy for a certificate. Set appropriate members in the
# certificatePolicy that must be updated. Leave others as null.
# certificate_policy that must be updated. Leave others as null.
#
# @param vault_base_url [String] The vault name, e.g.
# https://myvault.vault.azure.net
@ -4090,7 +4090,7 @@ module Azure::KeyVault::V2015_06_01
#
# Updates the policy for a certificate. Set appropriate members in the
# certificatePolicy that must be updated. Leave others as null.
# certificate_policy that must be updated. Leave others as null.
#
# @param vault_base_url [String] The vault name, e.g.
# https://myvault.vault.azure.net
@ -4108,7 +4108,7 @@ module Azure::KeyVault::V2015_06_01
#
# Updates the policy for a certificate. Set appropriate members in the
# certificatePolicy that must be updated. Leave others as null.
# certificate_policy that must be updated. Leave others as null.
#
# @param vault_base_url [String] The vault name, e.g.
# https://myvault.vault.azure.net
@ -4255,10 +4255,10 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -4800,10 +4800,10 @@ module Azure::KeyVault::V2015_06_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V2015_06_01::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V2015_06_01
# object to import. This certificate needs to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption
attr_accessor :password

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

@ -213,12 +213,12 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'kty is nil' if kty.nil?
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
parameters = KeyCreateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters.new
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
parameters.kty = kty
parameters.key_size = key_size
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
parameters.curve = curve
end
@ -361,11 +361,11 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -621,10 +621,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -1260,9 +1260,9 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -1419,7 +1419,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1568,7 +1568,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1714,7 +1714,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1873,7 +1873,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -2023,7 +2023,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -2169,7 +2169,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -2756,12 +2756,12 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -3010,10 +3010,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -4008,9 +4008,9 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
parameters = SecretRestoreParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::SecretRestoreParameters.new
unless secret_bundle_backup.nil?
parameters.secretBundleBackup = secret_bundle_backup
parameters.secret_bundle_backup = secret_bundle_backup
end
request_headers = {}
@ -5294,10 +5294,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -5372,7 +5372,7 @@ module Azure::KeyVault::V2016_10_01
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5405,7 +5405,7 @@ module Azure::KeyVault::V2016_10_01
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5437,7 +5437,7 @@ module Azure::KeyVault::V2016_10_01
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5457,12 +5457,12 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -5955,10 +5955,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -6551,10 +6551,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -7455,13 +7455,13 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
parameters = StorageAccountCreateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters.new
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.resource_id = resource_id
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -7599,12 +7599,12 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = StorageAccountUpdateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters.new
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -7719,7 +7719,7 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = StorageAccountRegenerteKeyParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end
@ -8176,10 +8176,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'parameters is nil' if parameters.nil?
parameters = SasDefinitionCreateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionCreateParameters.new
unless parameters.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.parameters = parameters
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -8313,10 +8313,10 @@ module Azure::KeyVault::V2016_10_01
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SasDefinitionUpdateParameters.new
parameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionUpdateParameters.new
unless parameters.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.parameters = parameters
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V2016_10_01
# object to import. This certificate needs to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
attr_accessor :password

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

@ -213,12 +213,12 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'kty is nil' if kty.nil?
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
parameters = KeyCreateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyCreateParameters.new
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
parameters.kty = kty
parameters.key_size = key_size
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
parameters.curve = curve
end
@ -361,11 +361,11 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -621,10 +621,10 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -1260,9 +1260,9 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -1419,7 +1419,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1568,7 +1568,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1714,7 +1714,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1873,7 +1873,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -2023,7 +2023,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -2169,7 +2169,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -2756,12 +2756,12 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -3010,10 +3010,10 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -4008,9 +4008,9 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
parameters = SecretRestoreParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::SecretRestoreParameters.new
unless secret_bundle_backup.nil?
parameters.secretBundleBackup = secret_bundle_backup
parameters.secret_bundle_backup = secret_bundle_backup
end
request_headers = {}
@ -5300,10 +5300,10 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -5378,7 +5378,7 @@ module Azure::KeyVault::V7_0_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5411,7 +5411,7 @@ module Azure::KeyVault::V7_0_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5443,7 +5443,7 @@ module Azure::KeyVault::V7_0_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5463,12 +5463,12 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -5961,10 +5961,10 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -6557,10 +6557,10 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -6788,9 +6788,9 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
parameters = CertificateRestoreParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::CertificateRestoreParameters.new
unless certificate_bundle_backup.nil?
parameters.certificateBundleBackup = certificate_bundle_backup
parameters.certificate_bundle_backup = certificate_bundle_backup
end
request_headers = {}
@ -8008,9 +8008,9 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
parameters = StorageRestoreParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::StorageRestoreParameters.new
unless storage_bundle_backup.nil?
parameters.storageBundleBackup = storage_bundle_backup
parameters.storage_bundle_backup = storage_bundle_backup
end
request_headers = {}
@ -8354,13 +8354,13 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
parameters = StorageAccountCreateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::StorageAccountCreateParameters.new
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.resource_id = resource_id
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8498,12 +8498,12 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = StorageAccountUpdateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::StorageAccountUpdateParameters.new
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8618,7 +8618,7 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = StorageAccountRegenerteKeyParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::StorageAccountRegenerteKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end
@ -9440,12 +9440,12 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
parameters = SasDefinitionCreateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::SasDefinitionCreateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -9594,12 +9594,12 @@ module Azure::KeyVault::V7_0_preview
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SasDefinitionUpdateParameters.new
parameters = Azure::KeyVault::V7_0_preview::Models::SasDefinitionUpdateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V7_0_preview
# object to import. This certificate needs to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
attr_accessor :password

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

@ -218,7 +218,7 @@ module Azure::KeyVault::V7_0
parameters.kty = kty
parameters.key_size = key_size
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
parameters.curve = curve
end
@ -361,11 +361,11 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -621,10 +621,10 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -1263,9 +1263,9 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -1422,7 +1422,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1571,7 +1571,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1717,7 +1717,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -1876,7 +1876,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -2026,7 +2026,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -2172,7 +2172,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -2759,12 +2759,12 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V7_0::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -3013,10 +3013,10 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V7_0::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -4014,9 +4014,9 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
parameters = SecretRestoreParameters.new
parameters = Azure::KeyVault::V7_0::Models::SecretRestoreParameters.new
unless secret_bundle_backup.nil?
parameters.secretBundleBackup = secret_bundle_backup
parameters.secret_bundle_backup = secret_bundle_backup
end
request_headers = {}
@ -5306,10 +5306,10 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V7_0::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -5383,7 +5383,7 @@ module Azure::KeyVault::V7_0
# @param certificate_name [String] The name of the certificate.
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
# file. PEM files need to contain the private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5415,7 +5415,7 @@ module Azure::KeyVault::V7_0
# @param certificate_name [String] The name of the certificate.
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
# file. PEM files need to contain the private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5446,7 +5446,7 @@ module Azure::KeyVault::V7_0
# @param certificate_name [String] The name of the certificate.
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
# file. PEM files need to contain the private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -5466,12 +5466,12 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V7_0::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -5964,10 +5964,10 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V7_0::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -6566,10 +6566,10 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V7_0::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -6797,9 +6797,9 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
parameters = CertificateRestoreParameters.new
parameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters.new
unless certificate_bundle_backup.nil?
parameters.certificateBundleBackup = certificate_bundle_backup
parameters.certificate_bundle_backup = certificate_bundle_backup
end
request_headers = {}
@ -8017,9 +8017,9 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
parameters = StorageRestoreParameters.new
parameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters.new
unless storage_bundle_backup.nil?
parameters.storageBundleBackup = storage_bundle_backup
parameters.storage_bundle_backup = storage_bundle_backup
end
request_headers = {}
@ -8363,13 +8363,13 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
parameters = StorageAccountCreateParameters.new
parameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters.new
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.resource_id = resource_id
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8507,12 +8507,12 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = StorageAccountUpdateParameters.new
parameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters.new
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8627,7 +8627,7 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = StorageAccountRegenerteKeyParameters.new
parameters = Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end
@ -9449,12 +9449,12 @@ module Azure::KeyVault::V7_0
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
parameters = SasDefinitionCreateParameters.new
parameters = Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -9603,12 +9603,12 @@ module Azure::KeyVault::V7_0
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SasDefinitionUpdateParameters.new
parameters = Azure::KeyVault::V7_0::Models::SasDefinitionUpdateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V7_0
# need to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
attr_accessor :password

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

@ -1341,10 +1341,10 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -1419,7 +1419,7 @@ module Azure::KeyVault::V7_1_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1452,7 +1452,7 @@ module Azure::KeyVault::V7_1_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1484,7 +1484,7 @@ module Azure::KeyVault::V7_1_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1504,12 +1504,12 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2002,10 +2002,10 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2604,10 +2604,10 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2835,9 +2835,9 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
parameters = CertificateRestoreParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::CertificateRestoreParameters.new
unless certificate_bundle_backup.nil?
parameters.certificateBundleBackup = certificate_bundle_backup
parameters.certificate_bundle_backup = certificate_bundle_backup
end
request_headers = {}
@ -3457,12 +3457,12 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'kty is nil' if kty.nil?
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
parameters = KeyCreateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyCreateParameters.new
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
parameters.kty = kty
parameters.key_size = key_size
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
parameters.curve = curve
end
@ -3605,11 +3605,11 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -3865,10 +3865,10 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -4507,9 +4507,9 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -4666,7 +4666,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -4815,7 +4815,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -4961,7 +4961,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5120,7 +5120,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -5270,7 +5270,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5416,7 +5416,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -6003,12 +6003,12 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -6257,10 +6257,10 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -7258,9 +7258,9 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
parameters = SecretRestoreParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::SecretRestoreParameters.new
unless secret_bundle_backup.nil?
parameters.secretBundleBackup = secret_bundle_backup
parameters.secret_bundle_backup = secret_bundle_backup
end
request_headers = {}
@ -8020,9 +8020,9 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
parameters = StorageRestoreParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::StorageRestoreParameters.new
unless storage_bundle_backup.nil?
parameters.storageBundleBackup = storage_bundle_backup
parameters.storage_bundle_backup = storage_bundle_backup
end
request_headers = {}
@ -8366,13 +8366,13 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
parameters = StorageAccountCreateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::StorageAccountCreateParameters.new
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.resource_id = resource_id
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8510,12 +8510,12 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = StorageAccountUpdateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::StorageAccountUpdateParameters.new
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8630,7 +8630,7 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = StorageAccountRegenerteKeyParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::StorageAccountRegenerteKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end
@ -9452,12 +9452,12 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
parameters = SasDefinitionCreateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::SasDefinitionCreateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -9606,12 +9606,12 @@ module Azure::KeyVault::V7_1_preview
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SasDefinitionUpdateParameters.new
parameters = Azure::KeyVault::V7_1_preview::Models::SasDefinitionUpdateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V7_1_preview
# object to import. This certificate needs to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
attr_accessor :password

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

@ -1341,10 +1341,10 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V7_1::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -1418,7 +1418,7 @@ module Azure::KeyVault::V7_1
# @param certificate_name [String] The name of the certificate.
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
# file. PEM files need to contain the private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1450,7 +1450,7 @@ module Azure::KeyVault::V7_1
# @param certificate_name [String] The name of the certificate.
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
# file. PEM files need to contain the private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1481,7 +1481,7 @@ module Azure::KeyVault::V7_1
# @param certificate_name [String] The name of the certificate.
# @param base64encoded_certificate [String] A PEM file or a base64-encoded PFX
# file. PEM files need to contain the private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1501,12 +1501,12 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V7_1::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -1999,10 +1999,10 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V7_1::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2601,10 +2601,10 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V7_1::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2832,9 +2832,9 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
parameters = CertificateRestoreParameters.new
parameters = Azure::KeyVault::V7_1::Models::CertificateRestoreParameters.new
unless certificate_bundle_backup.nil?
parameters.certificateBundleBackup = certificate_bundle_backup
parameters.certificate_bundle_backup = certificate_bundle_backup
end
request_headers = {}
@ -3454,12 +3454,12 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'kty is nil' if kty.nil?
fail ArgumentError, "'kty' should satisfy the constraint - 'MinLength': '1'" if !kty.nil? && kty.length < 1
parameters = KeyCreateParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyCreateParameters.new
unless kty.nil? && key_size.nil? && key_ops.nil? && key_attributes.nil? && tags.nil? && curve.nil?
parameters.kty = kty
parameters.key_size = key_size
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
parameters.curve = curve
end
@ -3602,11 +3602,11 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -3862,10 +3862,10 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'key_version is nil' if key_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = KeyUpdateParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
end
@ -4504,9 +4504,9 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -4663,7 +4663,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -4812,7 +4812,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -4958,7 +4958,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5117,7 +5117,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -5267,7 +5267,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5413,7 +5413,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_1::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -6000,12 +6000,12 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V7_1::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -6254,10 +6254,10 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V7_1::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -7255,9 +7255,9 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
parameters = SecretRestoreParameters.new
parameters = Azure::KeyVault::V7_1::Models::SecretRestoreParameters.new
unless secret_bundle_backup.nil?
parameters.secretBundleBackup = secret_bundle_backup
parameters.secret_bundle_backup = secret_bundle_backup
end
request_headers = {}
@ -8017,9 +8017,9 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
parameters = StorageRestoreParameters.new
parameters = Azure::KeyVault::V7_1::Models::StorageRestoreParameters.new
unless storage_bundle_backup.nil?
parameters.storageBundleBackup = storage_bundle_backup
parameters.storage_bundle_backup = storage_bundle_backup
end
request_headers = {}
@ -8363,13 +8363,13 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
parameters = StorageAccountCreateParameters.new
parameters = Azure::KeyVault::V7_1::Models::StorageAccountCreateParameters.new
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.resource_id = resource_id
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8507,12 +8507,12 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = StorageAccountUpdateParameters.new
parameters = Azure::KeyVault::V7_1::Models::StorageAccountUpdateParameters.new
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8627,7 +8627,7 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = StorageAccountRegenerteKeyParameters.new
parameters = Azure::KeyVault::V7_1::Models::StorageAccountRegenerteKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end
@ -9449,12 +9449,12 @@ module Azure::KeyVault::V7_1
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
parameters = SasDefinitionCreateParameters.new
parameters = Azure::KeyVault::V7_1::Models::SasDefinitionCreateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -9603,12 +9603,12 @@ module Azure::KeyVault::V7_1
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SasDefinitionUpdateParameters.new
parameters = Azure::KeyVault::V7_1::Models::SasDefinitionUpdateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V7_1
# need to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
attr_accessor :password

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

@ -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

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

@ -1353,10 +1353,10 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'certificate_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z-]+$'" if !certificate_name.nil? && certificate_name.match(Regexp.new('^^[0-9a-zA-Z-]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateCreateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::CertificateCreateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -1431,7 +1431,7 @@ module Azure::KeyVault::V7_2_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1464,7 +1464,7 @@ module Azure::KeyVault::V7_2_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1496,7 +1496,7 @@ module Azure::KeyVault::V7_2_preview
# @param base64encoded_certificate [String] Base64 encoded representation of
# the certificate object to import. This certificate needs to contain the
# private key.
# @param password [String] If the private key in base64EncodedCertificate is
# @param password [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
# @param certificate_policy [CertificatePolicy] The management policy for the
# certificate.
@ -1516,12 +1516,12 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'base64encoded_certificate is nil' if base64encoded_certificate.nil?
parameters = CertificateImportParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::CertificateImportParameters.new
unless base64encoded_certificate.nil? && password.nil? && certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.base64EncodedCertificate = base64encoded_certificate
parameters.base64encoded_certificate = base64encoded_certificate
parameters.password = password
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2014,10 +2014,10 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'certificate_version is nil' if certificate_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = CertificateUpdateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::CertificateUpdateParameters.new
unless certificate_policy.nil? && certificate_attributes.nil? && tags.nil?
parameters.CertificatePolicy = certificate_policy
parameters.CertificateAttributes = certificate_attributes
parameters.certificate_policy = certificate_policy
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2616,10 +2616,10 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'x509certificates is nil' if x509certificates.nil?
parameters = CertificateMergeParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::CertificateMergeParameters.new
unless x509certificates.nil? && certificate_attributes.nil? && tags.nil?
parameters.x509Certificates = x509certificates
parameters.CertificateAttributes = certificate_attributes
parameters.x509certificates = x509certificates
parameters.certificate_attributes = certificate_attributes
parameters.tags = tags
end
@ -2847,9 +2847,9 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'certificate_bundle_backup is nil' if certificate_bundle_backup.nil?
parameters = CertificateRestoreParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::CertificateRestoreParameters.new
unless certificate_bundle_backup.nil?
parameters.certificateBundleBackup = certificate_bundle_backup
parameters.certificate_bundle_backup = certificate_bundle_backup
end
request_headers = {}
@ -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?
@ -3478,16 +3472,15 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'kty is nil' if kty.nil?
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?
parameters = Azure::KeyVault::V7_2_preview::Models::KeyCreateParameters.new
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
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = 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,27 +3609,24 @@ 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?
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key is nil' if key.nil?
parameters = KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil? && release_policy.nil?
parameters = Azure::KeyVault::V7_2_preview::Models::KeyImportParameters.new
unless hsm.nil? && key.nil? && key_attributes.nil? && tags.nil?
parameters.hsm = hsm
parameters.key = key
parameters.keyAttributes = key_attributes
parameters.key_attributes = 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?
parameters = Azure::KeyVault::V7_2_preview::Models::KeyUpdateParameters.new
unless key_ops.nil? && key_attributes.nil? && tags.nil?
parameters.key_ops = key_ops
parameters.keyAttributes = key_attributes
parameters.key_attributes = key_attributes
parameters.tags = tags
parameters.release_policy = release_policy
end
request_headers = {}
@ -4544,9 +4523,9 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_bundle_backup is nil' if key_bundle_backup.nil?
parameters = KeyRestoreParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeyRestoreParameters.new
unless key_bundle_backup.nil?
parameters.keyBundleBackup = key_bundle_backup
parameters.key_bundle_backup = key_bundle_backup
end
request_headers = {}
@ -4724,7 +4703,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil? && iv.nil? && aad.nil? && tag.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -4897,7 +4876,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil? && iv.nil? && aad.nil? && tag.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5046,7 +5025,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeySignParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeySignParameters.new
unless algorithm.nil? && value.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5205,7 +5184,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'digest is nil' if digest.nil?
fail ArgumentError, 'signature is nil' if signature.nil?
parameters = KeyVerifyParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeyVerifyParameters.new
unless algorithm.nil? && digest.nil? && signature.nil?
parameters.algorithm = algorithm
parameters.digest = digest
@ -5376,7 +5355,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil? && iv.nil? && aad.nil? && tag.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -5546,7 +5525,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'algorithm' should satisfy the constraint - 'MinLength': '1'" if !algorithm.nil? && algorithm.length < 1
fail ArgumentError, 'value is nil' if value.nil?
parameters = KeyOperationsParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters.new
unless algorithm.nil? && value.nil? && iv.nil? && aad.nil? && tag.nil?
parameters.algorithm = algorithm
parameters.value = value
@ -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.
#
@ -6265,12 +6115,12 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'value is nil' if value.nil?
parameters = SecretSetParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::SecretSetParameters.new
unless value.nil? && tags.nil? && content_type.nil? && secret_attributes.nil?
parameters.value = value
parameters.tags = tags
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
end
request_headers = {}
@ -6519,10 +6369,10 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'secret_version is nil' if secret_version.nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SecretUpdateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::SecretUpdateParameters.new
unless content_type.nil? && secret_attributes.nil? && tags.nil?
parameters.content_type = content_type
parameters.secretAttributes = secret_attributes
parameters.secret_attributes = secret_attributes
parameters.tags = tags
end
@ -7520,9 +7370,9 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'secret_bundle_backup is nil' if secret_bundle_backup.nil?
parameters = SecretRestoreParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::SecretRestoreParameters.new
unless secret_bundle_backup.nil?
parameters.secretBundleBackup = secret_bundle_backup
parameters.secret_bundle_backup = secret_bundle_backup
end
request_headers = {}
@ -8282,9 +8132,9 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'storage_bundle_backup is nil' if storage_bundle_backup.nil?
parameters = StorageRestoreParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::StorageRestoreParameters.new
unless storage_bundle_backup.nil?
parameters.storageBundleBackup = storage_bundle_backup
parameters.storage_bundle_backup = storage_bundle_backup
end
request_headers = {}
@ -8628,13 +8478,13 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'active_key_name is nil' if active_key_name.nil?
fail ArgumentError, 'auto_regenerate_key is nil' if auto_regenerate_key.nil?
parameters = StorageAccountCreateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountCreateParameters.new
unless resource_id.nil? && active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.resource_id = resource_id
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8772,12 +8622,12 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'storage_account_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !storage_account_name.nil? && storage_account_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = StorageAccountUpdateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountUpdateParameters.new
unless active_key_name.nil? && auto_regenerate_key.nil? && regeneration_period.nil? && storage_account_attributes.nil? && tags.nil?
parameters.active_key_name = active_key_name
parameters.auto_regenerate_key = auto_regenerate_key
parameters.regeneration_period = regeneration_period
parameters.StorageAccountAttributes = storage_account_attributes
parameters.storage_account_attributes = storage_account_attributes
parameters.tags = tags
end
@ -8892,7 +8742,7 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'api_version is nil' if api_version.nil?
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = StorageAccountRegenerteKeyParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::StorageAccountRegenerteKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end
@ -9714,12 +9564,12 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, 'sas_type is nil' if sas_type.nil?
fail ArgumentError, 'validity_period is nil' if validity_period.nil?
parameters = SasDefinitionCreateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionCreateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -9868,12 +9718,12 @@ module Azure::KeyVault::V7_2_preview
fail ArgumentError, "'sas_definition_name' should satisfy the constraint - 'Pattern': '^[0-9a-zA-Z]+$'" if !sas_definition_name.nil? && sas_definition_name.match(Regexp.new('^^[0-9a-zA-Z]+$$')).nil?
fail ArgumentError, 'api_version is nil' if api_version.nil?
parameters = SasDefinitionUpdateParameters.new
parameters = Azure::KeyVault::V7_2_preview::Models::SasDefinitionUpdateParameters.new
unless template_uri.nil? && sas_type.nil? && validity_period.nil? && sas_definition_attributes.nil? && tags.nil?
parameters.template_uri = template_uri
parameters.sas_type = sas_type
parameters.validity_period = validity_period
parameters.SasDefinitionAttributes = sas_definition_attributes
parameters.sas_definition_attributes = sas_definition_attributes
parameters.tags = tags
end
@ -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

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

@ -16,7 +16,7 @@ module Azure::KeyVault::V7_2_preview
# object to import. This certificate needs to contain the private key.
attr_accessor :base64encoded_certificate
# @return [String] If the private key in base64EncodedCertificate is
# @return [String] If the private key in base64encoded_certificate is
# encrypted, the password used for encryption.
attr_accessor :password

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

@ -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

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

@ -137,7 +137,7 @@ module Azure::BotService::Mgmt::V2017_12_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_bot_service'
sdk_information = "#{sdk_information}/0.17.1"
sdk_information = "#{sdk_information}/0.17.2"
add_user_agent_information(sdk_information)
end
end

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

@ -226,7 +226,7 @@ module Azure::BotService::Mgmt::V2017_12_01_preview
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
parameters = Bot.new
parameters = Azure::BotService::Mgmt::V2017_12_01_preview::Models::Bot.new
unless location.nil? && tags.nil? && sku.nil? && kind.nil? && etag.nil? && properties.nil?
parameters.location = location
parameters.tags = tags

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

@ -252,7 +252,7 @@ module Azure::BotService::Mgmt::V2017_12_01_preview
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
parameters = BotChannel.new
parameters = Azure::BotService::Mgmt::V2017_12_01_preview::Models::BotChannel.new
unless location.nil? && tags.nil? && sku.nil? && kind.nil? && etag.nil? && properties.nil?
parameters.location = location
parameters.tags = tags

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

@ -140,7 +140,7 @@ module Azure::BotService::Mgmt::V2018_07_12_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_bot_service'
sdk_information = "#{sdk_information}/0.17.1"
sdk_information = "#{sdk_information}/0.17.2"
add_user_agent_information(sdk_information)
end
end

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

@ -226,7 +226,7 @@ module Azure::BotService::Mgmt::V2018_07_12_preview
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
parameters = Bot.new
parameters = Azure::BotService::Mgmt::V2018_07_12_preview::Models::Bot.new
unless location.nil? && tags.nil? && sku.nil? && kind.nil? && etag.nil? && properties.nil?
parameters.location = location
parameters.tags = tags

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

@ -252,7 +252,7 @@ module Azure::BotService::Mgmt::V2018_07_12_preview
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
parameters = BotChannel.new
parameters = Azure::BotService::Mgmt::V2018_07_12_preview::Models::BotChannel.new
unless location.nil? && tags.nil? && sku.nil? && kind.nil? && etag.nil? && properties.nil?
parameters.location = location
parameters.tags = tags

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

@ -679,7 +679,7 @@ module Azure::BotService::Mgmt::V2018_07_12_preview
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
parameters = EnterpriseChannel.new
parameters = Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannel.new
unless location.nil? && tags.nil? && sku.nil? && kind.nil? && etag.nil? && properties.nil?
parameters.location = location
parameters.tags = tags

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

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

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

@ -125,7 +125,7 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_cognitive_services'
sdk_information = "#{sdk_information}/0.19.3"
sdk_information = "#{sdk_information}/0.19.4"
add_user_agent_information(sdk_information)
end
end

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

@ -851,7 +851,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
fail ArgumentError, 'key_name is nil' if key_name.nil?
parameters = RegenerateKeyParameters.new
parameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters.new
unless key_name.nil?
parameters.key_name = key_name
end

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

@ -188,7 +188,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
fail ArgumentError, 'kind is nil' if kind.nil?
fail ArgumentError, 'type is nil' if type.nil?
parameters = CheckSkuAvailabilityParameter.new
parameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter.new
unless skus.nil? && kind.nil? && type.nil?
parameters.skus = skus
parameters.kind = kind
@ -297,7 +297,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
fail ArgumentError, 'subdomain_name is nil' if subdomain_name.nil?
fail ArgumentError, 'type is nil' if type.nil?
parameters = CheckDomainAvailabilityParameter.new
parameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter.new
unless subdomain_name.nil? && type.nil?
parameters.subdomain_name = subdomain_name
parameters.type = type
@ -365,7 +365,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
#
def add_telemetry
sdk_information = 'azure_mgmt_cognitive_services'
sdk_information = "#{sdk_information}/0.19.3"
sdk_information = "#{sdk_information}/0.19.4"
add_user_agent_information(sdk_information)
end
end

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

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

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

@ -173,7 +173,7 @@ module Azure::Cosmosdb::Mgmt::V2015_04_08
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -128,7 +128,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -193,7 +193,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -203,7 +203,7 @@ module Azure::Cosmosdb::Mgmt::V2019_12_12
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -559,7 +559,7 @@ module Azure::Cosmosdb::Mgmt::V2019_12_12
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
notebook_workspace_name = 'default'
notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
notebook_create_update_parameters = Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspaceCreateUpdateParameters.new
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'

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

@ -196,7 +196,7 @@ module Azure::Cosmosdb::Mgmt::V2020_03_01
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -559,7 +559,7 @@ module Azure::Cosmosdb::Mgmt::V2020_03_01
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
notebook_workspace_name = 'default'
notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
notebook_create_update_parameters = Azure::Cosmosdb::Mgmt::V2020_03_01::Models::NotebookWorkspaceCreateUpdateParameters.new
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'

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

@ -196,7 +196,7 @@ module Azure::Cosmosdb::Mgmt::V2020_04_01
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -559,7 +559,7 @@ module Azure::Cosmosdb::Mgmt::V2020_04_01
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
notebook_workspace_name = 'default'
notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
notebook_create_update_parameters = Azure::Cosmosdb::Mgmt::V2020_04_01::Models::NotebookWorkspaceCreateUpdateParameters.new
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'

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

@ -224,7 +224,7 @@ module Azure::Cosmosdb::Mgmt::V2020_06_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -559,7 +559,7 @@ module Azure::Cosmosdb::Mgmt::V2020_06_01_preview
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
notebook_workspace_name = 'default'
notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
notebook_create_update_parameters = Azure::Cosmosdb::Mgmt::V2020_06_01_preview::Models::NotebookWorkspaceCreateUpdateParameters.new
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'

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

@ -196,7 +196,7 @@ module Azure::Cosmosdb::Mgmt::V2020_09_01
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -559,7 +559,7 @@ module Azure::Cosmosdb::Mgmt::V2020_09_01
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
notebook_workspace_name = 'default'
notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
notebook_create_update_parameters = Azure::Cosmosdb::Mgmt::V2020_09_01::Models::NotebookWorkspaceCreateUpdateParameters.new
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'

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

@ -204,7 +204,7 @@ module Azure::Cosmosdb::Mgmt::V2021_01_15
#
def add_telemetry
sdk_information = 'azure_mgmt_cosmosdb'
sdk_information = "#{sdk_information}/0.24.0"
sdk_information = "#{sdk_information}/0.24.1"
add_user_agent_information(sdk_information)
end
end

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

@ -559,7 +559,7 @@ module Azure::Cosmosdb::Mgmt::V2021_01_15
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]+(-[a-z0-9]+)*'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-z0-9]+(-[a-z0-9]+)*$')).nil?
notebook_workspace_name = 'default'
notebook_create_update_parameters = NotebookWorkspaceCreateUpdateParameters.new
notebook_create_update_parameters = Azure::Cosmosdb::Mgmt::V2021_01_15::Models::NotebookWorkspaceCreateUpdateParameters.new
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'

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

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