Release 20200616 (#2788)
* config change for event grid * regen sdk * config change for azure_mgmt_hdinsight * regen azure_mgmt_hdinsight * config change for azure_mgmt_data_factory * regen sdk * config change for azure_mgmt_cosmosdb * regen sdk * config change for azure_mgmt_security * regen sdk
This commit is contained in:
Родитель
9dde2cc3ef
Коммит
cf51e034ae
|
@ -3,5 +3,5 @@
|
|||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
||||
module Azure
|
||||
VERSION = '0.58.1'
|
||||
VERSION = '0.59.0'
|
||||
end
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -371,165 +371,109 @@ module Azure::Profiles::Latest
|
|||
end
|
||||
end
|
||||
module Mgmt
|
||||
Domains = Azure::EventGrid::Mgmt::V2020_04_01_preview::Domains
|
||||
DomainTopics = Azure::EventGrid::Mgmt::V2020_04_01_preview::DomainTopics
|
||||
EventChannels = Azure::EventGrid::Mgmt::V2020_04_01_preview::EventChannels
|
||||
EventSubscriptions = Azure::EventGrid::Mgmt::V2020_04_01_preview::EventSubscriptions
|
||||
SystemTopicEventSubscriptions = Azure::EventGrid::Mgmt::V2020_04_01_preview::SystemTopicEventSubscriptions
|
||||
PartnerTopicEventSubscriptions = Azure::EventGrid::Mgmt::V2020_04_01_preview::PartnerTopicEventSubscriptions
|
||||
Operations = Azure::EventGrid::Mgmt::V2020_04_01_preview::Operations
|
||||
PartnerNamespaces = Azure::EventGrid::Mgmt::V2020_04_01_preview::PartnerNamespaces
|
||||
PartnerRegistrations = Azure::EventGrid::Mgmt::V2020_04_01_preview::PartnerRegistrations
|
||||
PartnerTopics = Azure::EventGrid::Mgmt::V2020_04_01_preview::PartnerTopics
|
||||
PrivateEndpointConnections = Azure::EventGrid::Mgmt::V2020_04_01_preview::PrivateEndpointConnections
|
||||
PrivateLinkResources = Azure::EventGrid::Mgmt::V2020_04_01_preview::PrivateLinkResources
|
||||
SystemTopics = Azure::EventGrid::Mgmt::V2020_04_01_preview::SystemTopics
|
||||
Topics = Azure::EventGrid::Mgmt::V2020_04_01_preview::Topics
|
||||
ExtensionTopics = Azure::EventGrid::Mgmt::V2020_04_01_preview::ExtensionTopics
|
||||
TopicTypes = Azure::EventGrid::Mgmt::V2020_04_01_preview::TopicTypes
|
||||
Domains = Azure::EventGrid::Mgmt::V2020_06_01::Domains
|
||||
DomainTopics = Azure::EventGrid::Mgmt::V2020_06_01::DomainTopics
|
||||
EventSubscriptions = Azure::EventGrid::Mgmt::V2020_06_01::EventSubscriptions
|
||||
Operations = Azure::EventGrid::Mgmt::V2020_06_01::Operations
|
||||
Topics = Azure::EventGrid::Mgmt::V2020_06_01::Topics
|
||||
PrivateEndpointConnections = Azure::EventGrid::Mgmt::V2020_06_01::PrivateEndpointConnections
|
||||
PrivateLinkResources = Azure::EventGrid::Mgmt::V2020_06_01::PrivateLinkResources
|
||||
TopicTypes = Azure::EventGrid::Mgmt::V2020_06_01::TopicTypes
|
||||
|
||||
module Models
|
||||
PartnerTopicTypesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicTypesListResult
|
||||
PrivateEndpoint = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpoint
|
||||
PartnerTopicsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicsListResult
|
||||
PartnerNamespacesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespacesListResult
|
||||
PartnerNamespaceUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceUpdateParameters
|
||||
InboundIpRule = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InboundIpRule
|
||||
PrivateLinkResource = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResource
|
||||
UserIdentityProperties = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::UserIdentityProperties
|
||||
OperationsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationsListResult
|
||||
Resource = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Resource
|
||||
Operation = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Operation
|
||||
JsonFieldWithDefault = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonFieldWithDefault
|
||||
OperationInfo = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationInfo
|
||||
PartnerRegistrationEventTypesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationEventTypesListResult
|
||||
EventSubscriptionsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult
|
||||
DomainUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainUpdateParameters
|
||||
ConnectionState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ConnectionState
|
||||
DomainSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainSharedAccessKeys
|
||||
EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFullUrl
|
||||
PartnerRegistrationsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationsListResult
|
||||
EventChannelsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelsListResult
|
||||
EventChannelSource = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelSource
|
||||
EventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionDestination
|
||||
AdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AdvancedFilter
|
||||
EventSubscriptionIdentity = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionIdentity
|
||||
PartnerRegistrationUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationUpdateParameters
|
||||
DeliveryWithResourceIdentity = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeliveryWithResourceIdentity
|
||||
PartnerNamespaceRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceRegenerateKeyRequest
|
||||
EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFilter
|
||||
InputSchemaMapping = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchemaMapping
|
||||
RetryPolicy = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::RetryPolicy
|
||||
IdentityInfo = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IdentityInfo
|
||||
DeadLetterDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeadLetterDestination
|
||||
PartnerTopicUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicUpdateParameters
|
||||
DeadLetterWithResourceIdentity = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeadLetterWithResourceIdentity
|
||||
DomainsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainsListResult
|
||||
DomainTopicsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicsListResult
|
||||
TopicTypesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypesListResult
|
||||
EventChannelFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelFilter
|
||||
TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicRegenerateKeyRequest
|
||||
PartnerNamespaceSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceSharedAccessKeys
|
||||
TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicSharedAccessKeys
|
||||
JsonField = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonField
|
||||
TopicsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicsListResult
|
||||
DomainRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainRegenerateKeyRequest
|
||||
TopicUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicUpdateParameters
|
||||
PrivateEndpointConnectionListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnectionListResult
|
||||
SystemTopicsListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::SystemTopicsListResult
|
||||
EventTypesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventTypesListResult
|
||||
SystemTopicUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::SystemTopicUpdateParameters
|
||||
ResourceSku = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceSku
|
||||
PrivateLinkResourcesListResult = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResourcesListResult
|
||||
EventChannelDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelDestination
|
||||
EventSubscriptionUpdateParameters = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionUpdateParameters
|
||||
PrivateEndpointConnection = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnection
|
||||
JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonInputSchemaMapping
|
||||
TrackedResource = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TrackedResource
|
||||
Domain = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Domain
|
||||
DomainTopic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopic
|
||||
NumberInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberInAdvancedFilter
|
||||
NumberNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberNotInAdvancedFilter
|
||||
NumberLessThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanAdvancedFilter
|
||||
NumberGreaterThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanAdvancedFilter
|
||||
NumberLessThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanOrEqualsAdvancedFilter
|
||||
NumberGreaterThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanOrEqualsAdvancedFilter
|
||||
BoolEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::BoolEqualsAdvancedFilter
|
||||
StringInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringInAdvancedFilter
|
||||
StringNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringNotInAdvancedFilter
|
||||
StringBeginsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringBeginsWithAdvancedFilter
|
||||
StringEndsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringEndsWithAdvancedFilter
|
||||
StringContainsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringContainsAdvancedFilter
|
||||
EventChannel = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannel
|
||||
StorageBlobDeadLetterDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageBlobDeadLetterDestination
|
||||
WebHookEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::WebHookEventSubscriptionDestination
|
||||
EventHubEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventHubEventSubscriptionDestination
|
||||
StorageQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageQueueEventSubscriptionDestination
|
||||
HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::HybridConnectionEventSubscriptionDestination
|
||||
ServiceBusQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusQueueEventSubscriptionDestination
|
||||
ServiceBusTopicEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusTopicEventSubscriptionDestination
|
||||
AzureFunctionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AzureFunctionEventSubscriptionDestination
|
||||
EventSubscription = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription
|
||||
PartnerNamespace = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace
|
||||
PartnerRegistration = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistration
|
||||
EventType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventType
|
||||
PartnerTopic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopic
|
||||
PartnerTopicType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicType
|
||||
SystemTopic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::SystemTopic
|
||||
Topic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Topic
|
||||
ExtensionTopic = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ExtensionTopic
|
||||
TopicTypeInfo = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeInfo
|
||||
PersistedConnectionStatus = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PersistedConnectionStatus
|
||||
ResourceProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceProvisioningState
|
||||
DomainProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainProvisioningState
|
||||
InputSchema = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchema
|
||||
PublicNetworkAccess = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PublicNetworkAccess
|
||||
IpActionType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IpActionType
|
||||
Sku = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Sku
|
||||
IdentityType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IdentityType
|
||||
DomainTopicProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicProvisioningState
|
||||
EventChannelProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelProvisioningState
|
||||
PartnerTopicReadinessState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicReadinessState
|
||||
EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionProvisioningState
|
||||
EventSubscriptionIdentityType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionIdentityType
|
||||
EventDeliverySchema = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventDeliverySchema
|
||||
PartnerNamespaceProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceProvisioningState
|
||||
PartnerRegistrationProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationProvisioningState
|
||||
PartnerRegistrationVisibilityState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationVisibilityState
|
||||
PartnerTopicProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicProvisioningState
|
||||
PartnerTopicActivationState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicActivationState
|
||||
PartnerTopicTypeAuthorizationState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicTypeAuthorizationState
|
||||
TopicProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicProvisioningState
|
||||
ResourceRegionType = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceRegionType
|
||||
TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeProvisioningState
|
||||
AdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::AdvancedFilter
|
||||
EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionFilter
|
||||
ConnectionState = Azure::EventGrid::Mgmt::V2020_06_01::Models::ConnectionState
|
||||
RetryPolicy = Azure::EventGrid::Mgmt::V2020_06_01::Models::RetryPolicy
|
||||
InputSchemaMapping = Azure::EventGrid::Mgmt::V2020_06_01::Models::InputSchemaMapping
|
||||
DeadLetterDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::DeadLetterDestination
|
||||
Resource = Azure::EventGrid::Mgmt::V2020_06_01::Models::Resource
|
||||
EventSubscriptionsListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionsListResult
|
||||
JsonFieldWithDefault = Azure::EventGrid::Mgmt::V2020_06_01::Models::JsonFieldWithDefault
|
||||
EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionFullUrl
|
||||
JsonField = Azure::EventGrid::Mgmt::V2020_06_01::Models::JsonField
|
||||
TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicSharedAccessKeys
|
||||
DomainUpdateParameters = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainUpdateParameters
|
||||
TopicsListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicsListResult
|
||||
DomainSharedAccessKeys = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainSharedAccessKeys
|
||||
EventSubscriptionUpdateParameters = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionUpdateParameters
|
||||
TopicUpdateParameters = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicUpdateParameters
|
||||
OperationInfo = Azure::EventGrid::Mgmt::V2020_06_01::Models::OperationInfo
|
||||
EventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionDestination
|
||||
Operation = Azure::EventGrid::Mgmt::V2020_06_01::Models::Operation
|
||||
TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicRegenerateKeyRequest
|
||||
InboundIpRule = Azure::EventGrid::Mgmt::V2020_06_01::Models::InboundIpRule
|
||||
OperationsListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::OperationsListResult
|
||||
DomainsListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainsListResult
|
||||
PrivateEndpointConnectionListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateEndpointConnectionListResult
|
||||
DomainTopicsListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainTopicsListResult
|
||||
PrivateLinkResource = Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateLinkResource
|
||||
PrivateLinkResourcesListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateLinkResourcesListResult
|
||||
PrivateEndpoint = Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateEndpoint
|
||||
TopicTypesListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicTypesListResult
|
||||
DomainRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainRegenerateKeyRequest
|
||||
EventTypesListResult = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventTypesListResult
|
||||
PrivateEndpointConnection = Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateEndpointConnection
|
||||
JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2020_06_01::Models::JsonInputSchemaMapping
|
||||
TrackedResource = Azure::EventGrid::Mgmt::V2020_06_01::Models::TrackedResource
|
||||
Domain = Azure::EventGrid::Mgmt::V2020_06_01::Models::Domain
|
||||
DomainTopic = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainTopic
|
||||
NumberInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberInAdvancedFilter
|
||||
StorageBlobDeadLetterDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::StorageBlobDeadLetterDestination
|
||||
NumberNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberNotInAdvancedFilter
|
||||
NumberLessThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberLessThanAdvancedFilter
|
||||
NumberGreaterThanAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberGreaterThanAdvancedFilter
|
||||
NumberLessThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberLessThanOrEqualsAdvancedFilter
|
||||
NumberGreaterThanOrEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberGreaterThanOrEqualsAdvancedFilter
|
||||
BoolEqualsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::BoolEqualsAdvancedFilter
|
||||
StringInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::StringInAdvancedFilter
|
||||
StringNotInAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::StringNotInAdvancedFilter
|
||||
StringBeginsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::StringBeginsWithAdvancedFilter
|
||||
StringEndsWithAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::StringEndsWithAdvancedFilter
|
||||
StringContainsAdvancedFilter = Azure::EventGrid::Mgmt::V2020_06_01::Models::StringContainsAdvancedFilter
|
||||
WebHookEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::WebHookEventSubscriptionDestination
|
||||
EventHubEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventHubEventSubscriptionDestination
|
||||
StorageQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::StorageQueueEventSubscriptionDestination
|
||||
HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::HybridConnectionEventSubscriptionDestination
|
||||
ServiceBusQueueEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::ServiceBusQueueEventSubscriptionDestination
|
||||
ServiceBusTopicEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::ServiceBusTopicEventSubscriptionDestination
|
||||
AzureFunctionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2020_06_01::Models::AzureFunctionEventSubscriptionDestination
|
||||
EventSubscription = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscription
|
||||
Topic = Azure::EventGrid::Mgmt::V2020_06_01::Models::Topic
|
||||
EventType = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventType
|
||||
TopicTypeInfo = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicTypeInfo
|
||||
PersistedConnectionStatus = Azure::EventGrid::Mgmt::V2020_06_01::Models::PersistedConnectionStatus
|
||||
ResourceProvisioningState = Azure::EventGrid::Mgmt::V2020_06_01::Models::ResourceProvisioningState
|
||||
DomainProvisioningState = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainProvisioningState
|
||||
InputSchema = Azure::EventGrid::Mgmt::V2020_06_01::Models::InputSchema
|
||||
PublicNetworkAccess = Azure::EventGrid::Mgmt::V2020_06_01::Models::PublicNetworkAccess
|
||||
IpActionType = Azure::EventGrid::Mgmt::V2020_06_01::Models::IpActionType
|
||||
DomainTopicProvisioningState = Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainTopicProvisioningState
|
||||
EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionProvisioningState
|
||||
EventDeliverySchema = Azure::EventGrid::Mgmt::V2020_06_01::Models::EventDeliverySchema
|
||||
TopicProvisioningState = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicProvisioningState
|
||||
ResourceRegionType = Azure::EventGrid::Mgmt::V2020_06_01::Models::ResourceRegionType
|
||||
TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicTypeProvisioningState
|
||||
end
|
||||
|
||||
class EventGridManagementClass
|
||||
attr_reader :domains, :domain_topics, :event_channels, :event_subscriptions, :system_topic_event_subscriptions, :partner_topic_event_subscriptions, :operations, :partner_namespaces, :partner_registrations, :partner_topics, :private_endpoint_connections, :private_link_resources, :system_topics, :topics, :extension_topics, :topic_types, :configurable, :base_url, :options, :model_classes
|
||||
attr_reader :domains, :domain_topics, :event_subscriptions, :operations, :topics, :private_endpoint_connections, :private_link_resources, :topic_types, :configurable, :base_url, :options, :model_classes
|
||||
|
||||
def initialize(configurable, base_url=nil, options=nil)
|
||||
@configurable, @base_url, @options = configurable, base_url, options
|
||||
|
||||
@client_0 = Azure::EventGrid::Mgmt::V2020_04_01_preview::EventGridManagementClient.new(configurable.credentials, base_url, options)
|
||||
@client_0 = Azure::EventGrid::Mgmt::V2020_06_01::EventGridManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@domains = @client_0.domains
|
||||
@domain_topics = @client_0.domain_topics
|
||||
@event_channels = @client_0.event_channels
|
||||
@event_subscriptions = @client_0.event_subscriptions
|
||||
@system_topic_event_subscriptions = @client_0.system_topic_event_subscriptions
|
||||
@partner_topic_event_subscriptions = @client_0.partner_topic_event_subscriptions
|
||||
@operations = @client_0.operations
|
||||
@partner_namespaces = @client_0.partner_namespaces
|
||||
@partner_registrations = @client_0.partner_registrations
|
||||
@partner_topics = @client_0.partner_topics
|
||||
@topics = @client_0.topics
|
||||
@private_endpoint_connections = @client_0.private_endpoint_connections
|
||||
@private_link_resources = @client_0.private_link_resources
|
||||
@system_topics = @client_0.system_topics
|
||||
@topics = @client_0.topics
|
||||
@extension_topics = @client_0.extension_topics
|
||||
@topic_types = @client_0.topic_types
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
|
@ -549,344 +493,224 @@ module Azure::Profiles::Latest
|
|||
end
|
||||
|
||||
class ModelClasses
|
||||
def partner_topic_types_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicTypesListResult
|
||||
end
|
||||
def private_endpoint
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpoint
|
||||
end
|
||||
def partner_topics_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicsListResult
|
||||
end
|
||||
def partner_namespaces_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespacesListResult
|
||||
end
|
||||
def partner_namespace_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceUpdateParameters
|
||||
end
|
||||
def inbound_ip_rule
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InboundIpRule
|
||||
end
|
||||
def private_link_resource
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResource
|
||||
end
|
||||
def user_identity_properties
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::UserIdentityProperties
|
||||
end
|
||||
def operations_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationsListResult
|
||||
end
|
||||
def resource
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Resource
|
||||
end
|
||||
def operation
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Operation
|
||||
end
|
||||
def json_field_with_default
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonFieldWithDefault
|
||||
end
|
||||
def operation_info
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::OperationInfo
|
||||
end
|
||||
def partner_registration_event_types_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationEventTypesListResult
|
||||
end
|
||||
def event_subscriptions_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionsListResult
|
||||
end
|
||||
def domain_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainUpdateParameters
|
||||
end
|
||||
def connection_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ConnectionState
|
||||
end
|
||||
def domain_shared_access_keys
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainSharedAccessKeys
|
||||
end
|
||||
def event_subscription_full_url
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFullUrl
|
||||
end
|
||||
def partner_registrations_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationsListResult
|
||||
end
|
||||
def event_channels_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelsListResult
|
||||
end
|
||||
def event_channel_source
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelSource
|
||||
end
|
||||
def event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionDestination
|
||||
end
|
||||
def advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AdvancedFilter
|
||||
end
|
||||
def event_subscription_identity
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionIdentity
|
||||
end
|
||||
def partner_registration_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationUpdateParameters
|
||||
end
|
||||
def delivery_with_resource_identity
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeliveryWithResourceIdentity
|
||||
end
|
||||
def partner_namespace_regenerate_key_request
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceRegenerateKeyRequest
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::AdvancedFilter
|
||||
end
|
||||
def event_subscription_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionFilter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionFilter
|
||||
end
|
||||
def input_schema_mapping
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchemaMapping
|
||||
def connection_state
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::ConnectionState
|
||||
end
|
||||
def retry_policy
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::RetryPolicy
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::RetryPolicy
|
||||
end
|
||||
def identity_info
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IdentityInfo
|
||||
def input_schema_mapping
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::InputSchemaMapping
|
||||
end
|
||||
def dead_letter_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeadLetterDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DeadLetterDestination
|
||||
end
|
||||
def partner_topic_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicUpdateParameters
|
||||
def resource
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::Resource
|
||||
end
|
||||
def dead_letter_with_resource_identity
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DeadLetterWithResourceIdentity
|
||||
def event_subscriptions_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionsListResult
|
||||
end
|
||||
def domains_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainsListResult
|
||||
def json_field_with_default
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::JsonFieldWithDefault
|
||||
end
|
||||
def domain_topics_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicsListResult
|
||||
end
|
||||
def topic_types_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypesListResult
|
||||
end
|
||||
def event_channel_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelFilter
|
||||
end
|
||||
def topic_regenerate_key_request
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicRegenerateKeyRequest
|
||||
end
|
||||
def partner_namespace_shared_access_keys
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceSharedAccessKeys
|
||||
end
|
||||
def topic_shared_access_keys
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicSharedAccessKeys
|
||||
def event_subscription_full_url
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionFullUrl
|
||||
end
|
||||
def json_field
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonField
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::JsonField
|
||||
end
|
||||
def topic_shared_access_keys
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicSharedAccessKeys
|
||||
end
|
||||
def domain_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainUpdateParameters
|
||||
end
|
||||
def topics_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicsListResult
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicsListResult
|
||||
end
|
||||
def domain_regenerate_key_request
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainRegenerateKeyRequest
|
||||
end
|
||||
def topic_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicUpdateParameters
|
||||
end
|
||||
def private_endpoint_connection_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnectionListResult
|
||||
end
|
||||
def system_topics_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::SystemTopicsListResult
|
||||
end
|
||||
def event_types_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventTypesListResult
|
||||
end
|
||||
def system_topic_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::SystemTopicUpdateParameters
|
||||
end
|
||||
def resource_sku
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceSku
|
||||
end
|
||||
def private_link_resources_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateLinkResourcesListResult
|
||||
end
|
||||
def event_channel_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelDestination
|
||||
def domain_shared_access_keys
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainSharedAccessKeys
|
||||
end
|
||||
def event_subscription_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionUpdateParameters
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionUpdateParameters
|
||||
end
|
||||
def topic_update_parameters
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicUpdateParameters
|
||||
end
|
||||
def operation_info
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::OperationInfo
|
||||
end
|
||||
def event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionDestination
|
||||
end
|
||||
def operation
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::Operation
|
||||
end
|
||||
def topic_regenerate_key_request
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicRegenerateKeyRequest
|
||||
end
|
||||
def inbound_ip_rule
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::InboundIpRule
|
||||
end
|
||||
def operations_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::OperationsListResult
|
||||
end
|
||||
def domains_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainsListResult
|
||||
end
|
||||
def private_endpoint_connection_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateEndpointConnectionListResult
|
||||
end
|
||||
def domain_topics_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainTopicsListResult
|
||||
end
|
||||
def private_link_resource
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateLinkResource
|
||||
end
|
||||
def private_link_resources_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateLinkResourcesListResult
|
||||
end
|
||||
def private_endpoint
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateEndpoint
|
||||
end
|
||||
def topic_types_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicTypesListResult
|
||||
end
|
||||
def domain_regenerate_key_request
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainRegenerateKeyRequest
|
||||
end
|
||||
def event_types_list_result
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventTypesListResult
|
||||
end
|
||||
def private_endpoint_connection
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PrivateEndpointConnection
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PrivateEndpointConnection
|
||||
end
|
||||
def json_input_schema_mapping
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonInputSchemaMapping
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::JsonInputSchemaMapping
|
||||
end
|
||||
def tracked_resource
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TrackedResource
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TrackedResource
|
||||
end
|
||||
def domain
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Domain
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::Domain
|
||||
end
|
||||
def domain_topic
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopic
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainTopic
|
||||
end
|
||||
def number_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberInAdvancedFilter
|
||||
end
|
||||
def number_not_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberNotInAdvancedFilter
|
||||
end
|
||||
def number_less_than_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanAdvancedFilter
|
||||
end
|
||||
def number_greater_than_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanAdvancedFilter
|
||||
end
|
||||
def number_less_than_or_equals_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberLessThanOrEqualsAdvancedFilter
|
||||
end
|
||||
def number_greater_than_or_equals_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::NumberGreaterThanOrEqualsAdvancedFilter
|
||||
end
|
||||
def bool_equals_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::BoolEqualsAdvancedFilter
|
||||
end
|
||||
def string_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringInAdvancedFilter
|
||||
end
|
||||
def string_not_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringNotInAdvancedFilter
|
||||
end
|
||||
def string_begins_with_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringBeginsWithAdvancedFilter
|
||||
end
|
||||
def string_ends_with_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringEndsWithAdvancedFilter
|
||||
end
|
||||
def string_contains_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StringContainsAdvancedFilter
|
||||
end
|
||||
def event_channel
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannel
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberInAdvancedFilter
|
||||
end
|
||||
def storage_blob_dead_letter_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageBlobDeadLetterDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StorageBlobDeadLetterDestination
|
||||
end
|
||||
def number_not_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberNotInAdvancedFilter
|
||||
end
|
||||
def number_less_than_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberLessThanAdvancedFilter
|
||||
end
|
||||
def number_greater_than_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberGreaterThanAdvancedFilter
|
||||
end
|
||||
def number_less_than_or_equals_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberLessThanOrEqualsAdvancedFilter
|
||||
end
|
||||
def number_greater_than_or_equals_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::NumberGreaterThanOrEqualsAdvancedFilter
|
||||
end
|
||||
def bool_equals_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::BoolEqualsAdvancedFilter
|
||||
end
|
||||
def string_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StringInAdvancedFilter
|
||||
end
|
||||
def string_not_in_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StringNotInAdvancedFilter
|
||||
end
|
||||
def string_begins_with_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StringBeginsWithAdvancedFilter
|
||||
end
|
||||
def string_ends_with_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StringEndsWithAdvancedFilter
|
||||
end
|
||||
def string_contains_advanced_filter
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StringContainsAdvancedFilter
|
||||
end
|
||||
def web_hook_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::WebHookEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::WebHookEventSubscriptionDestination
|
||||
end
|
||||
def event_hub_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventHubEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventHubEventSubscriptionDestination
|
||||
end
|
||||
def storage_queue_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::StorageQueueEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::StorageQueueEventSubscriptionDestination
|
||||
end
|
||||
def hybrid_connection_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::HybridConnectionEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::HybridConnectionEventSubscriptionDestination
|
||||
end
|
||||
def service_bus_queue_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusQueueEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::ServiceBusQueueEventSubscriptionDestination
|
||||
end
|
||||
def service_bus_topic_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ServiceBusTopicEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::ServiceBusTopicEventSubscriptionDestination
|
||||
end
|
||||
def azure_function_event_subscription_destination
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::AzureFunctionEventSubscriptionDestination
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::AzureFunctionEventSubscriptionDestination
|
||||
end
|
||||
def event_subscription
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscription
|
||||
end
|
||||
def partner_namespace
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespace
|
||||
end
|
||||
def partner_registration
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistration
|
||||
end
|
||||
def event_type
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventType
|
||||
end
|
||||
def partner_topic
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopic
|
||||
end
|
||||
def partner_topic_type
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicType
|
||||
end
|
||||
def system_topic
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::SystemTopic
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscription
|
||||
end
|
||||
def topic
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Topic
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::Topic
|
||||
end
|
||||
def extension_topic
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ExtensionTopic
|
||||
def event_type
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventType
|
||||
end
|
||||
def topic_type_info
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeInfo
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicTypeInfo
|
||||
end
|
||||
def persisted_connection_status
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PersistedConnectionStatus
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PersistedConnectionStatus
|
||||
end
|
||||
def resource_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceProvisioningState
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::ResourceProvisioningState
|
||||
end
|
||||
def domain_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainProvisioningState
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainProvisioningState
|
||||
end
|
||||
def input_schema
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::InputSchema
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::InputSchema
|
||||
end
|
||||
def public_network_access
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PublicNetworkAccess
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::PublicNetworkAccess
|
||||
end
|
||||
def ip_action_type
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IpActionType
|
||||
end
|
||||
def sku
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::Sku
|
||||
end
|
||||
def identity_type
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::IdentityType
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::IpActionType
|
||||
end
|
||||
def domain_topic_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::DomainTopicProvisioningState
|
||||
end
|
||||
def event_channel_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventChannelProvisioningState
|
||||
end
|
||||
def partner_topic_readiness_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicReadinessState
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::DomainTopicProvisioningState
|
||||
end
|
||||
def event_subscription_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionProvisioningState
|
||||
end
|
||||
def event_subscription_identity_type
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventSubscriptionIdentityType
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventSubscriptionProvisioningState
|
||||
end
|
||||
def event_delivery_schema
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::EventDeliverySchema
|
||||
end
|
||||
def partner_namespace_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerNamespaceProvisioningState
|
||||
end
|
||||
def partner_registration_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationProvisioningState
|
||||
end
|
||||
def partner_registration_visibility_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistrationVisibilityState
|
||||
end
|
||||
def partner_topic_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicProvisioningState
|
||||
end
|
||||
def partner_topic_activation_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicActivationState
|
||||
end
|
||||
def partner_topic_type_authorization_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopicTypeAuthorizationState
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::EventDeliverySchema
|
||||
end
|
||||
def topic_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicProvisioningState
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicProvisioningState
|
||||
end
|
||||
def resource_region_type
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::ResourceRegionType
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::ResourceRegionType
|
||||
end
|
||||
def topic_type_provisioning_state
|
||||
Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::TopicTypeProvisioningState
|
||||
Azure::EventGrid::Mgmt::V2020_06_01::Models::TopicTypeProvisioningState
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -19,81 +19,80 @@ module Azure::Profiles::Latest
|
|||
|
||||
module Models
|
||||
ClusterDiskEncryptionParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDiskEncryptionParameters
|
||||
UpdateGatewaySettingsParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UpdateGatewaySettingsParameters
|
||||
ClientGroupInfo = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClientGroupInfo
|
||||
GatewaySettings = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::GatewaySettings
|
||||
SecurityProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SecurityProfile
|
||||
OperationResource = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationResource
|
||||
AutoscaleSchedule = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleSchedule
|
||||
Resource = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Resource
|
||||
AutoscaleRecurrence = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleRecurrence
|
||||
AutoscaleCapacity = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleCapacity
|
||||
HardwareProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HardwareProfile
|
||||
Autoscale = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Autoscale
|
||||
DataDisksGroups = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DataDisksGroups
|
||||
HostInfoListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfoListResult
|
||||
SshProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SshProfile
|
||||
HostInfo = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfo
|
||||
OsProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OsProfile
|
||||
ErrorResponse = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ErrorResponse
|
||||
Role = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
|
||||
ApplicationGetHttpsEndpoint = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetHttpsEndpoint
|
||||
StorageAccount = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageAccount
|
||||
ApplicationGetEndpoint = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetEndpoint
|
||||
DiskEncryptionProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties
|
||||
ApplicationProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationProperties
|
||||
ClusterIdentityUserAssignedIdentitiesValue = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentityUserAssignedIdentitiesValue
|
||||
OperationListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationListResult
|
||||
ClusterCreateParametersExtended = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateParametersExtended
|
||||
ApplicationListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationListResult
|
||||
QuotaInfo = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaInfo
|
||||
VersionSpec = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec
|
||||
ConnectivityEndpoint = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint
|
||||
VersionsCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionsCapability
|
||||
RegionsCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionsCapability
|
||||
ExecuteScriptActionParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ExecuteScriptActionParameters
|
||||
VmSizesCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizesCapability
|
||||
ScriptActionExecutionSummary = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionSummary
|
||||
VmSizeCompatibilityFilter = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilter
|
||||
ClusterListRuntimeScriptActionDetailResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListRuntimeScriptActionDetailResult
|
||||
RegionalQuotaCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionalQuotaCapability
|
||||
ClusterResizeParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterResizeParameters
|
||||
QuotaCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaCapability
|
||||
KafkaRestProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::KafkaRestProperties
|
||||
CapabilitiesResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::CapabilitiesResult
|
||||
VirtualNetworkProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VirtualNetworkProfile
|
||||
LocalizedName = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LocalizedName
|
||||
LinuxOperatingSystemProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LinuxOperatingSystemProfile
|
||||
Usage = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Usage
|
||||
ComputeProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ComputeProfile
|
||||
UsagesListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UsagesListResult
|
||||
ClusterCreateProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateProperties
|
||||
VmSizeCompatibilityFilterV2 = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilterV2
|
||||
ClusterPatchParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterPatchParameters
|
||||
BillingMeters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingMeters
|
||||
ClusterGetProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterGetProperties
|
||||
DiskBillingMeters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskBillingMeters
|
||||
ClusterListPersistedScriptActionsResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListPersistedScriptActionsResult
|
||||
BillingResources = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResources
|
||||
ClusterListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListResult
|
||||
BillingResponseListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResponseListResult
|
||||
AutoscaleTimeAndCapacity = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleTimeAndCapacity
|
||||
ClusterConfigurations = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterConfigurations
|
||||
ScriptAction = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptAction
|
||||
Extension = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Extension
|
||||
ClusterIdentity = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentity
|
||||
ClusterMonitoringResponse = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringResponse
|
||||
RuntimeScriptAction = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptAction
|
||||
ClusterMonitoringRequest = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringRequest
|
||||
ClusterDefinition = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDefinition
|
||||
ScriptActionExecutionHistoryList = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionHistoryList
|
||||
StorageProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageProfile
|
||||
ScriptActionPersistedGetResponseSpec = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionPersistedGetResponseSpec
|
||||
Operation = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Operation
|
||||
UpdateGatewaySettingsParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UpdateGatewaySettingsParameters
|
||||
KafkaRestProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::KafkaRestProperties
|
||||
GatewaySettings = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::GatewaySettings
|
||||
AutoscaleTimeAndCapacity = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleTimeAndCapacity
|
||||
OperationResource = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationResource
|
||||
AutoscaleCapacity = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleCapacity
|
||||
Resource = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Resource
|
||||
Autoscale = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Autoscale
|
||||
AutoscaleRecurrence = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleRecurrence
|
||||
VirtualNetworkProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VirtualNetworkProfile
|
||||
HardwareProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HardwareProfile
|
||||
SshPublicKey = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SshPublicKey
|
||||
ScriptActionsList = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionsList
|
||||
HostInfo = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfo
|
||||
LinuxOperatingSystemProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LinuxOperatingSystemProfile
|
||||
OperationListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationListResult
|
||||
ScriptAction = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptAction
|
||||
ErrorResponse = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ErrorResponse
|
||||
ComputeProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ComputeProfile
|
||||
ApplicationGetHttpsEndpoint = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetHttpsEndpoint
|
||||
StorageProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageProfile
|
||||
ApplicationGetEndpoint = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetEndpoint
|
||||
ClusterCreateProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateProperties
|
||||
ApplicationProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationProperties
|
||||
ClusterIdentity = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentity
|
||||
Operation = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Operation
|
||||
ClusterPatchParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterPatchParameters
|
||||
ApplicationListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationListResult
|
||||
Errors = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Errors
|
||||
VersionSpec = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec
|
||||
ClusterGetProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterGetProperties
|
||||
VersionsCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionsCapability
|
||||
RuntimeScriptAction = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptAction
|
||||
RegionsCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionsCapability
|
||||
ClusterListPersistedScriptActionsResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListPersistedScriptActionsResult
|
||||
VmSizesCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizesCapability
|
||||
OperationDisplay = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationDisplay
|
||||
ClusterListRuntimeScriptActionDetailResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListRuntimeScriptActionDetailResult
|
||||
VmSizeCompatibilityFilter = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilter
|
||||
ClusterResizeParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterResizeParameters
|
||||
RegionalQuotaCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionalQuotaCapability
|
||||
SecurityProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SecurityProfile
|
||||
QuotaCapability = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaCapability
|
||||
DataDisksGroups = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DataDisksGroups
|
||||
CapabilitiesResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::CapabilitiesResult
|
||||
OsProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OsProfile
|
||||
LocalizedName = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LocalizedName
|
||||
StorageAccount = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageAccount
|
||||
Usage = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Usage
|
||||
ClusterIdentityUserAssignedIdentitiesValue = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentityUserAssignedIdentitiesValue
|
||||
UsagesListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UsagesListResult
|
||||
QuotaInfo = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaInfo
|
||||
VmSizeCompatibilityFilterV2 = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilterV2
|
||||
BillingMeters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingMeters
|
||||
ScriptActionExecutionSummary = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionSummary
|
||||
DiskBillingMeters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskBillingMeters
|
||||
ClientGroupInfo = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClientGroupInfo
|
||||
BillingResources = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResources
|
||||
SshProfile = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SshProfile
|
||||
BillingResponseListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResponseListResult
|
||||
DiskEncryptionProperties = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties
|
||||
ClusterConfigurations = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterConfigurations
|
||||
ConnectivityEndpoint = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint
|
||||
Extension = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Extension
|
||||
ClusterListResult = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListResult
|
||||
ClusterMonitoringResponse = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringResponse
|
||||
Role = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
|
||||
ClusterMonitoringRequest = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringRequest
|
||||
ExecuteScriptActionParameters = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ExecuteScriptActionParameters
|
||||
ScriptActionExecutionHistoryList = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionHistoryList
|
||||
ClusterCreateParametersExtended = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateParametersExtended
|
||||
ScriptActionPersistedGetResponseSpec = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionPersistedGetResponseSpec
|
||||
AutoscaleSchedule = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleSchedule
|
||||
ScriptActionsList = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionsList
|
||||
RuntimeScriptActionDetail = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptActionDetail
|
||||
TrackedResource = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::TrackedResource
|
||||
Cluster = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Cluster
|
||||
|
@ -151,231 +150,228 @@ module Azure::Profiles::Latest
|
|||
def cluster_disk_encryption_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDiskEncryptionParameters
|
||||
end
|
||||
def cluster_definition
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDefinition
|
||||
end
|
||||
def update_gateway_settings_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UpdateGatewaySettingsParameters
|
||||
end
|
||||
def client_group_info
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClientGroupInfo
|
||||
end
|
||||
def gateway_settings
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::GatewaySettings
|
||||
end
|
||||
def security_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SecurityProfile
|
||||
end
|
||||
def operation_resource
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationResource
|
||||
end
|
||||
def autoscale_schedule
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleSchedule
|
||||
end
|
||||
def resource
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Resource
|
||||
end
|
||||
def autoscale_recurrence
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleRecurrence
|
||||
end
|
||||
def autoscale_capacity
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleCapacity
|
||||
end
|
||||
def hardware_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HardwareProfile
|
||||
end
|
||||
def autoscale
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Autoscale
|
||||
end
|
||||
def data_disks_groups
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DataDisksGroups
|
||||
end
|
||||
def host_info_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfoListResult
|
||||
end
|
||||
def ssh_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SshProfile
|
||||
end
|
||||
def host_info
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfo
|
||||
end
|
||||
def os_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OsProfile
|
||||
end
|
||||
def error_response
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ErrorResponse
|
||||
end
|
||||
def role
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
|
||||
end
|
||||
def application_get_https_endpoint
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetHttpsEndpoint
|
||||
end
|
||||
def storage_account
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageAccount
|
||||
end
|
||||
def application_get_endpoint
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetEndpoint
|
||||
end
|
||||
def disk_encryption_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties
|
||||
end
|
||||
def application_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationProperties
|
||||
end
|
||||
def cluster_identity_user_assigned_identities_value
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentityUserAssignedIdentitiesValue
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationListResult
|
||||
end
|
||||
def cluster_create_parameters_extended
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateParametersExtended
|
||||
end
|
||||
def application_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationListResult
|
||||
end
|
||||
def quota_info
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaInfo
|
||||
end
|
||||
def version_spec
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec
|
||||
end
|
||||
def connectivity_endpoint
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint
|
||||
end
|
||||
def versions_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionsCapability
|
||||
end
|
||||
def regions_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionsCapability
|
||||
end
|
||||
def execute_script_action_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ExecuteScriptActionParameters
|
||||
end
|
||||
def vm_sizes_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizesCapability
|
||||
end
|
||||
def script_action_execution_summary
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionSummary
|
||||
end
|
||||
def vm_size_compatibility_filter
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilter
|
||||
end
|
||||
def cluster_list_runtime_script_action_detail_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListRuntimeScriptActionDetailResult
|
||||
end
|
||||
def regional_quota_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionalQuotaCapability
|
||||
end
|
||||
def cluster_resize_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterResizeParameters
|
||||
end
|
||||
def quota_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaCapability
|
||||
end
|
||||
def kafka_rest_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::KafkaRestProperties
|
||||
end
|
||||
def capabilities_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::CapabilitiesResult
|
||||
end
|
||||
def virtual_network_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VirtualNetworkProfile
|
||||
end
|
||||
def localized_name
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LocalizedName
|
||||
end
|
||||
def linux_operating_system_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LinuxOperatingSystemProfile
|
||||
end
|
||||
def usage
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Usage
|
||||
end
|
||||
def compute_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ComputeProfile
|
||||
end
|
||||
def usages_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UsagesListResult
|
||||
end
|
||||
def cluster_create_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateProperties
|
||||
end
|
||||
def vm_size_compatibility_filter_v2
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilterV2
|
||||
end
|
||||
def cluster_patch_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterPatchParameters
|
||||
end
|
||||
def billing_meters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingMeters
|
||||
end
|
||||
def cluster_get_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterGetProperties
|
||||
end
|
||||
def disk_billing_meters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskBillingMeters
|
||||
end
|
||||
def cluster_list_persisted_script_actions_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListPersistedScriptActionsResult
|
||||
end
|
||||
def billing_resources
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResources
|
||||
end
|
||||
def cluster_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListResult
|
||||
end
|
||||
def billing_response_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResponseListResult
|
||||
def gateway_settings
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::GatewaySettings
|
||||
end
|
||||
def autoscale_time_and_capacity
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleTimeAndCapacity
|
||||
end
|
||||
def cluster_configurations
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterConfigurations
|
||||
def operation_resource
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationResource
|
||||
end
|
||||
def script_action
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptAction
|
||||
def autoscale_capacity
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleCapacity
|
||||
end
|
||||
def extension
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Extension
|
||||
def resource
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Resource
|
||||
end
|
||||
def cluster_identity
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentity
|
||||
def autoscale
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Autoscale
|
||||
end
|
||||
def cluster_monitoring_response
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringResponse
|
||||
def autoscale_recurrence
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleRecurrence
|
||||
end
|
||||
def runtime_script_action
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptAction
|
||||
def virtual_network_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VirtualNetworkProfile
|
||||
end
|
||||
def cluster_monitoring_request
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringRequest
|
||||
end
|
||||
def cluster_definition
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDefinition
|
||||
end
|
||||
def script_action_execution_history_list
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionHistoryList
|
||||
end
|
||||
def storage_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageProfile
|
||||
end
|
||||
def script_action_persisted_get_response_spec
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionPersistedGetResponseSpec
|
||||
end
|
||||
def operation
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Operation
|
||||
def hardware_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HardwareProfile
|
||||
end
|
||||
def ssh_public_key
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SshPublicKey
|
||||
end
|
||||
def script_actions_list
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionsList
|
||||
def host_info
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::HostInfo
|
||||
end
|
||||
def linux_operating_system_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LinuxOperatingSystemProfile
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationListResult
|
||||
end
|
||||
def script_action
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptAction
|
||||
end
|
||||
def error_response
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ErrorResponse
|
||||
end
|
||||
def compute_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ComputeProfile
|
||||
end
|
||||
def application_get_https_endpoint
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetHttpsEndpoint
|
||||
end
|
||||
def storage_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageProfile
|
||||
end
|
||||
def application_get_endpoint
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationGetEndpoint
|
||||
end
|
||||
def cluster_create_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateProperties
|
||||
end
|
||||
def application_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationProperties
|
||||
end
|
||||
def cluster_identity
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentity
|
||||
end
|
||||
def operation
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Operation
|
||||
end
|
||||
def cluster_patch_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterPatchParameters
|
||||
end
|
||||
def application_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ApplicationListResult
|
||||
end
|
||||
def errors
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Errors
|
||||
end
|
||||
def version_spec
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec
|
||||
end
|
||||
def cluster_get_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterGetProperties
|
||||
end
|
||||
def versions_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionsCapability
|
||||
end
|
||||
def runtime_script_action
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptAction
|
||||
end
|
||||
def regions_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionsCapability
|
||||
end
|
||||
def cluster_list_persisted_script_actions_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListPersistedScriptActionsResult
|
||||
end
|
||||
def vm_sizes_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizesCapability
|
||||
end
|
||||
def operation_display
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OperationDisplay
|
||||
end
|
||||
def cluster_list_runtime_script_action_detail_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListRuntimeScriptActionDetailResult
|
||||
end
|
||||
def vm_size_compatibility_filter
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilter
|
||||
end
|
||||
def cluster_resize_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterResizeParameters
|
||||
end
|
||||
def regional_quota_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionalQuotaCapability
|
||||
end
|
||||
def security_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SecurityProfile
|
||||
end
|
||||
def quota_capability
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaCapability
|
||||
end
|
||||
def data_disks_groups
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DataDisksGroups
|
||||
end
|
||||
def capabilities_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::CapabilitiesResult
|
||||
end
|
||||
def os_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::OsProfile
|
||||
end
|
||||
def localized_name
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::LocalizedName
|
||||
end
|
||||
def storage_account
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::StorageAccount
|
||||
end
|
||||
def usage
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Usage
|
||||
end
|
||||
def cluster_identity_user_assigned_identities_value
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterIdentityUserAssignedIdentitiesValue
|
||||
end
|
||||
def usages_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::UsagesListResult
|
||||
end
|
||||
def quota_info
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaInfo
|
||||
end
|
||||
def vm_size_compatibility_filter_v2
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VmSizeCompatibilityFilterV2
|
||||
end
|
||||
def billing_meters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingMeters
|
||||
end
|
||||
def script_action_execution_summary
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionSummary
|
||||
end
|
||||
def disk_billing_meters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskBillingMeters
|
||||
end
|
||||
def client_group_info
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClientGroupInfo
|
||||
end
|
||||
def billing_resources
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResources
|
||||
end
|
||||
def ssh_profile
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::SshProfile
|
||||
end
|
||||
def billing_response_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::BillingResponseListResult
|
||||
end
|
||||
def disk_encryption_properties
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::DiskEncryptionProperties
|
||||
end
|
||||
def cluster_configurations
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterConfigurations
|
||||
end
|
||||
def connectivity_endpoint
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ConnectivityEndpoint
|
||||
end
|
||||
def extension
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Extension
|
||||
end
|
||||
def cluster_list_result
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterListResult
|
||||
end
|
||||
def cluster_monitoring_response
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringResponse
|
||||
end
|
||||
def role
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
|
||||
end
|
||||
def cluster_monitoring_request
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringRequest
|
||||
end
|
||||
def execute_script_action_parameters
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ExecuteScriptActionParameters
|
||||
end
|
||||
def script_action_execution_history_list
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionExecutionHistoryList
|
||||
end
|
||||
def cluster_create_parameters_extended
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterCreateParametersExtended
|
||||
end
|
||||
def script_action_persisted_get_response_spec
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionPersistedGetResponseSpec
|
||||
end
|
||||
def autoscale_schedule
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AutoscaleSchedule
|
||||
end
|
||||
def script_actions_list
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ScriptActionsList
|
||||
end
|
||||
def runtime_script_action_detail
|
||||
Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptActionDetail
|
||||
end
|
||||
|
|
|
@ -7,16 +7,9 @@ require 'azure_mgmt_security'
|
|||
module Azure::Profiles::Latest
|
||||
module Security
|
||||
module Mgmt
|
||||
AdaptiveNetworkHardenings = Azure::Security::Mgmt::V2015_06_01_preview::AdaptiveNetworkHardenings
|
||||
AllowedConnections = Azure::Security::Mgmt::V2015_06_01_preview::AllowedConnections
|
||||
AdaptiveApplicationControls = Azure::Security::Mgmt::V2015_06_01_preview::AdaptiveApplicationControls
|
||||
DiscoveredSecuritySolutions = Azure::Security::Mgmt::V2015_06_01_preview::DiscoveredSecuritySolutions
|
||||
ExternalSecuritySolutions = Azure::Security::Mgmt::V2015_06_01_preview::ExternalSecuritySolutions
|
||||
JitNetworkAccessPolicies = Azure::Security::Mgmt::V2015_06_01_preview::JitNetworkAccessPolicies
|
||||
Locations = Azure::Security::Mgmt::V2015_06_01_preview::Locations
|
||||
Operations = Azure::Security::Mgmt::V2015_06_01_preview::Operations
|
||||
Tasks = Azure::Security::Mgmt::V2015_06_01_preview::Tasks
|
||||
Topology = Azure::Security::Mgmt::V2015_06_01_preview::Topology
|
||||
AdvancedThreatProtection = Azure::Security::Mgmt::V2017_08_01_preview::AdvancedThreatProtection
|
||||
AutoProvisioningSettings = Azure::Security::Mgmt::V2017_08_01_preview::AutoProvisioningSettings
|
||||
Compliances = Azure::Security::Mgmt::V2017_08_01_preview::Compliances
|
||||
|
@ -29,7 +22,6 @@ module Azure::Profiles::Latest
|
|||
RegulatoryComplianceStandards = Azure::Security::Mgmt::V2019_01_01_preview::RegulatoryComplianceStandards
|
||||
RegulatoryComplianceControls = Azure::Security::Mgmt::V2019_01_01_preview::RegulatoryComplianceControls
|
||||
RegulatoryComplianceAssessments = Azure::Security::Mgmt::V2019_01_01_preview::RegulatoryComplianceAssessments
|
||||
ServerVulnerabilityAssessmentOperations = Azure::Security::Mgmt::V2019_01_01_preview::ServerVulnerabilityAssessmentOperations
|
||||
Alerts = Azure::Security::Mgmt::V2019_01_01::Alerts
|
||||
Settings = Azure::Security::Mgmt::V2019_01_01::Settings
|
||||
IoTSecuritySolutionsAnalytics = Azure::Security::Mgmt::V2019_08_01::IoTSecuritySolutionsAnalytics
|
||||
|
@ -40,72 +32,26 @@ module Azure::Profiles::Latest
|
|||
IoTSecuritySolutions = Azure::Security::Mgmt::V2019_08_01::IoTSecuritySolutions
|
||||
IoTSecuritySolutionsResourceGroup = Azure::Security::Mgmt::V2019_08_01::IoTSecuritySolutionsResourceGroup
|
||||
IotSecuritySolution = Azure::Security::Mgmt::V2019_08_01::IotSecuritySolution
|
||||
AdaptiveNetworkHardenings = Azure::Security::Mgmt::V2020_01_01::AdaptiveNetworkHardenings
|
||||
AllowedConnections = Azure::Security::Mgmt::V2020_01_01::AllowedConnections
|
||||
AdaptiveApplicationControls = Azure::Security::Mgmt::V2020_01_01::AdaptiveApplicationControls
|
||||
AssessmentsMetadata = Azure::Security::Mgmt::V2020_01_01::AssessmentsMetadata
|
||||
Assessments = Azure::Security::Mgmt::V2020_01_01::Assessments
|
||||
DiscoveredSecuritySolutions = Azure::Security::Mgmt::V2020_01_01::DiscoveredSecuritySolutions
|
||||
ExternalSecuritySolutions = Azure::Security::Mgmt::V2020_01_01::ExternalSecuritySolutions
|
||||
JitNetworkAccessPolicies = Azure::Security::Mgmt::V2020_01_01::JitNetworkAccessPolicies
|
||||
ServerVulnerabilityAssessmentOperations = Azure::Security::Mgmt::V2020_01_01::ServerVulnerabilityAssessmentOperations
|
||||
Topology = Azure::Security::Mgmt::V2020_01_01::Topology
|
||||
|
||||
module Models
|
||||
ExternalSecuritySolutionList = Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionList
|
||||
Rule = Azure::Security::Mgmt::V2015_06_01_preview::Models::Rule
|
||||
EffectiveNetworkSecurityGroups = Azure::Security::Mgmt::V2015_06_01_preview::Models::EffectiveNetworkSecurityGroups
|
||||
SecurityTaskList = Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityTaskList
|
||||
AdaptiveNetworkHardeningsList = Azure::Security::Mgmt::V2015_06_01_preview::Models::AdaptiveNetworkHardeningsList
|
||||
TopologyList = Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologyList
|
||||
AdaptiveNetworkHardeningEnforceRequest = Azure::Security::Mgmt::V2015_06_01_preview::Models::AdaptiveNetworkHardeningEnforceRequest
|
||||
SecurityTaskParameters = Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityTaskParameters
|
||||
TopologyResource = Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologyResource
|
||||
TopologySingleResource = Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologySingleResource
|
||||
ConnectedWorkspace = Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectedWorkspace
|
||||
ConnectableResource = Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectableResource
|
||||
AadSolutionProperties = Azure::Security::Mgmt::V2015_06_01_preview::Models::AadSolutionProperties
|
||||
AllowedConnectionsList = Azure::Security::Mgmt::V2015_06_01_preview::Models::AllowedConnectionsList
|
||||
TopologySingleResourceChild = Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologySingleResourceChild
|
||||
AppWhitelistingIssueSummary = Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingIssueSummary
|
||||
ExternalSecuritySolutionKind1 = Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionKind1
|
||||
PublisherInfo = Azure::Security::Mgmt::V2015_06_01_preview::Models::PublisherInfo
|
||||
ExternalSecuritySolutionProperties = Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionProperties
|
||||
PathRecommendation = Azure::Security::Mgmt::V2015_06_01_preview::Models::PathRecommendation
|
||||
AadConnectivityState1 = Azure::Security::Mgmt::V2015_06_01_preview::Models::AadConnectivityState1
|
||||
AppWhitelistingGroups = Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingGroups
|
||||
JitNetworkAccessPortRule = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPortRule
|
||||
DiscoveredSecuritySolution = Azure::Security::Mgmt::V2015_06_01_preview::Models::DiscoveredSecuritySolution
|
||||
JitNetworkAccessPolicyVirtualMachine = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyVirtualMachine
|
||||
ExternalSecuritySolution = Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolution
|
||||
JitNetworkAccessRequestPort = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessRequestPort
|
||||
JitNetworkAccessRequestVirtualMachine = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessRequestVirtualMachine
|
||||
TopologySingleResourceParent = Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologySingleResourceParent
|
||||
JitNetworkAccessRequest = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessRequest
|
||||
AllowedConnectionsResource = Azure::Security::Mgmt::V2015_06_01_preview::Models::AllowedConnectionsResource
|
||||
JitNetworkAccessPolicy = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicy
|
||||
VmRecommendation = Azure::Security::Mgmt::V2015_06_01_preview::Models::VmRecommendation
|
||||
JitNetworkAccessPoliciesList = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPoliciesList
|
||||
AppWhitelistingGroup = Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingGroup
|
||||
JitNetworkAccessPolicyInitiatePort = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiatePort
|
||||
DiscoveredSecuritySolutionList = Azure::Security::Mgmt::V2015_06_01_preview::Models::DiscoveredSecuritySolutionList
|
||||
JitNetworkAccessPolicyInitiateVirtualMachine = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiateVirtualMachine
|
||||
JitNetworkAccessPolicyInitiateRequest = Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiateRequest
|
||||
Location = Azure::Security::Mgmt::V2015_06_01_preview::Models::Location
|
||||
Kind = Azure::Security::Mgmt::V2015_06_01_preview::Models::Kind
|
||||
AppWhitelistingPutGroupData = Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingPutGroupData
|
||||
AscLocationList = Azure::Security::Mgmt::V2015_06_01_preview::Models::AscLocationList
|
||||
ConnectedResource = Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectedResource
|
||||
OperationDisplay = Azure::Security::Mgmt::V2015_06_01_preview::Models::OperationDisplay
|
||||
OperationList = Azure::Security::Mgmt::V2015_06_01_preview::Models::OperationList
|
||||
UserRecommendation = Azure::Security::Mgmt::V2015_06_01_preview::Models::UserRecommendation
|
||||
Operation = Azure::Security::Mgmt::V2015_06_01_preview::Models::Operation
|
||||
AdaptiveNetworkHardening = Azure::Security::Mgmt::V2015_06_01_preview::Models::AdaptiveNetworkHardening
|
||||
CefSolutionProperties = Azure::Security::Mgmt::V2015_06_01_preview::Models::CefSolutionProperties
|
||||
CefExternalSecuritySolution = Azure::Security::Mgmt::V2015_06_01_preview::Models::CefExternalSecuritySolution
|
||||
AtaSolutionProperties = Azure::Security::Mgmt::V2015_06_01_preview::Models::AtaSolutionProperties
|
||||
AtaExternalSecuritySolution = Azure::Security::Mgmt::V2015_06_01_preview::Models::AtaExternalSecuritySolution
|
||||
AadExternalSecuritySolution = Azure::Security::Mgmt::V2015_06_01_preview::Models::AadExternalSecuritySolution
|
||||
SecurityTask = Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityTask
|
||||
Direction = Azure::Security::Mgmt::V2015_06_01_preview::Models::Direction
|
||||
TransportProtocol = Azure::Security::Mgmt::V2015_06_01_preview::Models::TransportProtocol
|
||||
SecurityFamily = Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityFamily
|
||||
AadConnectivityState = Azure::Security::Mgmt::V2015_06_01_preview::Models::AadConnectivityState
|
||||
ExternalSecuritySolutionKind = Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionKind
|
||||
Protocol = Azure::Security::Mgmt::V2015_06_01_preview::Models::Protocol
|
||||
Status = Azure::Security::Mgmt::V2015_06_01_preview::Models::Status
|
||||
StatusReason = Azure::Security::Mgmt::V2015_06_01_preview::Models::StatusReason
|
||||
ConnectionType = Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectionType
|
||||
InformationProtectionKeyword = Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionKeyword
|
||||
InformationType = Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationType
|
||||
WorkspaceSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList
|
||||
|
@ -142,11 +88,9 @@ module Azure::Profiles::Latest
|
|||
RegulatoryComplianceAssessmentList = Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceAssessmentList
|
||||
RegulatoryComplianceControlList = Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceControlList
|
||||
RegulatoryComplianceStandardList = Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceStandardList
|
||||
ServerVulnerabilityAssessmentsList = Azure::Security::Mgmt::V2019_01_01_preview::Models::ServerVulnerabilityAssessmentsList
|
||||
RegulatoryComplianceStandard = Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceStandard
|
||||
RegulatoryComplianceControl = Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceControl
|
||||
RegulatoryComplianceAssessment = Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceAssessment
|
||||
ServerVulnerabilityAssessment = Azure::Security::Mgmt::V2019_01_01_preview::Models::ServerVulnerabilityAssessment
|
||||
State = Azure::Security::Mgmt::V2019_01_01_preview::Models::State
|
||||
AlertEntity = Azure::Security::Mgmt::V2019_01_01::Models::AlertEntity
|
||||
SettingsList = Azure::Security::Mgmt::V2019_01_01::Models::SettingsList
|
||||
|
@ -170,14 +114,12 @@ module Azure::Profiles::Latest
|
|||
IoTSecuritySolutionAnalyticsModelList = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecuritySolutionAnalyticsModelList
|
||||
IoTSecuritySolutionsList = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecuritySolutionsList
|
||||
IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
|
||||
Resource = Azure::Security::Mgmt::V2019_08_01::Models::Resource
|
||||
IoTSecurityDeviceAlertsList = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityDeviceAlertsList
|
||||
IoTSecurityAlertedDevicesList = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAlertedDevicesList
|
||||
UserDefinedResourcesProperties = Azure::Security::Mgmt::V2019_08_01::Models::UserDefinedResourcesProperties
|
||||
IoTSecurityAggregatedAlert = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAggregatedAlert
|
||||
RecommendationConfigurationProperties = Azure::Security::Mgmt::V2019_08_01::Models::RecommendationConfigurationProperties
|
||||
IoTSecuritySolutionAnalyticsModel = Azure::Security::Mgmt::V2019_08_01::Models::IoTSecuritySolutionAnalyticsModel
|
||||
AscLocation = Azure::Security::Mgmt::V2019_08_01::Models::AscLocation
|
||||
UpdateIotSecuritySolutionData = Azure::Security::Mgmt::V2019_08_01::Models::UpdateIotSecuritySolutionData
|
||||
ReportedSeverity = Azure::Security::Mgmt::V2019_08_01::Models::ReportedSeverity
|
||||
SecuritySolutionStatus = Azure::Security::Mgmt::V2019_08_01::Models::SecuritySolutionStatus
|
||||
|
@ -185,10 +127,94 @@ module Azure::Profiles::Latest
|
|||
DataSource = Azure::Security::Mgmt::V2019_08_01::Models::DataSource
|
||||
RecommendationType = Azure::Security::Mgmt::V2019_08_01::Models::RecommendationType
|
||||
RecommendationConfigStatus = Azure::Security::Mgmt::V2019_08_01::Models::RecommendationConfigStatus
|
||||
ResourceDetails = Azure::Security::Mgmt::V2020_01_01::Models::ResourceDetails
|
||||
Rule = Azure::Security::Mgmt::V2020_01_01::Models::Rule
|
||||
AssessmentStatus = Azure::Security::Mgmt::V2020_01_01::Models::AssessmentStatus
|
||||
EffectiveNetworkSecurityGroups = Azure::Security::Mgmt::V2020_01_01::Models::EffectiveNetworkSecurityGroups
|
||||
AdaptiveNetworkHardeningsList = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveNetworkHardeningsList
|
||||
JitNetworkAccessPolicy = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicy
|
||||
JitNetworkAccessPolicyInitiatePort = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiatePort
|
||||
AssessmentLinks = Azure::Security::Mgmt::V2020_01_01::Models::AssessmentLinks
|
||||
Location = Azure::Security::Mgmt::V2020_01_01::Models::Location
|
||||
SecurityAssessmentPartnerData = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentPartnerData
|
||||
ETag = Azure::Security::Mgmt::V2020_01_01::Models::ETag
|
||||
TopologyList = Azure::Security::Mgmt::V2020_01_01::Models::TopologyList
|
||||
Resource = Azure::Security::Mgmt::V2020_01_01::Models::Resource
|
||||
SecurityAssessmentList = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentList
|
||||
ConnectedResource = Azure::Security::Mgmt::V2020_01_01::Models::ConnectedResource
|
||||
TopologyResource = Azure::Security::Mgmt::V2020_01_01::Models::TopologyResource
|
||||
AllowedConnectionsResource = Azure::Security::Mgmt::V2020_01_01::Models::AllowedConnectionsResource
|
||||
TopologySingleResource = Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResource
|
||||
ProtectionMode = Azure::Security::Mgmt::V2020_01_01::Models::ProtectionMode
|
||||
DiscoveredSecuritySolution = Azure::Security::Mgmt::V2020_01_01::Models::DiscoveredSecuritySolution
|
||||
VmRecommendation = Azure::Security::Mgmt::V2020_01_01::Models::VmRecommendation
|
||||
DiscoveredSecuritySolutionList = Azure::Security::Mgmt::V2020_01_01::Models::DiscoveredSecuritySolutionList
|
||||
UserRecommendation = Azure::Security::Mgmt::V2020_01_01::Models::UserRecommendation
|
||||
ExternalSecuritySolution = Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolution
|
||||
AppWhitelistingGroup = Azure::Security::Mgmt::V2020_01_01::Models::AppWhitelistingGroup
|
||||
ExternalSecuritySolutionList = Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionList
|
||||
SecurityAssessmentMetadataPartnerData = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadataPartnerData
|
||||
TopologySingleResourceChild = Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResourceChild
|
||||
JitNetworkAccessPoliciesList = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPoliciesList
|
||||
TopologySingleResourceParent = Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResourceParent
|
||||
AdaptiveNetworkHardeningEnforceRequest = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveNetworkHardeningEnforceRequest
|
||||
ServerVulnerabilityAssessmentsList = Azure::Security::Mgmt::V2020_01_01::Models::ServerVulnerabilityAssessmentsList
|
||||
Kind = Azure::Security::Mgmt::V2020_01_01::Models::Kind
|
||||
JitNetworkAccessPolicyInitiateRequest = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiateRequest
|
||||
ConnectedWorkspace = Azure::Security::Mgmt::V2020_01_01::Models::ConnectedWorkspace
|
||||
AllowedConnectionsList = Azure::Security::Mgmt::V2020_01_01::Models::AllowedConnectionsList
|
||||
AadSolutionProperties = Azure::Security::Mgmt::V2020_01_01::Models::AadSolutionProperties
|
||||
PublisherInfo = Azure::Security::Mgmt::V2020_01_01::Models::PublisherInfo
|
||||
JitNetworkAccessPolicyInitiateVirtualMachine = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiateVirtualMachine
|
||||
AppWhitelistingGroups = Azure::Security::Mgmt::V2020_01_01::Models::AppWhitelistingGroups
|
||||
ExternalSecuritySolutionKind1 = Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionKind1
|
||||
SecurityAssessmentMetadataList = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadataList
|
||||
ExternalSecuritySolutionProperties = Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionProperties
|
||||
Tags = Azure::Security::Mgmt::V2020_01_01::Models::Tags
|
||||
AadConnectivityState1 = Azure::Security::Mgmt::V2020_01_01::Models::AadConnectivityState1
|
||||
AppWhitelistingIssueSummary = Azure::Security::Mgmt::V2020_01_01::Models::AppWhitelistingIssueSummary
|
||||
JitNetworkAccessPortRule = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPortRule
|
||||
SecurityAssessmentMetadataProperties = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadataProperties
|
||||
JitNetworkAccessPolicyVirtualMachine = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyVirtualMachine
|
||||
ConnectableResource = Azure::Security::Mgmt::V2020_01_01::Models::ConnectableResource
|
||||
JitNetworkAccessRequestPort = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequestPort
|
||||
TrackedResource = Azure::Security::Mgmt::V2020_01_01::Models::TrackedResource
|
||||
JitNetworkAccessRequestVirtualMachine = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequestVirtualMachine
|
||||
PathRecommendation = Azure::Security::Mgmt::V2020_01_01::Models::PathRecommendation
|
||||
JitNetworkAccessRequest = Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequest
|
||||
AdaptiveNetworkHardening = Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveNetworkHardening
|
||||
AscLocation = Azure::Security::Mgmt::V2020_01_01::Models::AscLocation
|
||||
SecurityAssessmentMetadata = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadata
|
||||
SecurityAssessment = Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessment
|
||||
OnPremiseResourceDetails = Azure::Security::Mgmt::V2020_01_01::Models::OnPremiseResourceDetails
|
||||
AzureResourceDetails = Azure::Security::Mgmt::V2020_01_01::Models::AzureResourceDetails
|
||||
CefSolutionProperties = Azure::Security::Mgmt::V2020_01_01::Models::CefSolutionProperties
|
||||
CefExternalSecuritySolution = Azure::Security::Mgmt::V2020_01_01::Models::CefExternalSecuritySolution
|
||||
AtaSolutionProperties = Azure::Security::Mgmt::V2020_01_01::Models::AtaSolutionProperties
|
||||
AtaExternalSecuritySolution = Azure::Security::Mgmt::V2020_01_01::Models::AtaExternalSecuritySolution
|
||||
AadExternalSecuritySolution = Azure::Security::Mgmt::V2020_01_01::Models::AadExternalSecuritySolution
|
||||
ServerVulnerabilityAssessment = Azure::Security::Mgmt::V2020_01_01::Models::ServerVulnerabilityAssessment
|
||||
Direction = Azure::Security::Mgmt::V2020_01_01::Models::Direction
|
||||
TransportProtocol = Azure::Security::Mgmt::V2020_01_01::Models::TransportProtocol
|
||||
Category = Azure::Security::Mgmt::V2020_01_01::Models::Category
|
||||
Severity = Azure::Security::Mgmt::V2020_01_01::Models::Severity
|
||||
UserImpact = Azure::Security::Mgmt::V2020_01_01::Models::UserImpact
|
||||
ImplementationEffort = Azure::Security::Mgmt::V2020_01_01::Models::ImplementationEffort
|
||||
Threats = Azure::Security::Mgmt::V2020_01_01::Models::Threats
|
||||
AssessmentType = Azure::Security::Mgmt::V2020_01_01::Models::AssessmentType
|
||||
AssessmentStatusCode = Azure::Security::Mgmt::V2020_01_01::Models::AssessmentStatusCode
|
||||
SecurityFamily = Azure::Security::Mgmt::V2020_01_01::Models::SecurityFamily
|
||||
AadConnectivityState = Azure::Security::Mgmt::V2020_01_01::Models::AadConnectivityState
|
||||
ExternalSecuritySolutionKind = Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionKind
|
||||
Protocol = Azure::Security::Mgmt::V2020_01_01::Models::Protocol
|
||||
Status = Azure::Security::Mgmt::V2020_01_01::Models::Status
|
||||
StatusReason = Azure::Security::Mgmt::V2020_01_01::Models::StatusReason
|
||||
ConnectionType = Azure::Security::Mgmt::V2020_01_01::Models::ConnectionType
|
||||
ExpandEnum = Azure::Security::Mgmt::V2020_01_01::Models::ExpandEnum
|
||||
end
|
||||
|
||||
class SecurityManagementClass
|
||||
attr_reader :adaptive_network_hardenings, :allowed_connections, :adaptive_application_controls, :discovered_security_solutions, :external_security_solutions, :jit_network_access_policies, :locations, :operations, :tasks, :topology, :advanced_threat_protection, :auto_provisioning_settings, :compliances, :device_security_groups, :information_protection_policies, :security_contacts, :workspace_settings, :compliance_results, :pricings, :regulatory_compliance_standards, :regulatory_compliance_controls, :regulatory_compliance_assessments, :server_vulnerability_assessment_operations, :alerts, :settings, :io_tsecurity_solutions_analytics, :io_tsecurity_solutions_analytics_aggregated_alerts, :io_tsecurity_solutions_analytics_aggregated_alert, :io_tsecurity_solutions_analytics_recommendation, :io_tsecurity_solutions_analytics_recommendations, :io_tsecurity_solutions, :io_tsecurity_solutions_resource_group, :iot_security_solution, :configurable, :base_url, :options, :model_classes
|
||||
attr_reader :locations, :operations, :tasks, :advanced_threat_protection, :auto_provisioning_settings, :compliances, :device_security_groups, :information_protection_policies, :security_contacts, :workspace_settings, :compliance_results, :pricings, :regulatory_compliance_standards, :regulatory_compliance_controls, :regulatory_compliance_assessments, :alerts, :settings, :io_tsecurity_solutions_analytics, :io_tsecurity_solutions_analytics_aggregated_alerts, :io_tsecurity_solutions_analytics_aggregated_alert, :io_tsecurity_solutions_analytics_recommendation, :io_tsecurity_solutions_analytics_recommendations, :io_tsecurity_solutions, :io_tsecurity_solutions_resource_group, :iot_security_solution, :adaptive_network_hardenings, :allowed_connections, :adaptive_application_controls, :assessments_metadata, :assessments, :discovered_security_solutions, :external_security_solutions, :jit_network_access_policies, :server_vulnerability_assessment_operations, :topology, :configurable, :base_url, :options, :model_classes
|
||||
|
||||
def initialize(configurable, base_url=nil, options=nil)
|
||||
@configurable, @base_url, @options = configurable, base_url, options
|
||||
|
@ -198,16 +224,9 @@ module Azure::Profiles::Latest
|
|||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@adaptive_network_hardenings = @client_0.adaptive_network_hardenings
|
||||
@allowed_connections = @client_0.allowed_connections
|
||||
@adaptive_application_controls = @client_0.adaptive_application_controls
|
||||
@discovered_security_solutions = @client_0.discovered_security_solutions
|
||||
@external_security_solutions = @client_0.external_security_solutions
|
||||
@jit_network_access_policies = @client_0.jit_network_access_policies
|
||||
@locations = @client_0.locations
|
||||
@operations = @client_0.operations
|
||||
@tasks = @client_0.tasks
|
||||
@topology = @client_0.topology
|
||||
|
||||
@client_1 = Azure::Security::Mgmt::V2017_08_01_preview::SecurityCenter.new(configurable.credentials, base_url, options)
|
||||
if(@client_1.respond_to?(:subscription_id))
|
||||
|
@ -244,7 +263,6 @@ module Azure::Profiles::Latest
|
|||
@regulatory_compliance_standards = @client_4.regulatory_compliance_standards
|
||||
@regulatory_compliance_controls = @client_4.regulatory_compliance_controls
|
||||
@regulatory_compliance_assessments = @client_4.regulatory_compliance_assessments
|
||||
@server_vulnerability_assessment_operations = @client_4.server_vulnerability_assessment_operations
|
||||
|
||||
@client_5 = Azure::Security::Mgmt::V2019_01_01::SecurityCenter.new(configurable.credentials, base_url, options)
|
||||
if(@client_5.respond_to?(:subscription_id))
|
||||
|
@ -268,6 +286,22 @@ module Azure::Profiles::Latest
|
|||
@io_tsecurity_solutions_resource_group = @client_6.io_tsecurity_solutions_resource_group
|
||||
@iot_security_solution = @client_6.iot_security_solution
|
||||
|
||||
@client_7 = Azure::Security::Mgmt::V2020_01_01::SecurityCenter.new(configurable.credentials, base_url, options)
|
||||
if(@client_7.respond_to?(:subscription_id))
|
||||
@client_7.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_7)
|
||||
@adaptive_network_hardenings = @client_7.adaptive_network_hardenings
|
||||
@allowed_connections = @client_7.allowed_connections
|
||||
@adaptive_application_controls = @client_7.adaptive_application_controls
|
||||
@assessments_metadata = @client_7.assessments_metadata
|
||||
@assessments = @client_7.assessments
|
||||
@discovered_security_solutions = @client_7.discovered_security_solutions
|
||||
@external_security_solutions = @client_7.external_security_solutions
|
||||
@jit_network_access_policies = @client_7.jit_network_access_policies
|
||||
@server_vulnerability_assessment_operations = @client_7.server_vulnerability_assessment_operations
|
||||
@topology = @client_7.topology
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
|
@ -277,7 +311,9 @@ module Azure::Profiles::Latest
|
|||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_6.respond_to?method
|
||||
if @client_7.respond_to?method
|
||||
@client_7.send(method, *args)
|
||||
elsif @client_6.respond_to?method
|
||||
@client_6.send(method, *args)
|
||||
elsif @client_5.respond_to?method
|
||||
@client_5.send(method, *args)
|
||||
|
@ -297,198 +333,30 @@ module Azure::Profiles::Latest
|
|||
end
|
||||
|
||||
class ModelClasses
|
||||
def external_security_solution_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionList
|
||||
end
|
||||
def rule
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Rule
|
||||
end
|
||||
def effective_network_security_groups
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::EffectiveNetworkSecurityGroups
|
||||
end
|
||||
def security_task_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityTaskList
|
||||
end
|
||||
def adaptive_network_hardenings_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AdaptiveNetworkHardeningsList
|
||||
end
|
||||
def topology_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologyList
|
||||
end
|
||||
def adaptive_network_hardening_enforce_request
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AdaptiveNetworkHardeningEnforceRequest
|
||||
end
|
||||
def security_task_parameters
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityTaskParameters
|
||||
end
|
||||
def topology_resource
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologyResource
|
||||
end
|
||||
def topology_single_resource
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologySingleResource
|
||||
end
|
||||
def connected_workspace
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectedWorkspace
|
||||
end
|
||||
def connectable_resource
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectableResource
|
||||
end
|
||||
def aad_solution_properties
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AadSolutionProperties
|
||||
end
|
||||
def allowed_connections_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AllowedConnectionsList
|
||||
end
|
||||
def topology_single_resource_child
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologySingleResourceChild
|
||||
end
|
||||
def app_whitelisting_issue_summary
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingIssueSummary
|
||||
end
|
||||
def external_security_solution_kind1
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionKind1
|
||||
end
|
||||
def publisher_info
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::PublisherInfo
|
||||
end
|
||||
def external_security_solution_properties
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionProperties
|
||||
end
|
||||
def path_recommendation
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::PathRecommendation
|
||||
end
|
||||
def aad_connectivity_state1
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AadConnectivityState1
|
||||
end
|
||||
def app_whitelisting_groups
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingGroups
|
||||
end
|
||||
def jit_network_access_port_rule
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPortRule
|
||||
end
|
||||
def discovered_security_solution
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::DiscoveredSecuritySolution
|
||||
end
|
||||
def jit_network_access_policy_virtual_machine
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyVirtualMachine
|
||||
end
|
||||
def external_security_solution
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolution
|
||||
end
|
||||
def jit_network_access_request_port
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessRequestPort
|
||||
end
|
||||
def jit_network_access_request_virtual_machine
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessRequestVirtualMachine
|
||||
end
|
||||
def topology_single_resource_parent
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::TopologySingleResourceParent
|
||||
end
|
||||
def jit_network_access_request
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessRequest
|
||||
end
|
||||
def allowed_connections_resource
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AllowedConnectionsResource
|
||||
end
|
||||
def jit_network_access_policy
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicy
|
||||
end
|
||||
def vm_recommendation
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::VmRecommendation
|
||||
end
|
||||
def jit_network_access_policies_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPoliciesList
|
||||
end
|
||||
def app_whitelisting_group
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingGroup
|
||||
end
|
||||
def jit_network_access_policy_initiate_port
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiatePort
|
||||
end
|
||||
def discovered_security_solution_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::DiscoveredSecuritySolutionList
|
||||
end
|
||||
def jit_network_access_policy_initiate_virtual_machine
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiateVirtualMachine
|
||||
end
|
||||
def jit_network_access_policy_initiate_request
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::JitNetworkAccessPolicyInitiateRequest
|
||||
end
|
||||
def location
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Location
|
||||
end
|
||||
def kind
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Kind
|
||||
end
|
||||
def app_whitelisting_put_group_data
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AppWhitelistingPutGroupData
|
||||
end
|
||||
def asc_location_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AscLocationList
|
||||
end
|
||||
def connected_resource
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectedResource
|
||||
end
|
||||
def operation_display
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::OperationDisplay
|
||||
end
|
||||
def operation_list
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::OperationList
|
||||
end
|
||||
def user_recommendation
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::UserRecommendation
|
||||
end
|
||||
def operation
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Operation
|
||||
end
|
||||
def adaptive_network_hardening
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AdaptiveNetworkHardening
|
||||
end
|
||||
def cef_solution_properties
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::CefSolutionProperties
|
||||
end
|
||||
def cef_external_security_solution
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::CefExternalSecuritySolution
|
||||
end
|
||||
def ata_solution_properties
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AtaSolutionProperties
|
||||
end
|
||||
def ata_external_security_solution
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AtaExternalSecuritySolution
|
||||
end
|
||||
def aad_external_security_solution
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AadExternalSecuritySolution
|
||||
end
|
||||
def security_task
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityTask
|
||||
end
|
||||
def direction
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Direction
|
||||
end
|
||||
def transport_protocol
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::TransportProtocol
|
||||
end
|
||||
def security_family
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::SecurityFamily
|
||||
end
|
||||
def aad_connectivity_state
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::AadConnectivityState
|
||||
end
|
||||
def external_security_solution_kind
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolutionKind
|
||||
end
|
||||
def protocol
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Protocol
|
||||
end
|
||||
def status
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::Status
|
||||
end
|
||||
def status_reason
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::StatusReason
|
||||
end
|
||||
def connection_type
|
||||
Azure::Security::Mgmt::V2015_06_01_preview::Models::ConnectionType
|
||||
end
|
||||
def information_protection_keyword
|
||||
Azure::Security::Mgmt::V2017_08_01_preview::Models::InformationProtectionKeyword
|
||||
end
|
||||
|
@ -597,9 +465,6 @@ module Azure::Profiles::Latest
|
|||
def regulatory_compliance_standard_list
|
||||
Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceStandardList
|
||||
end
|
||||
def server_vulnerability_assessments_list
|
||||
Azure::Security::Mgmt::V2019_01_01_preview::Models::ServerVulnerabilityAssessmentsList
|
||||
end
|
||||
def regulatory_compliance_standard
|
||||
Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceStandard
|
||||
end
|
||||
|
@ -609,9 +474,6 @@ module Azure::Profiles::Latest
|
|||
def regulatory_compliance_assessment
|
||||
Azure::Security::Mgmt::V2019_01_01_preview::Models::RegulatoryComplianceAssessment
|
||||
end
|
||||
def server_vulnerability_assessment
|
||||
Azure::Security::Mgmt::V2019_01_01_preview::Models::ServerVulnerabilityAssessment
|
||||
end
|
||||
def state
|
||||
Azure::Security::Mgmt::V2019_01_01_preview::Models::State
|
||||
end
|
||||
|
@ -681,9 +543,6 @@ module Azure::Profiles::Latest
|
|||
def io_tsecurity_solution_analytics_model_properties_devices_metrics_item
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem
|
||||
end
|
||||
def resource
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::Resource
|
||||
end
|
||||
def io_tsecurity_device_alerts_list
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityDeviceAlertsList
|
||||
end
|
||||
|
@ -702,9 +561,6 @@ module Azure::Profiles::Latest
|
|||
def io_tsecurity_solution_analytics_model
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::IoTSecuritySolutionAnalyticsModel
|
||||
end
|
||||
def asc_location
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::AscLocation
|
||||
end
|
||||
def update_iot_security_solution_data
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::UpdateIotSecuritySolutionData
|
||||
end
|
||||
|
@ -726,6 +582,258 @@ module Azure::Profiles::Latest
|
|||
def recommendation_config_status
|
||||
Azure::Security::Mgmt::V2019_08_01::Models::RecommendationConfigStatus
|
||||
end
|
||||
def resource_details
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ResourceDetails
|
||||
end
|
||||
def rule
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Rule
|
||||
end
|
||||
def assessment_status
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AssessmentStatus
|
||||
end
|
||||
def effective_network_security_groups
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::EffectiveNetworkSecurityGroups
|
||||
end
|
||||
def adaptive_network_hardenings_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveNetworkHardeningsList
|
||||
end
|
||||
def jit_network_access_policy
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicy
|
||||
end
|
||||
def jit_network_access_policy_initiate_port
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiatePort
|
||||
end
|
||||
def assessment_links
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AssessmentLinks
|
||||
end
|
||||
def location
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Location
|
||||
end
|
||||
def security_assessment_partner_data
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentPartnerData
|
||||
end
|
||||
def etag
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ETag
|
||||
end
|
||||
def topology_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TopologyList
|
||||
end
|
||||
def resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Resource
|
||||
end
|
||||
def security_assessment_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentList
|
||||
end
|
||||
def connected_resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ConnectedResource
|
||||
end
|
||||
def topology_resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TopologyResource
|
||||
end
|
||||
def allowed_connections_resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AllowedConnectionsResource
|
||||
end
|
||||
def topology_single_resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResource
|
||||
end
|
||||
def protection_mode
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ProtectionMode
|
||||
end
|
||||
def discovered_security_solution
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::DiscoveredSecuritySolution
|
||||
end
|
||||
def vm_recommendation
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::VmRecommendation
|
||||
end
|
||||
def discovered_security_solution_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::DiscoveredSecuritySolutionList
|
||||
end
|
||||
def user_recommendation
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::UserRecommendation
|
||||
end
|
||||
def external_security_solution
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolution
|
||||
end
|
||||
def app_whitelisting_group
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AppWhitelistingGroup
|
||||
end
|
||||
def external_security_solution_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionList
|
||||
end
|
||||
def security_assessment_metadata_partner_data
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadataPartnerData
|
||||
end
|
||||
def topology_single_resource_child
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResourceChild
|
||||
end
|
||||
def jit_network_access_policies_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPoliciesList
|
||||
end
|
||||
def topology_single_resource_parent
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TopologySingleResourceParent
|
||||
end
|
||||
def adaptive_network_hardening_enforce_request
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveNetworkHardeningEnforceRequest
|
||||
end
|
||||
def server_vulnerability_assessments_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ServerVulnerabilityAssessmentsList
|
||||
end
|
||||
def kind
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Kind
|
||||
end
|
||||
def jit_network_access_policy_initiate_request
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiateRequest
|
||||
end
|
||||
def connected_workspace
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ConnectedWorkspace
|
||||
end
|
||||
def allowed_connections_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AllowedConnectionsList
|
||||
end
|
||||
def aad_solution_properties
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AadSolutionProperties
|
||||
end
|
||||
def publisher_info
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::PublisherInfo
|
||||
end
|
||||
def jit_network_access_policy_initiate_virtual_machine
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyInitiateVirtualMachine
|
||||
end
|
||||
def app_whitelisting_groups
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AppWhitelistingGroups
|
||||
end
|
||||
def external_security_solution_kind1
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionKind1
|
||||
end
|
||||
def security_assessment_metadata_list
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadataList
|
||||
end
|
||||
def external_security_solution_properties
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionProperties
|
||||
end
|
||||
def tags
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Tags
|
||||
end
|
||||
def aad_connectivity_state1
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AadConnectivityState1
|
||||
end
|
||||
def app_whitelisting_issue_summary
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AppWhitelistingIssueSummary
|
||||
end
|
||||
def jit_network_access_port_rule
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPortRule
|
||||
end
|
||||
def security_assessment_metadata_properties
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadataProperties
|
||||
end
|
||||
def jit_network_access_policy_virtual_machine
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessPolicyVirtualMachine
|
||||
end
|
||||
def connectable_resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ConnectableResource
|
||||
end
|
||||
def jit_network_access_request_port
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequestPort
|
||||
end
|
||||
def tracked_resource
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TrackedResource
|
||||
end
|
||||
def jit_network_access_request_virtual_machine
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequestVirtualMachine
|
||||
end
|
||||
def path_recommendation
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::PathRecommendation
|
||||
end
|
||||
def jit_network_access_request
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::JitNetworkAccessRequest
|
||||
end
|
||||
def adaptive_network_hardening
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AdaptiveNetworkHardening
|
||||
end
|
||||
def asc_location
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AscLocation
|
||||
end
|
||||
def security_assessment_metadata
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessmentMetadata
|
||||
end
|
||||
def security_assessment
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityAssessment
|
||||
end
|
||||
def on_premise_resource_details
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::OnPremiseResourceDetails
|
||||
end
|
||||
def azure_resource_details
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AzureResourceDetails
|
||||
end
|
||||
def cef_solution_properties
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::CefSolutionProperties
|
||||
end
|
||||
def cef_external_security_solution
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::CefExternalSecuritySolution
|
||||
end
|
||||
def ata_solution_properties
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AtaSolutionProperties
|
||||
end
|
||||
def ata_external_security_solution
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AtaExternalSecuritySolution
|
||||
end
|
||||
def aad_external_security_solution
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AadExternalSecuritySolution
|
||||
end
|
||||
def server_vulnerability_assessment
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ServerVulnerabilityAssessment
|
||||
end
|
||||
def direction
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Direction
|
||||
end
|
||||
def transport_protocol
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::TransportProtocol
|
||||
end
|
||||
def category
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Category
|
||||
end
|
||||
def severity
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Severity
|
||||
end
|
||||
def user_impact
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::UserImpact
|
||||
end
|
||||
def implementation_effort
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ImplementationEffort
|
||||
end
|
||||
def threats
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Threats
|
||||
end
|
||||
def assessment_type
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AssessmentType
|
||||
end
|
||||
def assessment_status_code
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AssessmentStatusCode
|
||||
end
|
||||
def security_family
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::SecurityFamily
|
||||
end
|
||||
def aad_connectivity_state
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::AadConnectivityState
|
||||
end
|
||||
def external_security_solution_kind
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ExternalSecuritySolutionKind
|
||||
end
|
||||
def protocol
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Protocol
|
||||
end
|
||||
def status
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::Status
|
||||
end
|
||||
def status_reason
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::StatusReason
|
||||
end
|
||||
def connection_type
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ConnectionType
|
||||
end
|
||||
def expand_enum
|
||||
Azure::Security::Mgmt::V2020_01_01::Models::ExpandEnum
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{
|
||||
"management": [
|
||||
"azure_mgmt_mariadb"
|
||||
"azure_mgmt_event_grid",
|
||||
"azure_mgmt_hdinsight",
|
||||
"azure_mgmt_data_factory",
|
||||
"azure_mgmt_cosmosdb",
|
||||
"azure_mgmt_security"
|
||||
],
|
||||
"rollup": [
|
||||
"azure_sdk"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"rollup": {
|
||||
"azure_sdk": "0.58.1"
|
||||
"azure_sdk": "0.59.0"
|
||||
},
|
||||
"data": {
|
||||
"azure_cognitiveservices_anomalydetector": "0.17.1",
|
||||
|
@ -55,7 +55,7 @@
|
|||
"azure_mgmt_container_instance": "0.17.5",
|
||||
"azure_mgmt_container_registry": "0.18.4",
|
||||
"azure_mgmt_container_service": "0.20.2",
|
||||
"azure_mgmt_cosmosdb": "0.21.1",
|
||||
"azure_mgmt_cosmosdb": "0.21.2",
|
||||
"azure_mgmt_cost_management": "0.17.1",
|
||||
"azure_mgmt_customer_insights": "0.17.3",
|
||||
"azure_mgmt_databox": "0.17.1",
|
||||
|
@ -63,17 +63,17 @@
|
|||
"azure_mgmt_datalake_analytics": "0.17.3",
|
||||
"azure_mgmt_datalake_store": "0.17.3",
|
||||
"azure_mgmt_data_migration": "0.18.1",
|
||||
"azure_mgmt_data_factory": "0.18.2",
|
||||
"azure_mgmt_data_factory": "0.18.3",
|
||||
"azure_mgmt_deployment_manager": "0.17.1",
|
||||
"azure_mgmt_dev_spaces": "0.17.3",
|
||||
"azure_mgmt_devtestlabs": "0.18.1",
|
||||
"azure_mgmt_dns": "0.17.5",
|
||||
"azure_mgmt_edgegateway": "0.18.1",
|
||||
"azure_mgmt_event_grid": "0.20.1",
|
||||
"azure_mgmt_event_grid": "0.20.2",
|
||||
"azure_mgmt_event_hub": "0.18.1",
|
||||
"azure_mgmt_features": "0.17.4",
|
||||
"azure_mgmt_hanaonazure": "0.18.1",
|
||||
"azure_mgmt_hdinsight": "0.17.8",
|
||||
"azure_mgmt_hdinsight": "0.18.0",
|
||||
"azure_mgmt_import_export": "0.17.1",
|
||||
"azure_mgmt_iot_central": "0.19.1",
|
||||
"azure_mgmt_iot_hub": "0.17.4",
|
||||
|
@ -121,7 +121,7 @@
|
|||
"azure_mgmt_resources_management": "0.17.2",
|
||||
"azure_mgmt_scheduler": "0.17.2",
|
||||
"azure_mgmt_search": "0.17.3",
|
||||
"azure_mgmt_security": "0.18.1",
|
||||
"azure_mgmt_security": "0.18.2",
|
||||
"azure_mgmt_serialconsole": "0.17.1",
|
||||
"azure_mgmt_service_bus": "0.17.4",
|
||||
"azure_mgmt_service_fabric": "0.17.3",
|
||||
|
|
|
@ -735,6 +735,30 @@
|
|||
],
|
||||
"namespace": "Azure::Cosmosdb::Mgmt::V2019_08_01_preview",
|
||||
"title": "CosmosDBManagementClient"
|
||||
},
|
||||
"azure_mgmt_cosmosdb_2019_12_12": {
|
||||
"input-file": [
|
||||
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/cosmos-db.json",
|
||||
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-12-12/notebook.json"
|
||||
],
|
||||
"namespace": "Azure::Cosmosdb::Mgmt::V2019_12_12",
|
||||
"title": "CosmosDBManagementClient"
|
||||
},
|
||||
"azure_mgmt_cosmosdb_2020_03_01": {
|
||||
"input-file": [
|
||||
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json",
|
||||
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/notebook.json"
|
||||
],
|
||||
"namespace": "Azure::Cosmosdb::Mgmt::V2020_03_01",
|
||||
"title": "CosmosDBManagementClient"
|
||||
},
|
||||
"azure_mgmt_cosmosdb_2020_04_01": {
|
||||
"input-file": [
|
||||
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json",
|
||||
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-04-01/notebook.json"
|
||||
],
|
||||
"namespace": "Azure::Cosmosdb::Mgmt::V2020_04_01",
|
||||
"title": "CosmosDBManagementClient"
|
||||
}
|
||||
},
|
||||
"azure_mgmt_customer_insights": {
|
||||
|
@ -821,12 +845,12 @@
|
|||
},
|
||||
"azure_mgmt_data_factory": {
|
||||
"azure_mgmt_data_factory_2017_09_01_preview": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/fc9168cb62f513ea9ff88632336f1dc7f5fb9385/specification/datafactory/resource-manager/readme.md",
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/datafactory/resource-manager/readme.md",
|
||||
"namespace": "Azure::DataFactory::Mgmt::V2017_09_01_preview",
|
||||
"tag": "package-2017-09-preview"
|
||||
},
|
||||
"azure_mgmt_data_factory_2018_06_01": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/28cb8bae84ee6508add21f463c88028ef8148bbe/specification/datafactory/resource-manager/readme.md",
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/datafactory/resource-manager/readme.md",
|
||||
"namespace": "Azure::DataFactory::Mgmt::V2018_06_01",
|
||||
"tag": "package-2018-06"
|
||||
}
|
||||
|
@ -892,6 +916,11 @@
|
|||
}
|
||||
},
|
||||
"azure_mgmt_event_grid": {
|
||||
"azure_mgmt_event_grid_2020_06_01": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/eventgrid/resource-manager/readme.md",
|
||||
"namespace": "Azure::EventGrid::Mgmt::V2020_06_01",
|
||||
"tag": "package-2020-06"
|
||||
},
|
||||
"azure_mgmt_event_grid_2020_04_01_preview": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/40e12023460046fc431382c86e0a99e85e30bfe6/specification/eventgrid/resource-manager/readme.md",
|
||||
"namespace": "Azure::EventGrid::Mgmt::V2020_04_01_preview",
|
||||
|
@ -981,12 +1010,12 @@
|
|||
},
|
||||
"azure_mgmt_hdinsight": {
|
||||
"azure_mgmt_hdinsight_2015_03_01_preview": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/aef7bda78247cfb37c0c46516824b65a04f1707c/specification/hdinsight/resource-manager/readme.md",
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/hdinsight/resource-manager/readme.md",
|
||||
"namespace": "Azure::Hdinsight::Mgmt::V2015_03_01_preview",
|
||||
"tag": "package-2015-03-preview"
|
||||
},
|
||||
"azure_mgmt_hdinsight_2018_06_01_preview": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/aef7bda78247cfb37c0c46516824b65a04f1707c/specification/hdinsight/resource-manager/readme.md",
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7dd04f70789e293d5931948fa313cf08530fe6c6/specification/hdinsight/resource-manager/readme.md",
|
||||
"namespace": "Azure::Hdinsight::Mgmt::V2018_06_01_preview",
|
||||
"tag": "package-2018-06-preview"
|
||||
}
|
||||
|
@ -2753,6 +2782,18 @@
|
|||
"namespace": "Azure::Security::Mgmt::V2019_08_01",
|
||||
"title": "SecurityManagementClient",
|
||||
"tag": "package-2019-08-only"
|
||||
},
|
||||
"azure_mgmt_security_2020_01_01": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/4f5762bcf9c0ba570d0d99f3cd461b02a037f10c/specification/security/resource-manager/readme.md",
|
||||
"namespace": "Azure::Security::Mgmt::V2020_01_01",
|
||||
"title": "SecurityManagementClient",
|
||||
"tag": "package-2020-01-only"
|
||||
},
|
||||
"azure_mgmt_security_2020_01_01_preview": {
|
||||
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/4f5762bcf9c0ba570d0d99f3cd461b02a037f10c/specification/security/resource-manager/readme.md",
|
||||
"namespace": "Azure::Security::Mgmt::V2020_01_01_preview",
|
||||
"title": "SecurityManagementClient",
|
||||
"tag": "package-2020-01-preview-only"
|
||||
}
|
||||
},
|
||||
"azure_mgmt_serialconsole": {
|
||||
|
|
|
@ -411,7 +411,7 @@
|
|||
},
|
||||
"Microsoft.EventGrid": {
|
||||
"management": {
|
||||
"2020-04-01-preview": ["*"]
|
||||
"2020-06-01": ["*"]
|
||||
},
|
||||
"data": {
|
||||
"2018-01-01": ["*"]
|
||||
|
@ -710,7 +710,8 @@
|
|||
"2018-06-01": ["*"],
|
||||
"2019-01-01-preview": ["*"],
|
||||
"2019-01-01": ["*"],
|
||||
"2019-08-01": ["*"]
|
||||
"2019-08-01": ["*"],
|
||||
"2020-01-01": ["*"]
|
||||
}
|
||||
},
|
||||
"Microsoft.Serialconsole": {
|
||||
|
@ -1575,7 +1576,7 @@
|
|||
"resourceTypes": {
|
||||
"Microsoft.EventGrid" : {
|
||||
"management": {
|
||||
"2020-04-01-preview": ["*"]
|
||||
"2020-06-01": ["*"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -2551,7 +2552,8 @@
|
|||
"2018-06-01": ["*"],
|
||||
"2019-01-01-preview": ["*"],
|
||||
"2019-01-01": ["*"],
|
||||
"2019-08-01": ["*"]
|
||||
"2019-08-01": ["*"],
|
||||
"2020-01-01": ["*"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -173,7 +173,7 @@ module Azure::Cosmosdb::Mgmt::V2015_04_08
|
|||
#
|
||||
def add_telemetry
|
||||
sdk_information = 'azure_mgmt_cosmosdb'
|
||||
sdk_information = "#{sdk_information}/0.21.1"
|
||||
sdk_information = "#{sdk_information}/0.21.2"
|
||||
add_user_agent_information(sdk_information)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -135,7 +135,7 @@ module Azure::Cosmosdb::Mgmt::V2019_08_01_preview
|
|||
#
|
||||
def add_telemetry
|
||||
sdk_information = 'azure_mgmt_cosmosdb'
|
||||
sdk_information = "#{sdk_information}/0.21.1"
|
||||
sdk_information = "#{sdk_information}/0.21.2"
|
||||
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.21.1"
|
||||
sdk_information = "#{sdk_information}/0.21.2"
|
||||
add_user_agent_information(sdk_information)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -0,0 +1,190 @@
|
|||
# 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.
|
||||
|
||||
require 'uri'
|
||||
require 'cgi'
|
||||
require 'date'
|
||||
require 'json'
|
||||
require 'base64'
|
||||
require 'erb'
|
||||
require 'securerandom'
|
||||
require 'time'
|
||||
require 'timeliness'
|
||||
require 'faraday'
|
||||
require 'faraday-cookie_jar'
|
||||
require 'concurrent'
|
||||
require 'ms_rest'
|
||||
require '2019-12-12/generated/azure_mgmt_cosmosdb/module_definition'
|
||||
require 'ms_rest_azure'
|
||||
|
||||
module Azure::Cosmosdb::Mgmt::V2019_12_12
|
||||
autoload :DatabaseAccounts, '2019-12-12/generated/azure_mgmt_cosmosdb/database_accounts.rb'
|
||||
autoload :Operations, '2019-12-12/generated/azure_mgmt_cosmosdb/operations.rb'
|
||||
autoload :Database, '2019-12-12/generated/azure_mgmt_cosmosdb/database.rb'
|
||||
autoload :Collection, '2019-12-12/generated/azure_mgmt_cosmosdb/collection.rb'
|
||||
autoload :CollectionRegion, '2019-12-12/generated/azure_mgmt_cosmosdb/collection_region.rb'
|
||||
autoload :DatabaseAccountRegion, '2019-12-12/generated/azure_mgmt_cosmosdb/database_account_region.rb'
|
||||
autoload :PercentileSourceTarget, '2019-12-12/generated/azure_mgmt_cosmosdb/percentile_source_target.rb'
|
||||
autoload :PercentileTarget, '2019-12-12/generated/azure_mgmt_cosmosdb/percentile_target.rb'
|
||||
autoload :Percentile, '2019-12-12/generated/azure_mgmt_cosmosdb/percentile.rb'
|
||||
autoload :CollectionPartitionRegion, '2019-12-12/generated/azure_mgmt_cosmosdb/collection_partition_region.rb'
|
||||
autoload :CollectionPartition, '2019-12-12/generated/azure_mgmt_cosmosdb/collection_partition.rb'
|
||||
autoload :PartitionKeyRangeId, '2019-12-12/generated/azure_mgmt_cosmosdb/partition_key_range_id.rb'
|
||||
autoload :PartitionKeyRangeIdRegion, '2019-12-12/generated/azure_mgmt_cosmosdb/partition_key_range_id_region.rb'
|
||||
autoload :SqlResources, '2019-12-12/generated/azure_mgmt_cosmosdb/sql_resources.rb'
|
||||
autoload :MongoDBResources, '2019-12-12/generated/azure_mgmt_cosmosdb/mongo_dbresources.rb'
|
||||
autoload :TableResources, '2019-12-12/generated/azure_mgmt_cosmosdb/table_resources.rb'
|
||||
autoload :CassandraResources, '2019-12-12/generated/azure_mgmt_cosmosdb/cassandra_resources.rb'
|
||||
autoload :GremlinResources, '2019-12-12/generated/azure_mgmt_cosmosdb/gremlin_resources.rb'
|
||||
autoload :NotebookWorkspaces, '2019-12-12/generated/azure_mgmt_cosmosdb/notebook_workspaces.rb'
|
||||
autoload :CosmosDBManagementClient, '2019-12-12/generated/azure_mgmt_cosmosdb/cosmos_dbmanagement_client.rb'
|
||||
|
||||
module Models
|
||||
autoload :ARMProxyResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/armproxy_resource.rb'
|
||||
autoload :ConsistencyPolicy, '2019-12-12/generated/azure_mgmt_cosmosdb/models/consistency_policy.rb'
|
||||
autoload :ExtendedResourceProperties, '2019-12-12/generated/azure_mgmt_cosmosdb/models/extended_resource_properties.rb'
|
||||
autoload :Location, '2019-12-12/generated/azure_mgmt_cosmosdb/models/location.rb'
|
||||
autoload :ThroughputPolicyResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_policy_resource.rb'
|
||||
autoload :VirtualNetworkRule, '2019-12-12/generated/azure_mgmt_cosmosdb/models/virtual_network_rule.rb'
|
||||
autoload :AutoUpgradePolicyResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb'
|
||||
autoload :DatabaseAccountsListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_accounts_list_result.rb'
|
||||
autoload :ProvisionedThroughputSettingsResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/provisioned_throughput_settings_resource.rb'
|
||||
autoload :MetricValue, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_value.rb'
|
||||
autoload :SqlDatabaseListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_list_result.rb'
|
||||
autoload :CassandraTableListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_list_result.rb'
|
||||
autoload :IncludedPath, '2019-12-12/generated/azure_mgmt_cosmosdb/models/included_path.rb'
|
||||
autoload :GremlinDatabaseGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_properties_resource.rb'
|
||||
autoload :CompositePath, '2019-12-12/generated/azure_mgmt_cosmosdb/models/composite_path.rb'
|
||||
autoload :MetricDefinitionsListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_definitions_list_result.rb'
|
||||
autoload :IndexingPolicy, '2019-12-12/generated/azure_mgmt_cosmosdb/models/indexing_policy.rb'
|
||||
autoload :GremlinDatabaseListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_list_result.rb'
|
||||
autoload :UniqueKey, '2019-12-12/generated/azure_mgmt_cosmosdb/models/unique_key.rb'
|
||||
autoload :GremlinGraphGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_properties_resource.rb'
|
||||
autoload :ConflictResolutionPolicy, '2019-12-12/generated/azure_mgmt_cosmosdb/models/conflict_resolution_policy.rb'
|
||||
autoload :MetricDefinition, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_definition.rb'
|
||||
autoload :GremlinGraphListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_list_result.rb'
|
||||
autoload :SqlStoredProcedureGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_properties_resource.rb'
|
||||
autoload :ErrorResponse, '2019-12-12/generated/azure_mgmt_cosmosdb/models/error_response.rb'
|
||||
autoload :SqlStoredProcedureListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_list_result.rb'
|
||||
autoload :FailoverPolicies, '2019-12-12/generated/azure_mgmt_cosmosdb/models/failover_policies.rb'
|
||||
autoload :NotebookWorkspaceListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace_list_result.rb'
|
||||
autoload :RegionForOnlineOffline, '2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb'
|
||||
autoload :SqlTriggerGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_properties_resource.rb'
|
||||
autoload :ARMResourceProperties, '2019-12-12/generated/azure_mgmt_cosmosdb/models/armresource_properties.rb'
|
||||
autoload :SqlTriggerListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_list_result.rb'
|
||||
autoload :Capability, '2019-12-12/generated/azure_mgmt_cosmosdb/models/capability.rb'
|
||||
autoload :PercentileMetricListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/percentile_metric_list_result.rb'
|
||||
autoload :FailoverPolicy, '2019-12-12/generated/azure_mgmt_cosmosdb/models/failover_policy.rb'
|
||||
autoload :MongoIndexKeys, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_index_keys.rb'
|
||||
autoload :MongoIndexOptions, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_index_options.rb'
|
||||
autoload :TableResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/table_resource.rb'
|
||||
autoload :MongoDBCollectionGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_properties_resource.rb'
|
||||
autoload :SqlDatabaseGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_get_properties_resource.rb'
|
||||
autoload :MongoDBCollectionListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_list_result.rb'
|
||||
autoload :MetricAvailability, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_availability.rb'
|
||||
autoload :MetricListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_list_result.rb'
|
||||
autoload :ThroughputSettingsGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_properties_resource.rb'
|
||||
autoload :CassandraKeyspaceGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_properties_resource.rb'
|
||||
autoload :PartitionUsagesResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_usages_result.rb'
|
||||
autoload :CassandraKeyspaceListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_list_result.rb'
|
||||
autoload :UsagesResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/usages_result.rb'
|
||||
autoload :CassandraPartitionKey, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_partition_key.rb'
|
||||
autoload :DatabaseAccountUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_update_parameters.rb'
|
||||
autoload :CassandraSchema, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_schema.rb'
|
||||
autoload :DatabaseAccountListReadOnlyKeysResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_read_only_keys_result.rb'
|
||||
autoload :Indexes, '2019-12-12/generated/azure_mgmt_cosmosdb/models/indexes.rb'
|
||||
autoload :Usage, '2019-12-12/generated/azure_mgmt_cosmosdb/models/usage.rb'
|
||||
autoload :SpatialSpec, '2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb'
|
||||
autoload :DatabaseAccountConnectionString, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_connection_string.rb'
|
||||
autoload :UniqueKeyPolicy, '2019-12-12/generated/azure_mgmt_cosmosdb/models/unique_key_policy.rb'
|
||||
autoload :DatabaseAccountListConnectionStringsResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_connection_strings_result.rb'
|
||||
autoload :SqlContainerListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_list_result.rb'
|
||||
autoload :DatabaseAccountRegenerateKeyParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_regenerate_key_parameters.rb'
|
||||
autoload :SqlUserDefinedFunctionGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_properties_resource.rb'
|
||||
autoload :ThroughputSettingsResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_resource.rb'
|
||||
autoload :PartitionMetricListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_metric_list_result.rb'
|
||||
autoload :MetricName, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric_name.rb'
|
||||
autoload :MongoDBDatabaseListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_list_result.rb'
|
||||
autoload :SqlDatabaseResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_resource.rb'
|
||||
autoload :PercentileMetric, '2019-12-12/generated/azure_mgmt_cosmosdb/models/percentile_metric.rb'
|
||||
autoload :CreateUpdateOptions, '2019-12-12/generated/azure_mgmt_cosmosdb/models/create_update_options.rb'
|
||||
autoload :TableListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/table_list_result.rb'
|
||||
autoload :OperationListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/operation_list_result.rb'
|
||||
autoload :Column, '2019-12-12/generated/azure_mgmt_cosmosdb/models/column.rb'
|
||||
autoload :SqlContainerResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_resource.rb'
|
||||
autoload :CassandraTableGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_properties_resource.rb'
|
||||
autoload :Operation, '2019-12-12/generated/azure_mgmt_cosmosdb/models/operation.rb'
|
||||
autoload :ContainerPartitionKey, '2019-12-12/generated/azure_mgmt_cosmosdb/models/container_partition_key.rb'
|
||||
autoload :SqlStoredProcedureResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_resource.rb'
|
||||
autoload :NotebookWorkspaceConnectionInfoResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace_connection_info_result.rb'
|
||||
autoload :OperationDisplay, '2019-12-12/generated/azure_mgmt_cosmosdb/models/operation_display.rb'
|
||||
autoload :MongoDBDatabaseGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_properties_resource.rb'
|
||||
autoload :SqlUserDefinedFunctionResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_resource.rb'
|
||||
autoload :TableGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/table_get_properties_resource.rb'
|
||||
autoload :GremlinGraphResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_resource.rb'
|
||||
autoload :ClusterKey, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cluster_key.rb'
|
||||
autoload :SqlTriggerResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_resource.rb'
|
||||
autoload :SqlContainerGetPropertiesResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_get_properties_resource.rb'
|
||||
autoload :GremlinDatabaseResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_resource.rb'
|
||||
autoload :MongoIndex, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_index.rb'
|
||||
autoload :MongoDBDatabaseResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_resource.rb'
|
||||
autoload :ExcludedPath, '2019-12-12/generated/azure_mgmt_cosmosdb/models/excluded_path.rb'
|
||||
autoload :CassandraTableResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_resource.rb'
|
||||
autoload :Metric, '2019-12-12/generated/azure_mgmt_cosmosdb/models/metric.rb'
|
||||
autoload :MongoDBCollectionResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_resource.rb'
|
||||
autoload :SqlUserDefinedFunctionListResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_list_result.rb'
|
||||
autoload :CassandraKeyspaceResource, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_resource.rb'
|
||||
autoload :DatabaseAccountGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_get_results.rb'
|
||||
autoload :SqlDatabaseGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_get_results.rb'
|
||||
autoload :SqlContainerGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_get_results.rb'
|
||||
autoload :SqlStoredProcedureGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_get_results.rb'
|
||||
autoload :SqlUserDefinedFunctionGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_get_results.rb'
|
||||
autoload :SqlTriggerGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_get_results.rb'
|
||||
autoload :MongoDBDatabaseGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_get_results.rb'
|
||||
autoload :MongoDBCollectionGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_get_results.rb'
|
||||
autoload :TableGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/table_get_results.rb'
|
||||
autoload :CassandraKeyspaceGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_get_results.rb'
|
||||
autoload :CassandraTableGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_get_results.rb'
|
||||
autoload :GremlinDatabaseGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_get_results.rb'
|
||||
autoload :GremlinGraphGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_get_results.rb'
|
||||
autoload :ThroughputSettingsGetResults, '2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_get_results.rb'
|
||||
autoload :DatabaseAccountCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_create_update_parameters.rb'
|
||||
autoload :DatabaseAccountListKeysResult, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_list_keys_result.rb'
|
||||
autoload :ThroughputSettingsUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/throughput_settings_update_parameters.rb'
|
||||
autoload :SqlDatabaseCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_database_create_update_parameters.rb'
|
||||
autoload :SqlContainerCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_container_create_update_parameters.rb'
|
||||
autoload :SqlStoredProcedureCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_stored_procedure_create_update_parameters.rb'
|
||||
autoload :SqlUserDefinedFunctionCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_user_defined_function_create_update_parameters.rb'
|
||||
autoload :SqlTriggerCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/sql_trigger_create_update_parameters.rb'
|
||||
autoload :MongoDBDatabaseCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbdatabase_create_update_parameters.rb'
|
||||
autoload :MongoDBCollectionCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/mongo_dbcollection_create_update_parameters.rb'
|
||||
autoload :TableCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/table_create_update_parameters.rb'
|
||||
autoload :CassandraKeyspaceCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_keyspace_create_update_parameters.rb'
|
||||
autoload :CassandraTableCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/cassandra_table_create_update_parameters.rb'
|
||||
autoload :GremlinDatabaseCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_database_create_update_parameters.rb'
|
||||
autoload :GremlinGraphCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/gremlin_graph_create_update_parameters.rb'
|
||||
autoload :PartitionUsage, '2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_usage.rb'
|
||||
autoload :PercentileMetricValue, '2019-12-12/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb'
|
||||
autoload :PartitionMetric, '2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_metric.rb'
|
||||
autoload :NotebookWorkspaceCreateUpdateParameters, '2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace_create_update_parameters.rb'
|
||||
autoload :NotebookWorkspace, '2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb'
|
||||
autoload :DatabaseAccountKind, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_kind.rb'
|
||||
autoload :DatabaseAccountOfferType, '2019-12-12/generated/azure_mgmt_cosmosdb/models/database_account_offer_type.rb'
|
||||
autoload :DefaultConsistencyLevel, '2019-12-12/generated/azure_mgmt_cosmosdb/models/default_consistency_level.rb'
|
||||
autoload :ConnectorOffer, '2019-12-12/generated/azure_mgmt_cosmosdb/models/connector_offer.rb'
|
||||
autoload :IndexingMode, '2019-12-12/generated/azure_mgmt_cosmosdb/models/indexing_mode.rb'
|
||||
autoload :DataType, '2019-12-12/generated/azure_mgmt_cosmosdb/models/data_type.rb'
|
||||
autoload :IndexKind, '2019-12-12/generated/azure_mgmt_cosmosdb/models/index_kind.rb'
|
||||
autoload :CompositePathSortOrder, '2019-12-12/generated/azure_mgmt_cosmosdb/models/composite_path_sort_order.rb'
|
||||
autoload :SpatialType, '2019-12-12/generated/azure_mgmt_cosmosdb/models/spatial_type.rb'
|
||||
autoload :PartitionKind, '2019-12-12/generated/azure_mgmt_cosmosdb/models/partition_kind.rb'
|
||||
autoload :ConflictResolutionMode, '2019-12-12/generated/azure_mgmt_cosmosdb/models/conflict_resolution_mode.rb'
|
||||
autoload :TriggerType, '2019-12-12/generated/azure_mgmt_cosmosdb/models/trigger_type.rb'
|
||||
autoload :TriggerOperation, '2019-12-12/generated/azure_mgmt_cosmosdb/models/trigger_operation.rb'
|
||||
autoload :KeyKind, '2019-12-12/generated/azure_mgmt_cosmosdb/models/key_kind.rb'
|
||||
autoload :UnitType, '2019-12-12/generated/azure_mgmt_cosmosdb/models/unit_type.rb'
|
||||
autoload :PrimaryAggregationType, '2019-12-12/generated/azure_mgmt_cosmosdb/models/primary_aggregation_type.rb'
|
||||
end
|
||||
end
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,374 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# Azure Cosmos DB Database Service Resource Provider REST API
|
||||
#
|
||||
class Collection
|
||||
include MsRestAzure
|
||||
|
||||
#
|
||||
# Creates and initializes a new instance of the Collection class.
|
||||
# @param client service class for accessing basic functionality.
|
||||
#
|
||||
def initialize(client)
|
||||
@client = client
|
||||
end
|
||||
|
||||
# @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
|
||||
attr_reader :client
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [MetricListResult] operation results.
|
||||
#
|
||||
def list_metrics(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
response = list_metrics_async(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_with_http_info(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
list_metrics_async(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_async(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.nil?
|
||||
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
||||
fail ArgumentError, 'filter is nil' if filter.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metrics'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::MetricListResult.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
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent storage data) for the given collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [UsagesResult] operation results.
|
||||
#
|
||||
def list_usages(resource_group_name, account_name, database_rid, collection_rid, filter:nil, custom_headers:nil)
|
||||
response = list_usages_async(resource_group_name, account_name, database_rid, collection_rid, filter:filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent storage data) for the given collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @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 list_usages_with_http_info(resource_group_name, account_name, database_rid, collection_rid, filter:nil, custom_headers:nil)
|
||||
list_usages_async(resource_group_name, account_name, database_rid, collection_rid, filter:filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent storage data) for the given collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @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 list_usages_async(resource_group_name, account_name, database_rid, collection_rid, filter:nil, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/usages'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::UsagesResult.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
|
||||
|
||||
#
|
||||
# Retrieves metric definitions for the given collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [MetricDefinitionsListResult] operation results.
|
||||
#
|
||||
def list_metric_definitions(resource_group_name, account_name, database_rid, collection_rid, custom_headers:nil)
|
||||
response = list_metric_definitions_async(resource_group_name, account_name, database_rid, collection_rid, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves metric definitions for the given collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @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 list_metric_definitions_with_http_info(resource_group_name, account_name, database_rid, collection_rid, custom_headers:nil)
|
||||
list_metric_definitions_async(resource_group_name, account_name, database_rid, collection_rid, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves metric definitions for the given collection.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @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 list_metric_definitions_async(resource_group_name, account_name, database_rid, collection_rid, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/metricDefinitions'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::MetricDefinitionsListResult.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
|
||||
|
||||
end
|
||||
end
|
|
@ -0,0 +1,269 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# Azure Cosmos DB Database Service Resource Provider REST API
|
||||
#
|
||||
class CollectionPartition
|
||||
include MsRestAzure
|
||||
|
||||
#
|
||||
# Creates and initializes a new instance of the CollectionPartition class.
|
||||
# @param client service class for accessing basic functionality.
|
||||
#
|
||||
def initialize(client)
|
||||
@client = client
|
||||
end
|
||||
|
||||
# @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
|
||||
attr_reader :client
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given
|
||||
# collection, split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [PartitionMetricListResult] operation results.
|
||||
#
|
||||
def list_metrics(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
response = list_metrics_async(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given
|
||||
# collection, split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_with_http_info(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
list_metrics_async(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given
|
||||
# collection, split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_async(resource_group_name, account_name, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.nil?
|
||||
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
||||
fail ArgumentError, 'filter is nil' if filter.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::PartitionMetricListResult.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
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent storage data) for the given collection,
|
||||
# split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [PartitionUsagesResult] operation results.
|
||||
#
|
||||
def list_usages(resource_group_name, account_name, database_rid, collection_rid, filter:nil, custom_headers:nil)
|
||||
response = list_usages_async(resource_group_name, account_name, database_rid, collection_rid, filter:filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent storage data) for the given collection,
|
||||
# split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @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 list_usages_with_http_info(resource_group_name, account_name, database_rid, collection_rid, filter:nil, custom_headers:nil)
|
||||
list_usages_async(resource_group_name, account_name, database_rid, collection_rid, filter:filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent storage data) for the given collection,
|
||||
# split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @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 list_usages_async(resource_group_name, account_name, database_rid, collection_rid, filter:nil, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/collections/{collectionRid}/partitions/usages'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::PartitionUsagesResult.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
|
||||
|
||||
end
|
||||
end
|
|
@ -0,0 +1,156 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# Azure Cosmos DB Database Service Resource Provider REST API
|
||||
#
|
||||
class CollectionPartitionRegion
|
||||
include MsRestAzure
|
||||
|
||||
#
|
||||
# Creates and initializes a new instance of the CollectionPartitionRegion class.
|
||||
# @param client service class for accessing basic functionality.
|
||||
#
|
||||
def initialize(client)
|
||||
@client = client
|
||||
end
|
||||
|
||||
# @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
|
||||
attr_reader :client
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given collection
|
||||
# and region, split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [PartitionMetricListResult] operation results.
|
||||
#
|
||||
def list_metrics(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
response = list_metrics_async(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given collection
|
||||
# and region, split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_with_http_info(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
list_metrics_async(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given collection
|
||||
# and region, split by partition.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_async(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'region is nil' if region.nil?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.nil?
|
||||
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
||||
fail ArgumentError, 'filter is nil' if filter.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/partitions/metrics'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'region' => region,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::PartitionMetricListResult.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
|
||||
|
||||
end
|
||||
end
|
|
@ -0,0 +1,156 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# Azure Cosmos DB Database Service Resource Provider REST API
|
||||
#
|
||||
class CollectionRegion
|
||||
include MsRestAzure
|
||||
|
||||
#
|
||||
# Creates and initializes a new instance of the CollectionRegion class.
|
||||
# @param client service class for accessing basic functionality.
|
||||
#
|
||||
def initialize(client)
|
||||
@client = client
|
||||
end
|
||||
|
||||
# @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
|
||||
attr_reader :client
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account, collection and region.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [MetricListResult] operation results.
|
||||
#
|
||||
def list_metrics(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
response = list_metrics_async(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account, collection and region.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_with_http_info(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
list_metrics_async(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account, collection and region.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param collection_rid [String] Cosmos DB collection rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_async(resource_group_name, account_name, region, database_rid, collection_rid, filter, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'region is nil' if region.nil?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, 'collection_rid is nil' if collection_rid.nil?
|
||||
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
||||
fail ArgumentError, 'filter is nil' if filter.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/databases/{databaseRid}/collections/{collectionRid}/metrics'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'region' => region,'databaseRid' => database_rid,'collectionRid' => collection_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::MetricListResult.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
|
||||
|
||||
end
|
||||
end
|
|
@ -0,0 +1,210 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# A service client - single point of access to the REST API.
|
||||
#
|
||||
class CosmosDBManagementClient < MsRestAzure::AzureServiceClient
|
||||
include MsRestAzure
|
||||
include MsRestAzure::Serialization
|
||||
|
||||
# @return [String] the base URI of the service.
|
||||
attr_accessor :base_url
|
||||
|
||||
# @return Credentials needed for the client to connect to Azure.
|
||||
attr_reader :credentials
|
||||
|
||||
# @return [String] Azure subscription ID.
|
||||
attr_accessor :subscription_id
|
||||
|
||||
# @return [String] Version of the API to be used with the client request.
|
||||
# The current version is 2019-08-01.
|
||||
attr_reader :api_version
|
||||
|
||||
# @return [String] The API version to use for this operation.
|
||||
attr_accessor :api_version1
|
||||
|
||||
# @return [String] The ID of the target subscription.
|
||||
attr_accessor :subscription_id1
|
||||
|
||||
# @return [String] The preferred language for the response.
|
||||
attr_accessor :accept_language
|
||||
|
||||
# @return [Integer] The retry timeout in seconds for Long Running
|
||||
# Operations. Default value is 30.
|
||||
attr_accessor :long_running_operation_retry_timeout
|
||||
|
||||
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
||||
# generated. When set to true a unique x-ms-client-request-id value is
|
||||
# generated and included in each request. Default is true.
|
||||
attr_accessor :generate_client_request_id
|
||||
|
||||
# @return [DatabaseAccounts] database_accounts
|
||||
attr_reader :database_accounts
|
||||
|
||||
# @return [Operations] operations
|
||||
attr_reader :operations
|
||||
|
||||
# @return [Database] database
|
||||
attr_reader :database
|
||||
|
||||
# @return [Collection] collection
|
||||
attr_reader :collection
|
||||
|
||||
# @return [CollectionRegion] collection_region
|
||||
attr_reader :collection_region
|
||||
|
||||
# @return [DatabaseAccountRegion] database_account_region
|
||||
attr_reader :database_account_region
|
||||
|
||||
# @return [PercentileSourceTarget] percentile_source_target
|
||||
attr_reader :percentile_source_target
|
||||
|
||||
# @return [PercentileTarget] percentile_target
|
||||
attr_reader :percentile_target
|
||||
|
||||
# @return [Percentile] percentile
|
||||
attr_reader :percentile
|
||||
|
||||
# @return [CollectionPartitionRegion] collection_partition_region
|
||||
attr_reader :collection_partition_region
|
||||
|
||||
# @return [CollectionPartition] collection_partition
|
||||
attr_reader :collection_partition
|
||||
|
||||
# @return [PartitionKeyRangeId] partition_key_range_id
|
||||
attr_reader :partition_key_range_id
|
||||
|
||||
# @return [PartitionKeyRangeIdRegion] partition_key_range_id_region
|
||||
attr_reader :partition_key_range_id_region
|
||||
|
||||
# @return [SqlResources] sql_resources
|
||||
attr_reader :sql_resources
|
||||
|
||||
# @return [MongoDBResources] mongo_dbresources
|
||||
attr_reader :mongo_dbresources
|
||||
|
||||
# @return [TableResources] table_resources
|
||||
attr_reader :table_resources
|
||||
|
||||
# @return [CassandraResources] cassandra_resources
|
||||
attr_reader :cassandra_resources
|
||||
|
||||
# @return [GremlinResources] gremlin_resources
|
||||
attr_reader :gremlin_resources
|
||||
|
||||
# @return [NotebookWorkspaces] notebook_workspaces
|
||||
attr_reader :notebook_workspaces
|
||||
|
||||
#
|
||||
# Creates initializes a new instance of the CosmosDBManagementClient class.
|
||||
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
||||
# @param base_url [String] the base URI of the service.
|
||||
# @param options [Array] filters to be applied to the HTTP requests.
|
||||
#
|
||||
def initialize(credentials = nil, base_url = nil, options = nil)
|
||||
super(credentials, options)
|
||||
@base_url = base_url || 'https://management.azure.com'
|
||||
|
||||
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
||||
@credentials = credentials
|
||||
|
||||
@database_accounts = DatabaseAccounts.new(self)
|
||||
@operations = Operations.new(self)
|
||||
@database = Database.new(self)
|
||||
@collection = Collection.new(self)
|
||||
@collection_region = CollectionRegion.new(self)
|
||||
@database_account_region = DatabaseAccountRegion.new(self)
|
||||
@percentile_source_target = PercentileSourceTarget.new(self)
|
||||
@percentile_target = PercentileTarget.new(self)
|
||||
@percentile = Percentile.new(self)
|
||||
@collection_partition_region = CollectionPartitionRegion.new(self)
|
||||
@collection_partition = CollectionPartition.new(self)
|
||||
@partition_key_range_id = PartitionKeyRangeId.new(self)
|
||||
@partition_key_range_id_region = PartitionKeyRangeIdRegion.new(self)
|
||||
@sql_resources = SqlResources.new(self)
|
||||
@mongo_dbresources = MongoDBResources.new(self)
|
||||
@table_resources = TableResources.new(self)
|
||||
@cassandra_resources = CassandraResources.new(self)
|
||||
@gremlin_resources = GremlinResources.new(self)
|
||||
@notebook_workspaces = NotebookWorkspaces.new(self)
|
||||
@api_version = '2019-12-12'
|
||||
@accept_language = 'en-US'
|
||||
@long_running_operation_retry_timeout = 30
|
||||
@generate_client_request_id = true
|
||||
add_telemetry
|
||||
end
|
||||
|
||||
#
|
||||
# Makes a request and returns the body of the response.
|
||||
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
||||
# @param path [String] the path, relative to {base_url}.
|
||||
# @param options [Hash{String=>String}] specifying any request options like :body.
|
||||
# @return [Hash{String=>String}] containing the body of the response.
|
||||
# Example:
|
||||
#
|
||||
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
||||
# path = "/path"
|
||||
# options = {
|
||||
# body: request_content,
|
||||
# query_params: {'api-version' => '2016-02-01'}
|
||||
# }
|
||||
# result = @client.make_request(:put, path, options)
|
||||
#
|
||||
def make_request(method, path, options = {})
|
||||
result = make_request_with_http_info(method, path, options)
|
||||
result.body unless result.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Makes a request and returns the operation response.
|
||||
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
||||
# @param path [String] the path, relative to {base_url}.
|
||||
# @param options [Hash{String=>String}] specifying any request options like :body.
|
||||
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
||||
#
|
||||
def make_request_with_http_info(method, path, options = {})
|
||||
result = make_request_async(method, path, options).value!
|
||||
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
||||
result
|
||||
end
|
||||
|
||||
#
|
||||
# Makes a request asynchronously.
|
||||
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
||||
# @param path [String] the path, relative to {base_url}.
|
||||
# @param options [Hash{String=>String}] specifying any request options like :body.
|
||||
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
||||
#
|
||||
def make_request_async(method, path, options = {})
|
||||
fail ArgumentError, 'method is nil' if method.nil?
|
||||
fail ArgumentError, 'path is nil' if path.nil?
|
||||
|
||||
request_url = options[:base_url] || @base_url
|
||||
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
||||
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
||||
end
|
||||
|
||||
request_headers = @request_headers
|
||||
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
||||
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
||||
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
||||
|
||||
super(request_url, method, path, options)
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
#
|
||||
# Adds telemetry information.
|
||||
#
|
||||
def add_telemetry
|
||||
sdk_information = 'azure_mgmt_cosmosdb'
|
||||
sdk_information = "#{sdk_information}/0.21.2"
|
||||
add_user_agent_information(sdk_information)
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,362 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# Azure Cosmos DB Database Service Resource Provider REST API
|
||||
#
|
||||
class Database
|
||||
include MsRestAzure
|
||||
|
||||
#
|
||||
# Creates and initializes a new instance of the Database class.
|
||||
# @param client service class for accessing basic functionality.
|
||||
#
|
||||
def initialize(client)
|
||||
@client = client
|
||||
end
|
||||
|
||||
# @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
|
||||
attr_reader :client
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [MetricListResult] operation results.
|
||||
#
|
||||
def list_metrics(resource_group_name, account_name, database_rid, filter, custom_headers:nil)
|
||||
response = list_metrics_async(resource_group_name, account_name, database_rid, filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_with_http_info(resource_group_name, account_name, database_rid, filter, custom_headers:nil)
|
||||
list_metrics_async(resource_group_name, account_name, database_rid, filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_async(resource_group_name, account_name, database_rid, filter, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.nil?
|
||||
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
||||
fail ArgumentError, 'filter is nil' if filter.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metrics'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::MetricListResult.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
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent data) for the given database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [UsagesResult] operation results.
|
||||
#
|
||||
def list_usages(resource_group_name, account_name, database_rid, filter:nil, custom_headers:nil)
|
||||
response = list_usages_async(resource_group_name, account_name, database_rid, filter:filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent data) for the given database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @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 list_usages_with_http_info(resource_group_name, account_name, database_rid, filter:nil, custom_headers:nil)
|
||||
list_usages_async(resource_group_name, account_name, database_rid, filter:filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the usages (most recent data) for the given database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# usages to return. The supported parameter is name.value (name of the metric,
|
||||
# can have an or of multiple names).
|
||||
# @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 list_usages_async(resource_group_name, account_name, database_rid, filter:nil, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/usages'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::UsagesResult.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
|
||||
|
||||
#
|
||||
# Retrieves metric definitions for the given database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [MetricDefinitionsListResult] operation results.
|
||||
#
|
||||
def list_metric_definitions(resource_group_name, account_name, database_rid, custom_headers:nil)
|
||||
response = list_metric_definitions_async(resource_group_name, account_name, database_rid, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves metric definitions for the given database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @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 list_metric_definitions_with_http_info(resource_group_name, account_name, database_rid, custom_headers:nil)
|
||||
list_metric_definitions_async(resource_group_name, account_name, database_rid, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves metric definitions for the given database.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param database_rid [String] Cosmos DB database rid.
|
||||
# @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 list_metric_definitions_async(resource_group_name, account_name, database_rid, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'database_rid is nil' if database_rid.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/databases/{databaseRid}/metricDefinitions'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'databaseRid' => database_rid},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::MetricDefinitionsListResult.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
|
||||
|
||||
end
|
||||
end
|
|
@ -0,0 +1,148 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
#
|
||||
# Azure Cosmos DB Database Service Resource Provider REST API
|
||||
#
|
||||
class DatabaseAccountRegion
|
||||
include MsRestAzure
|
||||
|
||||
#
|
||||
# Creates and initializes a new instance of the DatabaseAccountRegion class.
|
||||
# @param client service class for accessing basic functionality.
|
||||
#
|
||||
def initialize(client)
|
||||
@client = client
|
||||
end
|
||||
|
||||
# @return [CosmosDBManagementClient] reference to the CosmosDBManagementClient
|
||||
attr_reader :client
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and region.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
||||
# will be added to the HTTP request.
|
||||
#
|
||||
# @return [MetricListResult] operation results.
|
||||
#
|
||||
def list_metrics(resource_group_name, account_name, region, filter, custom_headers:nil)
|
||||
response = list_metrics_async(resource_group_name, account_name, region, filter, custom_headers:custom_headers).value!
|
||||
response.body unless response.nil?
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and region.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_with_http_info(resource_group_name, account_name, region, filter, custom_headers:nil)
|
||||
list_metrics_async(resource_group_name, account_name, region, filter, custom_headers:custom_headers).value!
|
||||
end
|
||||
|
||||
#
|
||||
# Retrieves the metrics determined by the given filter for the given database
|
||||
# account and region.
|
||||
#
|
||||
# @param resource_group_name [String] Name of an Azure resource group.
|
||||
# @param account_name [String] Cosmos DB database account name.
|
||||
# @param region [String] Cosmos DB region, with spaces between words and each
|
||||
# word capitalized.
|
||||
# @param filter [String] An OData filter expression that describes a subset of
|
||||
# metrics to return. The parameters that can be filtered are name.value (name
|
||||
# of the metric, can have an or of multiple names), startTime, endTime, and
|
||||
# timeGrain. The supported operator is eq.
|
||||
# @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 list_metrics_async(resource_group_name, account_name, region, filter, custom_headers:nil)
|
||||
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
||||
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
||||
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
||||
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '50'" if !account_name.nil? && account_name.length > 50
|
||||
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '3'" if !account_name.nil? && account_name.length < 3
|
||||
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?
|
||||
fail ArgumentError, 'region is nil' if region.nil?
|
||||
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
||||
fail ArgumentError, 'filter is nil' if filter.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 = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/region/{region}/metrics'
|
||||
|
||||
request_url = @base_url || @client.base_url
|
||||
|
||||
options = {
|
||||
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
||||
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'region' => region},
|
||||
query_params: {'api-version' => @client.api_version,'$filter' => filter},
|
||||
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 MsRestAzure::AzureOperationError.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::Cosmosdb::Mgmt::V2019_12_12::Models::MetricListResult.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
|
||||
|
||||
end
|
||||
end
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,73 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The resource model definition for a ARM proxy resource. It will have
|
||||
# everything other than required location and tags
|
||||
#
|
||||
class ARMProxyResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The unique resource identifier of the database
|
||||
# account.
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] The name of the database account.
|
||||
attr_accessor :name
|
||||
|
||||
# @return [String] The type of Azure resource.
|
||||
attr_accessor :type
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ARMProxyResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ARMProxyResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ARMProxyResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,102 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The core properties of ARM resources.
|
||||
#
|
||||
class ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The unique resource identifier of the ARM resource.
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] The name of the ARM resource.
|
||||
attr_accessor :name
|
||||
|
||||
# @return [String] The type of Azure resource.
|
||||
attr_accessor :type
|
||||
|
||||
# @return [String] The location of the resource group to which the
|
||||
# resource belongs.
|
||||
attr_accessor :location
|
||||
|
||||
# @return [Hash{String => String}]
|
||||
attr_accessor :tags
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ARMResourceProperties class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ARMResourceProperties',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ARMResourceProperties',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,48 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB resource auto-upgrade policy
|
||||
#
|
||||
class AutoUpgradePolicyResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [ThroughputPolicyResource] Represents throughput policy which
|
||||
# service must adhere to for auto-upgrade
|
||||
attr_accessor :throughput_policy
|
||||
|
||||
|
||||
#
|
||||
# Mapper for AutoUpgradePolicyResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'AutoUpgradePolicyResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'AutoUpgradePolicyResource',
|
||||
model_properties: {
|
||||
throughput_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'throughputPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ThroughputPolicyResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,48 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB capability object
|
||||
#
|
||||
class Capability
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB capability. For example, "name":
|
||||
# "EnableCassandra". Current values also include "EnableTable" and
|
||||
# "EnableGremlin".
|
||||
attr_accessor :name
|
||||
|
||||
|
||||
#
|
||||
# Mapper for Capability class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'Capability',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Capability',
|
||||
model_properties: {
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,112 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB Cassandra keyspace.
|
||||
#
|
||||
class CassandraKeyspaceCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [CassandraKeyspaceResource] The standard JSON format of a
|
||||
# Cassandra keyspace
|
||||
attr_accessor :resource
|
||||
|
||||
# @return [CreateUpdateOptions] A key-value pair of options to be applied
|
||||
# for the request. This corresponds to the headers sent with the request.
|
||||
attr_accessor :options
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraKeyspaceCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraKeyspaceCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceResource'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.options',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,85 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class CassandraKeyspaceGetPropertiesResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra keyspace
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraKeyspaceGetPropertiesResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraKeyspaceGetProperties_resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceGetPropertiesResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,98 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB Cassandra keyspace.
|
||||
#
|
||||
class CassandraKeyspaceGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [CassandraKeyspaceGetPropertiesResource]
|
||||
attr_accessor :resource
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraKeyspaceGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraKeyspaceGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceGetPropertiesResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the Cassandra keyspaces and
|
||||
# their properties.
|
||||
#
|
||||
class CassandraKeyspaceListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<CassandraKeyspaceGetResults>] List of Cassandra
|
||||
# keyspaces and their properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraKeyspaceListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraKeyspaceListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraKeyspaceGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,46 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Cassandra keyspace resource object
|
||||
#
|
||||
class CassandraKeyspaceResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra keyspace
|
||||
attr_accessor :id
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraKeyspaceResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraKeyspaceResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraKeyspaceResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,46 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Cassandra table partition key
|
||||
#
|
||||
class CassandraPartitionKey
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra table partition key
|
||||
attr_accessor :name
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraPartitionKey class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraPartitionKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraPartitionKey',
|
||||
model_properties: {
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,95 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Cassandra table schema
|
||||
#
|
||||
class CassandraSchema
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<Column>] List of Cassandra table columns.
|
||||
attr_accessor :columns
|
||||
|
||||
# @return [Array<CassandraPartitionKey>] List of partition key.
|
||||
attr_accessor :partition_keys
|
||||
|
||||
# @return [Array<ClusterKey>] List of cluster key.
|
||||
attr_accessor :cluster_keys
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraSchema class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraSchema',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraSchema',
|
||||
model_properties: {
|
||||
columns: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'columns',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ColumnElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Column'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
partition_keys: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'partitionKeys',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraPartitionKeyElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraPartitionKey'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
cluster_keys: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'clusterKeys',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ClusterKeyElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ClusterKey'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,112 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB Cassandra table.
|
||||
#
|
||||
class CassandraTableCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [CassandraTableResource] The standard JSON format of a
|
||||
# Cassandra table
|
||||
attr_accessor :resource
|
||||
|
||||
# @return [CreateUpdateOptions] A key-value pair of options to be applied
|
||||
# for the request. This corresponds to the headers sent with the request.
|
||||
attr_accessor :options
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraTableCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraTableCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableResource'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.options',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class CassandraTableGetPropertiesResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra table
|
||||
attr_accessor :id
|
||||
|
||||
# @return [Integer] Time to live of the Cosmos DB Cassandra table
|
||||
attr_accessor :default_ttl
|
||||
|
||||
# @return [CassandraSchema] Schema of the Cosmos DB Cassandra table
|
||||
attr_accessor :schema
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraTableGetPropertiesResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraTableGetProperties_resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableGetPropertiesResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
default_ttl: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'defaultTtl',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
schema: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'schema',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraSchema'
|
||||
}
|
||||
},
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,98 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB Cassandra table.
|
||||
#
|
||||
class CassandraTableGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [CassandraTableGetPropertiesResource]
|
||||
attr_accessor :resource
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraTableGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraTableGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableGetPropertiesResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the Cassandra tables and their
|
||||
# properties.
|
||||
#
|
||||
class CassandraTableListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<CassandraTableGetResults>] List of Cassandra tables and
|
||||
# their properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraTableListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraTableListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraTableGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,69 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Cassandra table resource object
|
||||
#
|
||||
class CassandraTableResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra table
|
||||
attr_accessor :id
|
||||
|
||||
# @return [Integer] Time to live of the Cosmos DB Cassandra table
|
||||
attr_accessor :default_ttl
|
||||
|
||||
# @return [CassandraSchema] Schema of the Cosmos DB Cassandra table
|
||||
attr_accessor :schema
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CassandraTableResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CassandraTableResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraTableResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
default_ttl: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'defaultTtl',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
schema: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'schema',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CassandraSchema'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Cassandra table cluster key
|
||||
#
|
||||
class ClusterKey
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra table cluster key
|
||||
attr_accessor :name
|
||||
|
||||
# @return [String] Order of the Cosmos DB Cassandra table cluster key,
|
||||
# only support "Asc" and "Desc"
|
||||
attr_accessor :order_by
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ClusterKey class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ClusterKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ClusterKey',
|
||||
model_properties: {
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
order_by: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'orderBy',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,57 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Cassandra table column
|
||||
#
|
||||
class Column
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Cassandra table column
|
||||
attr_accessor :name
|
||||
|
||||
# @return [String] Type of the Cosmos DB Cassandra table column
|
||||
attr_accessor :type
|
||||
|
||||
|
||||
#
|
||||
# Mapper for Column class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'Column',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Column',
|
||||
model_properties: {
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,60 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class CompositePath
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The path for which the indexing behavior applies to.
|
||||
# Index paths typically start with root and end with wildcard (/path/*)
|
||||
attr_accessor :path
|
||||
|
||||
# @return [CompositePathSortOrder] Sort order for composite paths.
|
||||
# Possible values include: 'Ascending', 'Descending'
|
||||
attr_accessor :order
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CompositePath class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CompositePath',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CompositePath',
|
||||
model_properties: {
|
||||
path: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'path',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
order: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'order',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,16 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for CompositePathSortOrder
|
||||
#
|
||||
module CompositePathSortOrder
|
||||
Ascending = "Ascending"
|
||||
Descending = "Descending"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,16 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for ConflictResolutionMode
|
||||
#
|
||||
module ConflictResolutionMode
|
||||
LastWriterWins = "LastWriterWins"
|
||||
Custom = "Custom"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,73 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The conflict resolution policy for the container.
|
||||
#
|
||||
class ConflictResolutionPolicy
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [ConflictResolutionMode] Indicates the conflict resolution
|
||||
# mode. Possible values include: 'LastWriterWins', 'Custom'. Default
|
||||
# value: 'LastWriterWins' .
|
||||
attr_accessor :mode
|
||||
|
||||
# @return [String] The conflict resolution path in the case of
|
||||
# LastWriterWins mode.
|
||||
attr_accessor :conflict_resolution_path
|
||||
|
||||
# @return [String] The procedure to resolve conflicts in the case of
|
||||
# custom mode.
|
||||
attr_accessor :conflict_resolution_procedure
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ConflictResolutionPolicy class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ConflictResolutionPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConflictResolutionPolicy',
|
||||
model_properties: {
|
||||
mode: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'mode',
|
||||
default_value: 'LastWriterWins',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
conflict_resolution_path: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'conflictResolutionPath',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
conflict_resolution_procedure: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'conflictResolutionProcedure',
|
||||
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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for ConnectorOffer
|
||||
#
|
||||
module ConnectorOffer
|
||||
Small = "Small"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,86 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The consistency policy for the Cosmos DB database account.
|
||||
#
|
||||
class ConsistencyPolicy
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [DefaultConsistencyLevel] The default consistency level and
|
||||
# configuration settings of the Cosmos DB account. Possible values
|
||||
# include: 'Eventual', 'Session', 'BoundedStaleness', 'Strong',
|
||||
# 'ConsistentPrefix'
|
||||
attr_accessor :default_consistency_level
|
||||
|
||||
# @return [Integer] When used with the Bounded Staleness consistency
|
||||
# level, this value represents the number of stale requests tolerated.
|
||||
# Accepted range for this value is 1 – 2,147,483,647. Required when
|
||||
# defaultConsistencyPolicy is set to 'BoundedStaleness'.
|
||||
attr_accessor :max_staleness_prefix
|
||||
|
||||
# @return [Integer] When used with the Bounded Staleness consistency
|
||||
# level, this value represents the time amount of staleness (in seconds)
|
||||
# tolerated. Accepted range for this value is 5 - 86400. Required when
|
||||
# defaultConsistencyPolicy is set to 'BoundedStaleness'.
|
||||
attr_accessor :max_interval_in_seconds
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ConsistencyPolicy class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ConsistencyPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConsistencyPolicy',
|
||||
model_properties: {
|
||||
default_consistency_level: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'defaultConsistencyLevel',
|
||||
type: {
|
||||
name: 'Enum',
|
||||
module: 'DefaultConsistencyLevel'
|
||||
}
|
||||
},
|
||||
max_staleness_prefix: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'maxStalenessPrefix',
|
||||
constraints: {
|
||||
InclusiveMaximum: 2147483647,
|
||||
InclusiveMinimum: 1
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
max_interval_in_seconds: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'maxIntervalInSeconds',
|
||||
constraints: {
|
||||
InclusiveMaximum: 86400,
|
||||
InclusiveMinimum: 5
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,85 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The configuration of the partition key to be used for partitioning data
|
||||
# into multiple partitions
|
||||
#
|
||||
class ContainerPartitionKey
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<String>] List of paths using which data within the
|
||||
# container can be partitioned
|
||||
attr_accessor :paths
|
||||
|
||||
# @return [PartitionKind] Indicates the kind of algorithm used for
|
||||
# partitioning. Possible values include: 'Hash', 'Range'. Default value:
|
||||
# 'Hash' .
|
||||
attr_accessor :kind
|
||||
|
||||
# @return [Integer] Indicates the version of the partition key definition
|
||||
attr_accessor :version
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ContainerPartitionKey class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ContainerPartitionKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ContainerPartitionKey',
|
||||
model_properties: {
|
||||
paths: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'paths',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'kind',
|
||||
default_value: 'Hash',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
version: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'version',
|
||||
constraints: {
|
||||
InclusiveMaximum: 2,
|
||||
InclusiveMinimum: 1
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,68 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# CreateUpdateOptions are a list of key-value pairs that describe the
|
||||
# resource. Supported keys are "If-Match", "If-None-Match", "Session-Token"
|
||||
# and "Throughput"
|
||||
#
|
||||
class CreateUpdateOptions
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Hash{String => String}] Unmatched properties from the message
|
||||
# are deserialized this collection
|
||||
attr_accessor :additional_properties
|
||||
|
||||
# @return [String] Request Units per second. For example, "throughput":
|
||||
# "10000".
|
||||
attr_accessor :throughput
|
||||
|
||||
|
||||
#
|
||||
# Mapper for CreateUpdateOptions class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CreateUpdateOptions',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions',
|
||||
model_properties: {
|
||||
additional_properties: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
throughput: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'throughput',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,20 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for DataType
|
||||
#
|
||||
module DataType
|
||||
String = "String"
|
||||
Number = "Number"
|
||||
Point = "Point"
|
||||
Polygon = "Polygon"
|
||||
LineString = "LineString"
|
||||
MultiPolygon = "MultiPolygon"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,59 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Connection string for the Cosmos DB account
|
||||
#
|
||||
class DatabaseAccountConnectionString
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Value of the connection string
|
||||
attr_accessor :connection_string
|
||||
|
||||
# @return [String] Description of the connection string
|
||||
attr_accessor :description
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountConnectionString class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountConnectionString',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountConnectionString',
|
||||
model_properties: {
|
||||
connection_string: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'connectionString',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'description',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,290 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB database accounts.
|
||||
#
|
||||
class DatabaseAccountCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [DatabaseAccountKind] Indicates the type of database account.
|
||||
# This can only be set at database account creation. Possible values
|
||||
# include: 'GlobalDocumentDB', 'MongoDB', 'Parse'. Default value:
|
||||
# 'GlobalDocumentDB' .
|
||||
attr_accessor :kind
|
||||
|
||||
# @return [ConsistencyPolicy] The consistency policy for the Cosmos DB
|
||||
# account.
|
||||
attr_accessor :consistency_policy
|
||||
|
||||
# @return [Array<Location>] An array that contains the georeplication
|
||||
# locations enabled for the Cosmos DB account.
|
||||
attr_accessor :locations
|
||||
|
||||
# @return [String] The offer type for the database. Default value:
|
||||
# 'Standard' .
|
||||
attr_accessor :database_account_offer_type
|
||||
|
||||
# @return [String] Cosmos DB Firewall Support: This value specifies the
|
||||
# set of IP addresses or IP address ranges in CIDR form to be included as
|
||||
# the allowed list of client IPs for a given database account. IP
|
||||
# addresses/ranges must be comma separated and must not contain any
|
||||
# spaces.
|
||||
attr_accessor :ip_range_filter
|
||||
|
||||
# @return [Boolean] Flag to indicate whether to enable/disable Virtual
|
||||
# Network ACL rules.
|
||||
attr_accessor :is_virtual_network_filter_enabled
|
||||
|
||||
# @return [Boolean] Enables automatic failover of the write region in the
|
||||
# rare event that the region is unavailable due to an outage. Automatic
|
||||
# failover will result in a new write region for the account and is
|
||||
# chosen based on the failover priorities configured for the account.
|
||||
attr_accessor :enable_automatic_failover
|
||||
|
||||
# @return [Array<Capability>] List of Cosmos DB capabilities for the
|
||||
# account
|
||||
attr_accessor :capabilities
|
||||
|
||||
# @return [Array<VirtualNetworkRule>] List of Virtual Network ACL rules
|
||||
# configured for the Cosmos DB account.
|
||||
attr_accessor :virtual_network_rules
|
||||
|
||||
# @return [Boolean] Enables the account to write in multiple locations
|
||||
attr_accessor :enable_multiple_write_locations
|
||||
|
||||
# @return [Boolean] Enables the cassandra connector on the Cosmos DB C*
|
||||
# account
|
||||
attr_accessor :enable_cassandra_connector
|
||||
|
||||
# @return [ConnectorOffer] The cassandra connector offer type for the
|
||||
# Cosmos DB database C* account. Possible values include: 'Small'
|
||||
attr_accessor :connector_offer
|
||||
|
||||
# @return [Boolean] Disable write operations on metadata resources
|
||||
# (databases, containers, throughput) via account keys
|
||||
attr_accessor :disable_key_based_metadata_write_access
|
||||
|
||||
# @return [String] The URI of the key vault
|
||||
attr_accessor :key_vault_key_uri
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'kind',
|
||||
default_value: 'GlobalDocumentDB',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
consistency_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.consistencyPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConsistencyPolicy'
|
||||
}
|
||||
},
|
||||
locations: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.locations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'LocationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Location'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
database_account_offer_type: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
is_constant: true,
|
||||
serialized_name: 'properties.databaseAccountOfferType',
|
||||
default_value: 'Standard',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ip_range_filter: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.ipRangeFilter',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
is_virtual_network_filter_enabled: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.isVirtualNetworkFilterEnabled',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enable_automatic_failover: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableAutomaticFailover',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
capabilities: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.capabilities',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CapabilityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Capability'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
virtual_network_rules: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.virtualNetworkRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'VirtualNetworkRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'VirtualNetworkRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
enable_multiple_write_locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableMultipleWriteLocations',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enable_cassandra_connector: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableCassandraConnector',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
connector_offer: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.connectorOffer',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
disable_key_based_metadata_write_access: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.disableKeyBasedMetadataWriteAccess',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
key_vault_key_uri: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.keyVaultKeyUri',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,382 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB database account.
|
||||
#
|
||||
class DatabaseAccountGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [DatabaseAccountKind] Indicates the type of database account.
|
||||
# This can only be set at database account creation. Possible values
|
||||
# include: 'GlobalDocumentDB', 'MongoDB', 'Parse'. Default value:
|
||||
# 'GlobalDocumentDB' .
|
||||
attr_accessor :kind
|
||||
|
||||
# @return [String]
|
||||
attr_accessor :provisioning_state
|
||||
|
||||
# @return [String] The connection endpoint for the Cosmos DB database
|
||||
# account.
|
||||
attr_accessor :document_endpoint
|
||||
|
||||
# @return [DatabaseAccountOfferType] The offer type for the Cosmos DB
|
||||
# database account. Default value: Standard. Possible values include:
|
||||
# 'Standard'
|
||||
attr_accessor :database_account_offer_type
|
||||
|
||||
# @return [String] Cosmos DB Firewall Support: This value specifies the
|
||||
# set of IP addresses or IP address ranges in CIDR form to be included as
|
||||
# the allowed list of client IPs for a given database account. IP
|
||||
# addresses/ranges must be comma separated and must not contain any
|
||||
# spaces.
|
||||
attr_accessor :ip_range_filter
|
||||
|
||||
# @return [Boolean] Flag to indicate whether to enable/disable Virtual
|
||||
# Network ACL rules.
|
||||
attr_accessor :is_virtual_network_filter_enabled
|
||||
|
||||
# @return [Boolean] Enables automatic failover of the write region in the
|
||||
# rare event that the region is unavailable due to an outage. Automatic
|
||||
# failover will result in a new write region for the account and is
|
||||
# chosen based on the failover priorities configured for the account.
|
||||
attr_accessor :enable_automatic_failover
|
||||
|
||||
# @return [ConsistencyPolicy] The consistency policy for the Cosmos DB
|
||||
# database account.
|
||||
attr_accessor :consistency_policy
|
||||
|
||||
# @return [Array<Capability>] List of Cosmos DB capabilities for the
|
||||
# account
|
||||
attr_accessor :capabilities
|
||||
|
||||
# @return [Array<Location>] An array that contains the write location for
|
||||
# the Cosmos DB account.
|
||||
attr_accessor :write_locations
|
||||
|
||||
# @return [Array<Location>] An array that contains of the read locations
|
||||
# enabled for the Cosmos DB account.
|
||||
attr_accessor :read_locations
|
||||
|
||||
# @return [Array<Location>] An array that contains all of the locations
|
||||
# enabled for the Cosmos DB account.
|
||||
attr_accessor :locations
|
||||
|
||||
# @return [Array<FailoverPolicy>] An array that contains the regions
|
||||
# ordered by their failover priorities.
|
||||
attr_accessor :failover_policies
|
||||
|
||||
# @return [Array<VirtualNetworkRule>] List of Virtual Network ACL rules
|
||||
# configured for the Cosmos DB account.
|
||||
attr_accessor :virtual_network_rules
|
||||
|
||||
# @return [Boolean] Enables the account to write in multiple locations
|
||||
attr_accessor :enable_multiple_write_locations
|
||||
|
||||
# @return [Boolean] Enables the cassandra connector on the Cosmos DB C*
|
||||
# account
|
||||
attr_accessor :enable_cassandra_connector
|
||||
|
||||
# @return [ConnectorOffer] The cassandra connector offer type for the
|
||||
# Cosmos DB database C* account. Possible values include: 'Small'
|
||||
attr_accessor :connector_offer
|
||||
|
||||
# @return [Boolean] Disable write operations on metadata resources
|
||||
# (databases, containers, throughput) via account keys
|
||||
attr_accessor :disable_key_based_metadata_write_access
|
||||
|
||||
# @return [String] The URI of the key vault
|
||||
attr_accessor :key_vault_key_uri
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'kind',
|
||||
default_value: 'GlobalDocumentDB',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioning_state: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
document_endpoint: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'properties.documentEndpoint',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
database_account_offer_type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'properties.databaseAccountOfferType',
|
||||
type: {
|
||||
name: 'Enum',
|
||||
module: 'DatabaseAccountOfferType'
|
||||
}
|
||||
},
|
||||
ip_range_filter: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.ipRangeFilter',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
is_virtual_network_filter_enabled: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.isVirtualNetworkFilterEnabled',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enable_automatic_failover: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableAutomaticFailover',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
consistency_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.consistencyPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConsistencyPolicy'
|
||||
}
|
||||
},
|
||||
capabilities: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.capabilities',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CapabilityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Capability'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
write_locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'properties.writeLocations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'LocationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Location'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
read_locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'properties.readLocations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'LocationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Location'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'properties.locations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'LocationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Location'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
failover_policies: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'properties.failoverPolicies',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'FailoverPolicyElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'FailoverPolicy'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
virtual_network_rules: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.virtualNetworkRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'VirtualNetworkRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'VirtualNetworkRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
enable_multiple_write_locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableMultipleWriteLocations',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enable_cassandra_connector: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableCassandraConnector',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
connector_offer: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.connectorOffer',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
disable_key_based_metadata_write_access: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.disableKeyBasedMetadataWriteAccess',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
key_vault_key_uri: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.keyVaultKeyUri',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,17 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for DatabaseAccountKind
|
||||
#
|
||||
module DatabaseAccountKind
|
||||
GlobalDocumentDB = "GlobalDocumentDB"
|
||||
MongoDB = "MongoDB"
|
||||
Parse = "Parse"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,57 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The connection strings for the given database account.
|
||||
#
|
||||
class DatabaseAccountListConnectionStringsResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<DatabaseAccountConnectionString>] An array that contains
|
||||
# the connection strings for the Cosmos DB account.
|
||||
attr_accessor :connection_strings
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountListConnectionStringsResult class as Ruby
|
||||
# Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountListConnectionStringsResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountListConnectionStringsResult',
|
||||
model_properties: {
|
||||
connection_strings: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'connectionStrings',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountConnectionStringElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountConnectionString'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,77 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The access keys for the given database account.
|
||||
#
|
||||
class DatabaseAccountListKeysResult < DatabaseAccountListReadOnlyKeysResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Base 64 encoded value of the primary read-write key.
|
||||
attr_accessor :primary_master_key
|
||||
|
||||
# @return [String] Base 64 encoded value of the secondary read-write key.
|
||||
attr_accessor :secondary_master_key
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountListKeysResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountListKeysResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountListKeysResult',
|
||||
model_properties: {
|
||||
primary_readonly_master_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'primaryReadonlyMasterKey',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
secondary_readonly_master_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'secondaryReadonlyMasterKey',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
primary_master_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'primaryMasterKey',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
secondary_master_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'secondaryMasterKey',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,59 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The read-only access keys for the given database account.
|
||||
#
|
||||
class DatabaseAccountListReadOnlyKeysResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Base 64 encoded value of the primary read-only key.
|
||||
attr_accessor :primary_readonly_master_key
|
||||
|
||||
# @return [String] Base 64 encoded value of the secondary read-only key.
|
||||
attr_accessor :secondary_readonly_master_key
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountListReadOnlyKeysResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountListReadOnlyKeysResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountListReadOnlyKeysResult',
|
||||
model_properties: {
|
||||
primary_readonly_master_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'primaryReadonlyMasterKey',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
secondary_readonly_master_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'secondaryReadonlyMasterKey',
|
||||
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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for DatabaseAccountOfferType
|
||||
#
|
||||
module DatabaseAccountOfferType
|
||||
Standard = "Standard"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,47 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to regenerate the keys within the database account.
|
||||
#
|
||||
class DatabaseAccountRegenerateKeyParameters
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [KeyKind] The access key to regenerate. Possible values
|
||||
# include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
|
||||
attr_accessor :key_kind
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountRegenerateKeyParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountRegenerateKeyParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountRegenerateKeyParameters',
|
||||
model_properties: {
|
||||
key_kind: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'keyKind',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,241 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters for patching Azure Cosmos DB database account properties.
|
||||
#
|
||||
class DatabaseAccountUpdateParameters
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Hash{String => String}]
|
||||
attr_accessor :tags
|
||||
|
||||
# @return [String] The location of the resource group to which the
|
||||
# resource belongs.
|
||||
attr_accessor :location
|
||||
|
||||
# @return [ConsistencyPolicy] The consistency policy for the Cosmos DB
|
||||
# account.
|
||||
attr_accessor :consistency_policy
|
||||
|
||||
# @return [Array<Location>] An array that contains the georeplication
|
||||
# locations enabled for the Cosmos DB account.
|
||||
attr_accessor :locations
|
||||
|
||||
# @return [String] Cosmos DB Firewall Support: This value specifies the
|
||||
# set of IP addresses or IP address ranges in CIDR form to be included as
|
||||
# the allowed list of client IPs for a given database account. IP
|
||||
# addresses/ranges must be comma separated and must not contain any
|
||||
# spaces.
|
||||
attr_accessor :ip_range_filter
|
||||
|
||||
# @return [Boolean] Flag to indicate whether to enable/disable Virtual
|
||||
# Network ACL rules.
|
||||
attr_accessor :is_virtual_network_filter_enabled
|
||||
|
||||
# @return [Boolean] Enables automatic failover of the write region in the
|
||||
# rare event that the region is unavailable due to an outage. Automatic
|
||||
# failover will result in a new write region for the account and is
|
||||
# chosen based on the failover priorities configured for the account.
|
||||
attr_accessor :enable_automatic_failover
|
||||
|
||||
# @return [Array<Capability>] List of Cosmos DB capabilities for the
|
||||
# account
|
||||
attr_accessor :capabilities
|
||||
|
||||
# @return [Array<VirtualNetworkRule>] List of Virtual Network ACL rules
|
||||
# configured for the Cosmos DB account.
|
||||
attr_accessor :virtual_network_rules
|
||||
|
||||
# @return [Boolean] Enables the account to write in multiple locations
|
||||
attr_accessor :enable_multiple_write_locations
|
||||
|
||||
# @return [Boolean] Enables the cassandra connector on the Cosmos DB C*
|
||||
# account
|
||||
attr_accessor :enable_cassandra_connector
|
||||
|
||||
# @return [ConnectorOffer] The cassandra connector offer type for the
|
||||
# Cosmos DB database C* account. Possible values include: 'Small'
|
||||
attr_accessor :connector_offer
|
||||
|
||||
# @return [Boolean] Disable write operations on metadata resources
|
||||
# (databases, containers, throughput) via account keys
|
||||
attr_accessor :disable_key_based_metadata_write_access
|
||||
|
||||
# @return [String] The URI of the key vault
|
||||
attr_accessor :key_vault_key_uri
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountUpdateParameters',
|
||||
model_properties: {
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
consistency_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.consistencyPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConsistencyPolicy'
|
||||
}
|
||||
},
|
||||
locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.locations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'LocationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Location'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
ip_range_filter: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.ipRangeFilter',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
is_virtual_network_filter_enabled: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.isVirtualNetworkFilterEnabled',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enable_automatic_failover: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableAutomaticFailover',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
capabilities: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.capabilities',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CapabilityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Capability'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
virtual_network_rules: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.virtualNetworkRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'VirtualNetworkRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'VirtualNetworkRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
enable_multiple_write_locations: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableMultipleWriteLocations',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enable_cassandra_connector: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.enableCassandraConnector',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
connector_offer: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.connectorOffer',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
disable_key_based_metadata_write_access: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.disableKeyBasedMetadataWriteAccess',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
key_vault_key_uri: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.keyVaultKeyUri',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the database accounts and
|
||||
# their properties.
|
||||
#
|
||||
class DatabaseAccountsListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<DatabaseAccountGetResults>] List of database account and
|
||||
# their properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for DatabaseAccountsListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountsListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountsListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'DatabaseAccountGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'DatabaseAccountGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,19 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for DefaultConsistencyLevel
|
||||
#
|
||||
module DefaultConsistencyLevel
|
||||
Eventual = "Eventual"
|
||||
Session = "Session"
|
||||
BoundedStaleness = "BoundedStaleness"
|
||||
Strong = "Strong"
|
||||
ConsistentPrefix = "ConsistentPrefix"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,57 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Error Response.
|
||||
#
|
||||
class ErrorResponse
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Error code.
|
||||
attr_accessor :code
|
||||
|
||||
# @return [String] Error message indicating why the operation failed.
|
||||
attr_accessor :message
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ErrorResponse class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ErrorResponse',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ErrorResponse',
|
||||
model_properties: {
|
||||
code: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'code',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
message: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'message',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,48 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class ExcludedPath
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The path for which the indexing behavior applies to.
|
||||
# Index paths typically start with root and end with wildcard (/path/*)
|
||||
attr_accessor :path
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ExcludedPath class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ExcludedPath',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ExcludedPath',
|
||||
model_properties: {
|
||||
path: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'path',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,74 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The system generated resource properties associated with SQL databases,
|
||||
# SQL containers, Gremlin databases and Gremlin graphs.
|
||||
#
|
||||
class ExtendedResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for ExtendedResourceProperties class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ExtendedResourceProperties',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ExtendedResourceProperties',
|
||||
model_properties: {
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,55 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The list of new failover policies for the failover priority change.
|
||||
#
|
||||
class FailoverPolicies
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<FailoverPolicy>] List of failover policies.
|
||||
attr_accessor :failover_policies
|
||||
|
||||
|
||||
#
|
||||
# Mapper for FailoverPolicies class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'FailoverPolicies',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'FailoverPolicies',
|
||||
model_properties: {
|
||||
failover_policies: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'failoverPolicies',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'FailoverPolicyElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'FailoverPolicy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,79 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The failover policy for a given region of a database account.
|
||||
#
|
||||
class FailoverPolicy
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The unique identifier of the region in which the
|
||||
# database account replicates to. Example:
|
||||
# <accountName>-<locationName>.
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] The name of the region in which the database account
|
||||
# exists.
|
||||
attr_accessor :location_name
|
||||
|
||||
# @return [Integer] The failover priority of the region. A failover
|
||||
# priority of 0 indicates a write region. The maximum value for a
|
||||
# failover priority = (total number of regions - 1). Failover priority
|
||||
# values must be unique for each of the regions in which the database
|
||||
# account exists.
|
||||
attr_accessor :failover_priority
|
||||
|
||||
|
||||
#
|
||||
# Mapper for FailoverPolicy class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'FailoverPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'FailoverPolicy',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location_name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'locationName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
failover_priority: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'failoverPriority',
|
||||
constraints: {
|
||||
InclusiveMinimum: 0
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,112 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB Gremlin database.
|
||||
#
|
||||
class GremlinDatabaseCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [GremlinDatabaseResource] The standard JSON format of a Gremlin
|
||||
# database
|
||||
attr_accessor :resource
|
||||
|
||||
# @return [CreateUpdateOptions] A key-value pair of options to be applied
|
||||
# for the request. This corresponds to the headers sent with the request.
|
||||
attr_accessor :options
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinDatabaseCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinDatabaseCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseResource'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.options',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,85 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class GremlinDatabaseGetPropertiesResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Gremlin database
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinDatabaseGetPropertiesResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinDatabaseGetProperties_resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseGetPropertiesResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,98 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB Gremlin database.
|
||||
#
|
||||
class GremlinDatabaseGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [GremlinDatabaseGetPropertiesResource]
|
||||
attr_accessor :resource
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinDatabaseGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinDatabaseGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseGetPropertiesResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the Gremlin databases and
|
||||
# their properties.
|
||||
#
|
||||
class GremlinDatabaseListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<GremlinDatabaseGetResults>] List of Gremlin databases
|
||||
# and their properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinDatabaseListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinDatabaseListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinDatabaseGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,46 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Gremlin database resource object
|
||||
#
|
||||
class GremlinDatabaseResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Gremlin database
|
||||
attr_accessor :id
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinDatabaseResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinDatabaseResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinDatabaseResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,112 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB Gremlin graph.
|
||||
#
|
||||
class GremlinGraphCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [GremlinGraphResource] The standard JSON format of a Gremlin
|
||||
# graph
|
||||
attr_accessor :resource
|
||||
|
||||
# @return [CreateUpdateOptions] A key-value pair of options to be applied
|
||||
# for the request. This corresponds to the headers sent with the request.
|
||||
attr_accessor :options
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinGraphCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinGraphCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphResource'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.options',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,150 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class GremlinGraphGetPropertiesResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Gremlin graph
|
||||
attr_accessor :id
|
||||
|
||||
# @return [IndexingPolicy] The configuration of the indexing policy. By
|
||||
# default, the indexing is automatic for all document paths within the
|
||||
# graph
|
||||
attr_accessor :indexing_policy
|
||||
|
||||
# @return [ContainerPartitionKey] The configuration of the partition key
|
||||
# to be used for partitioning data into multiple partitions
|
||||
attr_accessor :partition_key
|
||||
|
||||
# @return [Integer] Default time to live
|
||||
attr_accessor :default_ttl
|
||||
|
||||
# @return [UniqueKeyPolicy] The unique key policy configuration for
|
||||
# specifying uniqueness constraints on documents in the collection in the
|
||||
# Azure Cosmos DB service.
|
||||
attr_accessor :unique_key_policy
|
||||
|
||||
# @return [ConflictResolutionPolicy] The conflict resolution policy for
|
||||
# the graph.
|
||||
attr_accessor :conflict_resolution_policy
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinGraphGetPropertiesResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinGraphGetProperties_resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphGetPropertiesResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
indexing_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'indexingPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'IndexingPolicy'
|
||||
}
|
||||
},
|
||||
partition_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'partitionKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ContainerPartitionKey'
|
||||
}
|
||||
},
|
||||
default_ttl: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'defaultTtl',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
unique_key_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'uniqueKeyPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'UniqueKeyPolicy'
|
||||
}
|
||||
},
|
||||
conflict_resolution_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'conflictResolutionPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConflictResolutionPolicy'
|
||||
}
|
||||
},
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,98 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB Gremlin graph.
|
||||
#
|
||||
class GremlinGraphGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [GremlinGraphGetPropertiesResource]
|
||||
attr_accessor :resource
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinGraphGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinGraphGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphGetPropertiesResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the graphs and their
|
||||
# properties.
|
||||
#
|
||||
class GremlinGraphListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<GremlinGraphGetResults>] List of graphs and their
|
||||
# properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinGraphListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinGraphListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinGraphGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,111 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB Gremlin graph resource object
|
||||
#
|
||||
class GremlinGraphResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB Gremlin graph
|
||||
attr_accessor :id
|
||||
|
||||
# @return [IndexingPolicy] The configuration of the indexing policy. By
|
||||
# default, the indexing is automatic for all document paths within the
|
||||
# graph
|
||||
attr_accessor :indexing_policy
|
||||
|
||||
# @return [ContainerPartitionKey] The configuration of the partition key
|
||||
# to be used for partitioning data into multiple partitions
|
||||
attr_accessor :partition_key
|
||||
|
||||
# @return [Integer] Default time to live
|
||||
attr_accessor :default_ttl
|
||||
|
||||
# @return [UniqueKeyPolicy] The unique key policy configuration for
|
||||
# specifying uniqueness constraints on documents in the collection in the
|
||||
# Azure Cosmos DB service.
|
||||
attr_accessor :unique_key_policy
|
||||
|
||||
# @return [ConflictResolutionPolicy] The conflict resolution policy for
|
||||
# the graph.
|
||||
attr_accessor :conflict_resolution_policy
|
||||
|
||||
|
||||
#
|
||||
# Mapper for GremlinGraphResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'GremlinGraphResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'GremlinGraphResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
indexing_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'indexingPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'IndexingPolicy'
|
||||
}
|
||||
},
|
||||
partition_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'partitionKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ContainerPartitionKey'
|
||||
}
|
||||
},
|
||||
default_ttl: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'defaultTtl',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
unique_key_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'uniqueKeyPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'UniqueKeyPolicy'
|
||||
}
|
||||
},
|
||||
conflict_resolution_policy: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'conflictResolutionPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ConflictResolutionPolicy'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,67 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The paths that are included in indexing
|
||||
#
|
||||
class IncludedPath
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The path for which the indexing behavior applies to.
|
||||
# Index paths typically start with root and end with wildcard (/path/*)
|
||||
attr_accessor :path
|
||||
|
||||
# @return [Array<Indexes>] List of indexes for this path
|
||||
attr_accessor :indexes
|
||||
|
||||
|
||||
#
|
||||
# Mapper for IncludedPath class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'IncludedPath',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'IncludedPath',
|
||||
model_properties: {
|
||||
path: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'path',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
indexes: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'indexes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'IndexesElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Indexes'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,17 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for IndexKind
|
||||
#
|
||||
module IndexKind
|
||||
Hash = "Hash"
|
||||
Range = "Range"
|
||||
Spatial = "Spatial"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,73 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The indexes for the path.
|
||||
#
|
||||
class Indexes
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [DataType] The datatype for which the indexing behavior is
|
||||
# applied to. Possible values include: 'String', 'Number', 'Point',
|
||||
# 'Polygon', 'LineString', 'MultiPolygon'. Default value: 'String' .
|
||||
attr_accessor :data_type
|
||||
|
||||
# @return [Integer] The precision of the index. -1 is maximum precision.
|
||||
attr_accessor :precision
|
||||
|
||||
# @return [IndexKind] Indicates the type of index. Possible values
|
||||
# include: 'Hash', 'Range', 'Spatial'. Default value: 'Hash' .
|
||||
attr_accessor :kind
|
||||
|
||||
|
||||
#
|
||||
# Mapper for Indexes class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'Indexes',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Indexes',
|
||||
model_properties: {
|
||||
data_type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'dataType',
|
||||
default_value: 'String',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
precision: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'precision',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'kind',
|
||||
default_value: 'Hash',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,17 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for IndexingMode
|
||||
#
|
||||
module IndexingMode
|
||||
Consistent = "Consistent"
|
||||
Lazy = "Lazy"
|
||||
None = "None"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,147 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB indexing policy
|
||||
#
|
||||
class IndexingPolicy
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Boolean] Indicates if the indexing policy is automatic
|
||||
attr_accessor :automatic
|
||||
|
||||
# @return [IndexingMode] Indicates the indexing mode. Possible values
|
||||
# include: 'Consistent', 'Lazy', 'None'. Default value: 'Consistent' .
|
||||
attr_accessor :indexing_mode
|
||||
|
||||
# @return [Array<IncludedPath>] List of paths to include in the indexing
|
||||
attr_accessor :included_paths
|
||||
|
||||
# @return [Array<ExcludedPath>] List of paths to exclude from indexing
|
||||
attr_accessor :excluded_paths
|
||||
|
||||
# @return [Array<Array<CompositePath>>] List of composite path list
|
||||
attr_accessor :composite_indexes
|
||||
|
||||
# @return [Array<SpatialSpec>] List of spatial specifics
|
||||
attr_accessor :spatial_indexes
|
||||
|
||||
|
||||
#
|
||||
# Mapper for IndexingPolicy class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'IndexingPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'IndexingPolicy',
|
||||
model_properties: {
|
||||
automatic: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'automatic',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
indexing_mode: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'indexingMode',
|
||||
default_value: 'Consistent',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
included_paths: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'includedPaths',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'IncludedPathElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'IncludedPath'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
excluded_paths: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'excludedPaths',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ExcludedPathElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'ExcludedPath'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
composite_indexes: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'compositeIndexes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'ArrayElementType',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'CompositePathElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CompositePath'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
spatial_indexes: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'spatialIndexes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'SpatialSpecElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'SpatialSpec'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,18 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Defines values for KeyKind
|
||||
#
|
||||
module KeyKind
|
||||
Primary = "primary"
|
||||
Secondary = "secondary"
|
||||
PrimaryReadonly = "primaryReadonly"
|
||||
SecondaryReadonly = "secondaryReadonly"
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,114 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# A region in which the Azure Cosmos DB database account is deployed.
|
||||
#
|
||||
class Location
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The unique identifier of the region within the
|
||||
# database account. Example: <accountName>-<locationName>.
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] The name of the region.
|
||||
attr_accessor :location_name
|
||||
|
||||
# @return [String] The connection endpoint for the specific region.
|
||||
# Example:
|
||||
# https://<accountName>-<locationName>.documents.azure.com:443/
|
||||
attr_accessor :document_endpoint
|
||||
|
||||
# @return [String]
|
||||
attr_accessor :provisioning_state
|
||||
|
||||
# @return [Integer] The failover priority of the region. A failover
|
||||
# priority of 0 indicates a write region. The maximum value for a
|
||||
# failover priority = (total number of regions - 1). Failover priority
|
||||
# values must be unique for each of the regions in which the database
|
||||
# account exists.
|
||||
attr_accessor :failover_priority
|
||||
|
||||
# @return [Boolean] Flag to indicate whether or not this region is an
|
||||
# AvailabilityZone region
|
||||
attr_accessor :is_zone_redundant
|
||||
|
||||
|
||||
#
|
||||
# Mapper for Location class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'Location',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Location',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location_name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'locationName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
document_endpoint: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'documentEndpoint',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioning_state: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
failover_priority: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'failoverPriority',
|
||||
constraints: {
|
||||
InclusiveMinimum: 0
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
is_zone_redundant: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'isZoneRedundant',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,120 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Metric data
|
||||
#
|
||||
class Metric
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [DateTime] The start time for the metric (ISO-8601 format).
|
||||
attr_accessor :start_time
|
||||
|
||||
# @return [DateTime] The end time for the metric (ISO-8601 format).
|
||||
attr_accessor :end_time
|
||||
|
||||
# @return [String] The time grain to be used to summarize the metric
|
||||
# values.
|
||||
attr_accessor :time_grain
|
||||
|
||||
# @return [UnitType] The unit of the metric. Possible values include:
|
||||
# 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
|
||||
# 'BytesPerSecond', 'Milliseconds'
|
||||
attr_accessor :unit
|
||||
|
||||
# @return [MetricName] The name information for the metric.
|
||||
attr_accessor :name
|
||||
|
||||
# @return [Array<MetricValue>] The metric values for the specified time
|
||||
# window and timestep.
|
||||
attr_accessor :metric_values
|
||||
|
||||
|
||||
#
|
||||
# Mapper for Metric class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'Metric',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Metric',
|
||||
model_properties: {
|
||||
start_time: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'startTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
end_time: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'endTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
time_grain: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'timeGrain',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
unit: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'unit',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricName'
|
||||
}
|
||||
},
|
||||
metric_values: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'metricValues',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricValueElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricValue'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,60 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The availability of the metric.
|
||||
#
|
||||
class MetricAvailability
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The time grain to be used to summarize the metric
|
||||
# values.
|
||||
attr_accessor :time_grain
|
||||
|
||||
# @return [String] The retention for the metric values.
|
||||
attr_accessor :retention
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MetricAvailability class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricAvailability',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricAvailability',
|
||||
model_properties: {
|
||||
time_grain: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'timeGrain',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
retention: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'retention',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,109 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The definition of a metric.
|
||||
#
|
||||
class MetricDefinition
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<MetricAvailability>] The list of metric availabilities
|
||||
# for the account.
|
||||
attr_accessor :metric_availabilities
|
||||
|
||||
# @return [PrimaryAggregationType] The primary aggregation type of the
|
||||
# metric. Possible values include: 'None', 'Average', 'Total', 'Minimum',
|
||||
# 'Maximum', 'Last'
|
||||
attr_accessor :primary_aggregation_type
|
||||
|
||||
# @return [UnitType] The unit of the metric. Possible values include:
|
||||
# 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond',
|
||||
# 'BytesPerSecond', 'Milliseconds'
|
||||
attr_accessor :unit
|
||||
|
||||
# @return [String] The resource uri of the database.
|
||||
attr_accessor :resource_uri
|
||||
|
||||
# @return [MetricName] The name information for the metric.
|
||||
attr_accessor :name
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MetricDefinition class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricDefinition',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricDefinition',
|
||||
model_properties: {
|
||||
metric_availabilities: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'metricAvailabilities',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricAvailabilityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricAvailability'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
primary_aggregation_type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'primaryAggregationType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
unit: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'unit',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
resource_uri: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'resourceUri',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricName'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,57 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The response to a list metric definitions request.
|
||||
#
|
||||
class MetricDefinitionsListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<MetricDefinition>] The list of metric definitions for
|
||||
# the account.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MetricDefinitionsListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricDefinitionsListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricDefinitionsListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricDefinitionElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricDefinition'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,56 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The response to a list metrics request.
|
||||
#
|
||||
class MetricListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<Metric>] The list of metrics for the account.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MetricListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'Metric'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,59 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# A metric name.
|
||||
#
|
||||
class MetricName
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] The name of the metric.
|
||||
attr_accessor :value
|
||||
|
||||
# @return [String] The friendly name of the metric.
|
||||
attr_accessor :localized_value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MetricName class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricName',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricName',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
localized_value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'localizedValue',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,107 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Represents metrics values.
|
||||
#
|
||||
class MetricValue
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Float] The number of values for the metric.
|
||||
attr_accessor :_count
|
||||
|
||||
# @return [Float] The average value of the metric.
|
||||
attr_accessor :average
|
||||
|
||||
# @return [Float] The max value of the metric.
|
||||
attr_accessor :maximum
|
||||
|
||||
# @return [Float] The min value of the metric.
|
||||
attr_accessor :minimum
|
||||
|
||||
# @return [DateTime] The metric timestamp (ISO-8601 format).
|
||||
attr_accessor :timestamp
|
||||
|
||||
# @return [Float] The total value of the metric.
|
||||
attr_accessor :total
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MetricValue class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MetricValue',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MetricValue',
|
||||
model_properties: {
|
||||
_count: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_count',
|
||||
type: {
|
||||
name: 'Double'
|
||||
}
|
||||
},
|
||||
average: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'average',
|
||||
type: {
|
||||
name: 'Double'
|
||||
}
|
||||
},
|
||||
maximum: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'maximum',
|
||||
type: {
|
||||
name: 'Double'
|
||||
}
|
||||
},
|
||||
minimum: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'minimum',
|
||||
type: {
|
||||
name: 'Double'
|
||||
}
|
||||
},
|
||||
timestamp: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'timestamp',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
total: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'total',
|
||||
type: {
|
||||
name: 'Double'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,112 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB MongoDB collection.
|
||||
#
|
||||
class MongoDBCollectionCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [MongoDBCollectionResource] The standard JSON format of a
|
||||
# MongoDB collection
|
||||
attr_accessor :resource
|
||||
|
||||
# @return [CreateUpdateOptions] A key-value pair of options to be applied
|
||||
# for the request. This corresponds to the headers sent with the request.
|
||||
attr_accessor :options
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBCollectionCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBCollectionCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionResource'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.options',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,125 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class MongoDBCollectionGetPropertiesResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB MongoDB collection
|
||||
attr_accessor :id
|
||||
|
||||
# @return [Hash{String => String}] A key-value pair of shard keys to be
|
||||
# applied for the request.
|
||||
attr_accessor :shard_key
|
||||
|
||||
# @return [Array<MongoIndex>] List of index keys
|
||||
attr_accessor :indexes
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBCollectionGetPropertiesResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBCollectionGetProperties_resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionGetPropertiesResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
shard_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'shardKey',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
indexes: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'indexes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoIndexElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoIndex'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,98 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB MongoDB collection.
|
||||
#
|
||||
class MongoDBCollectionGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [MongoDBCollectionGetPropertiesResource]
|
||||
attr_accessor :resource
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBCollectionGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBCollectionGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionGetPropertiesResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the MongoDB collections and
|
||||
# their properties.
|
||||
#
|
||||
class MongoDBCollectionListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<MongoDBCollectionGetResults>] List of MongoDB
|
||||
# collections and their properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBCollectionListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBCollectionListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBCollectionGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,86 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Cosmos DB MongoDB collection resource object
|
||||
#
|
||||
class MongoDBCollectionResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB MongoDB collection
|
||||
attr_accessor :id
|
||||
|
||||
# @return [Hash{String => String}] A key-value pair of shard keys to be
|
||||
# applied for the request.
|
||||
attr_accessor :shard_key
|
||||
|
||||
# @return [Array<MongoIndex>] List of index keys
|
||||
attr_accessor :indexes
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBCollectionResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBCollectionResource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBCollectionResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
shard_key: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'shardKey',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
indexes: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'indexes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoIndexElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoIndex'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,112 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Parameters to create and update Cosmos DB MongoDB database.
|
||||
#
|
||||
class MongoDBDatabaseCreateUpdateParameters < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [MongoDBDatabaseResource] The standard JSON format of a MongoDB
|
||||
# database
|
||||
attr_accessor :resource
|
||||
|
||||
# @return [CreateUpdateOptions] A key-value pair of options to be applied
|
||||
# for the request. This corresponds to the headers sent with the request.
|
||||
attr_accessor :options
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBDatabaseCreateUpdateParameters class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBDatabaseCreateUpdateParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseCreateUpdateParameters',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseResource'
|
||||
}
|
||||
},
|
||||
options: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'properties.options',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'CreateUpdateOptions'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,85 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# Model object.
|
||||
#
|
||||
#
|
||||
class MongoDBDatabaseGetPropertiesResource
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [String] Name of the Cosmos DB MongoDB database
|
||||
attr_accessor :id
|
||||
|
||||
# @return [String] A system generated property. A unique identifier.
|
||||
attr_accessor :_rid
|
||||
|
||||
# @return A system generated property that denotes the last updated
|
||||
# timestamp of the resource.
|
||||
attr_accessor :_ts
|
||||
|
||||
# @return [String] A system generated property representing the resource
|
||||
# etag required for optimistic concurrency control.
|
||||
attr_accessor :_etag
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBDatabaseGetPropertiesResource class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBDatabaseGetProperties_resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseGetPropertiesResource',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_rid: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_rid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
_ts: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_ts',
|
||||
type: {
|
||||
name: 'Object'
|
||||
}
|
||||
},
|
||||
_etag: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: '_etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,98 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# An Azure Cosmos DB MongoDB database.
|
||||
#
|
||||
class MongoDBDatabaseGetResults < ARMResourceProperties
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [MongoDBDatabaseGetPropertiesResource]
|
||||
attr_accessor :resource
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBDatabaseGetResults class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBDatabaseGetResults',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseGetResults',
|
||||
model_properties: {
|
||||
id: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resource: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'properties.resource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseGetPropertiesResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,58 @@
|
|||
# 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::Cosmosdb::Mgmt::V2019_12_12
|
||||
module Models
|
||||
#
|
||||
# The List operation response, that contains the MongoDB databases and
|
||||
# their properties.
|
||||
#
|
||||
class MongoDBDatabaseListResult
|
||||
|
||||
include MsRestAzure
|
||||
|
||||
# @return [Array<MongoDBDatabaseGetResults>] List of MongoDB databases
|
||||
# and their properties.
|
||||
attr_accessor :value
|
||||
|
||||
|
||||
#
|
||||
# Mapper for MongoDBDatabaseListResult class as Ruby Hash.
|
||||
# This will be used for serialization/deserialization.
|
||||
#
|
||||
def self.mapper()
|
||||
{
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBDatabaseListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseListResult',
|
||||
model_properties: {
|
||||
value: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
read_only: true,
|
||||
serialized_name: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
client_side_validation: true,
|
||||
required: false,
|
||||
serialized_name: 'MongoDBDatabaseGetResultsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
class_name: 'MongoDBDatabaseGetResults'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче