Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,23 @@ module Azure::Signalr::Mgmt::V2018_10_01
module Models
autoload :SignalRResourceList, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb'
autoload :OperationDisplay, '2018-10-01/generated/azure_mgmt_signalr/models/operation_display.rb'
autoload :Dimension, '2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb'
autoload :ServiceSpecification, '2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb'
autoload :MetricSpecification, '2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb'
autoload :SignalRUsageList, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb'
autoload :Operation, '2018-10-01/generated/azure_mgmt_signalr/models/operation.rb'
autoload :OperationProperties, '2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb'
autoload :Resource, '2018-10-01/generated/azure_mgmt_signalr/models/resource.rb'
autoload :NameAvailabilityParameters, '2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb'
autoload :OperationList, '2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb'
autoload :SignalRFeature, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb'
autoload :NameAvailability, '2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb'
autoload :SignalRCreateOrUpdateProperties, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb'
autoload :ResourceSku, '2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb'
autoload :Dimension, '2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb'
autoload :SignalRKeys, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb'
autoload :OperationProperties, '2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb'
autoload :Operation, '2018-10-01/generated/azure_mgmt_signalr/models/operation.rb'
autoload :RegenerateKeyParameters, '2018-10-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb'
autoload :NameAvailability, '2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb'
autoload :ResourceSku, '2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb'
autoload :SignalRUsage, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage.rb'
autoload :OperationList, '2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb'
autoload :NameAvailabilityParameters, '2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb'
autoload :SignalRUpdateParameters, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb'
autoload :MetricSpecification, '2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb'
autoload :ServiceSpecification, '2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb'
autoload :SignalRUsageName, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb'
autoload :TrackedResource, '2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb'
autoload :SignalRResource, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource.rb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,36 @@
module Azure::Signalr::Mgmt::V2018_10_01
module Models
#
# The billing information of the resource.(e.g. basic vs. standard)
# The billing information of the SignalR resource.
#
class ResourceSku

include MsRestAzure

# @return [String] The name of the SKU. This is typically a letter +
# number code, such as A0 or P3. Required (if sku is specified)
# @return [String] The name of the SKU. Required.
#
# Allowed values: Standard_S1, Free_F1
attr_accessor :name

# @return [SignalRSkuTier] Optional tier of this particular SKU. `Basic`
# is deprecated, use `Standard` instead. Possible values include: 'Free',
# 'Basic', 'Standard', 'Premium'
# @return [SignalRSkuTier] Optional tier of this particular SKU.
# 'Standard' or 'Free'.
#
# `Basic` is deprecated, use `Standard` instead. Possible values include:
# 'Free', 'Basic', 'Standard', 'Premium'
attr_accessor :tier

# @return [String] Optional, string. When the name field is the
# combination of tier and some other value, this would be the standalone
# code.
# @return [String] Optional string. For future use.
attr_accessor :size

# @return [String] Optional, string. If the service has different
# generations of hardware, for the same SKU, then that can be captured
# here.
# @return [String] Optional string. For future use.
attr_accessor :family

# @return [Integer] Optional, integer. If the SKU supports scale out/in
# then the capacity integer should be included. If scale out/in is not
# possible for the resource this may be omitted.
# @return [Integer] Optional, integer. The unit count of SignalR
# resource. 1 by default.
#
# If present, following values are allowed:
# Free: 1
# Standard: 1,2,5,10,20,50,100
attr_accessor :capacity


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ class SignalRCreateOrUpdateProperties
# <hostNamePrefix>.service.signalr.net.
attr_accessor :host_name_prefix

# @return [Array<SignalRFeature>] List of SignalR featureFlags. e.g.
# ServiceMode.
#
# When updating featureFlags, if certain featureFlag is not included in
# parameters, SignalR service will remain it unchanged.
# And when you GET a SignalR resource, the response will include only
# those featureFlags explicitly set by you. For other featureFlags,
# SignalR service will use its globally default value. Note that, default
# value doesn't mean "false". It varies in terms of different
# FeatureFlags.
attr_accessor :features


#
# Mapper for SignalRCreateOrUpdateProperties class as Ruby Hash.
Expand All @@ -37,6 +49,21 @@ def self.mapper()
type: {
name: 'String'
}
},
features: {
required: false,
serialized_name: 'features',
type: {
name: 'Sequence',
element: {
required: false,
serialized_name: 'SignalRFeatureElementType',
type: {
name: 'Composite',
class_name: 'SignalRFeature'
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ class SignalRResource < TrackedResource
# &lt;hostNamePrefix&gt;.service.signalr.net.
attr_accessor :host_name_prefix

# @return [Array<SignalRFeature>] List of SignalR featureFlags. e.g.
# ServiceMode.
#
# When updating featureFlags, if certain featureFlag is not included in
# parameters, SignalR service will remain it unchanged.
# And when you GET a SignalR resource, the response will include only
# those featureFlags explicitly set by you. For other featureFlags,
# SignalR service will use its globally default value. Note that, default
# value doesn't mean "false". It varies in terms of different
# FeatureFlags.
attr_accessor :features

# @return [ProvisioningState] Provisioning state of the resource.
# Possible values include: 'Unknown', 'Succeeded', 'Failed', 'Canceled',
# 'Running', 'Creating', 'Updating', 'Deleting', 'Moving'
Expand Down Expand Up @@ -118,6 +130,21 @@ def self.mapper()
name: 'String'
}
},
features: {
required: false,
serialized_name: 'properties.features',
type: {
name: 'Sequence',
element: {
required: false,
serialized_name: 'SignalRFeatureElementType',
type: {
name: 'Composite',
class_name: 'SignalRFeature'
}
}
}
},
provisioning_state: {
required: false,
read_only: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class SignalRManagementClient < MsRestAzure::AzureServiceClient
# @return Credentials needed for the client to connect to Azure.
attr_reader :credentials

# @return [Enum] Client Api Version. Possible values include:
# '2018-03-01-preview', '2018-10-01'
# @return [String] Client Api Version.
attr_reader :api_version

# @return [String] Gets subscription Id which uniquely identify the
Expand Down