azure_mgmt_event_grid 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +4 -1
 - data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +4 -4
 - data/lib/2017-06-15-preview/generated/azure_mgmt_event_grid/topics.rb +4 -4
 - data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_grid_management_client.rb +4 -1
 - data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/event_subscriptions.rb +4 -4
 - data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
 - data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid/topics.rb +170 -4
 - data/lib/2017-09-15-preview/generated/azure_mgmt_event_grid.rb +9 -8
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_grid_management_client.rb +144 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb +1799 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_hub_event_subscription_destination.rb +62 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription.rb +136 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_destination.rb +47 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_filter.rb +98 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_full_url.rb +47 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_provisioning_state.rb +20 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscription_update_parameters.rb +83 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_subscriptions_list_result.rb +55 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_type.rb +95 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/event_types_list_result.rb +55 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation.rb +80 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operation_info.rb +79 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/operations_list_result.rb +55 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource.rb +71 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/resource_region_type.rb +16 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic.rb +112 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_provisioning_state.rb +20 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_regenerate_key_request.rb +46 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_shared_access_keys.rb +57 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_info.rb +139 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_type_provisioning_state.rb +20 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_types_list_result.rb +55 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topic_update_parameters.rb +54 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/topics_list_result.rb +55 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/tracked_resource.rb +92 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/models/web_hook_event_subscription_destination.rb +75 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/module_definition.rb +9 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/operations.rb +115 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb +296 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid/topics.rb +1092 -0
 - data/lib/2018-01-01/generated/azure_mgmt_event_grid.rb +57 -0
 - data/lib/azure_mgmt_event_grid.rb +1 -0
 - data/lib/profiles/latest/eventgrid_latest_profile_client.rb +28 -9
 - data/lib/profiles/latest/eventgrid_module_definition.rb +0 -1
 - data/lib/profiles/latest/modules/eventgrid_profile_module.rb +125 -114
 - data/lib/version.rb +1 -1
 - metadata +37 -3
 
| 
         @@ -0,0 +1,80 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Represents an operation returned by the GetOperations request
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class Operation
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [String] Name of the operation
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :name
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
                  # @return [OperationInfo] Display name of the operation
         
     | 
| 
      
 19 
     | 
    
         
            +
                  attr_accessor :display
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                  # @return [String] Origin of the operation
         
     | 
| 
      
 22 
     | 
    
         
            +
                  attr_accessor :origin
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  # @return Properties of the operation
         
     | 
| 
      
 25 
     | 
    
         
            +
                  attr_accessor :properties
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                  #
         
     | 
| 
      
 29 
     | 
    
         
            +
                  # Mapper for Operation class as Ruby Hash.
         
     | 
| 
      
 30 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 31 
     | 
    
         
            +
                  #
         
     | 
| 
      
 32 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 33 
     | 
    
         
            +
                    {
         
     | 
| 
      
 34 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 35 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 36 
     | 
    
         
            +
                      serialized_name: 'Operation',
         
     | 
| 
      
 37 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 38 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 39 
     | 
    
         
            +
                        class_name: 'Operation',
         
     | 
| 
      
 40 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 41 
     | 
    
         
            +
                          name: {
         
     | 
| 
      
 42 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 43 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 44 
     | 
    
         
            +
                            serialized_name: 'name',
         
     | 
| 
      
 45 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 46 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 47 
     | 
    
         
            +
                            }
         
     | 
| 
      
 48 
     | 
    
         
            +
                          },
         
     | 
| 
      
 49 
     | 
    
         
            +
                          display: {
         
     | 
| 
      
 50 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 51 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 52 
     | 
    
         
            +
                            serialized_name: 'display',
         
     | 
| 
      
 53 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 54 
     | 
    
         
            +
                              name: 'Composite',
         
     | 
| 
      
 55 
     | 
    
         
            +
                              class_name: 'OperationInfo'
         
     | 
| 
      
 56 
     | 
    
         
            +
                            }
         
     | 
| 
      
 57 
     | 
    
         
            +
                          },
         
     | 
| 
      
 58 
     | 
    
         
            +
                          origin: {
         
     | 
| 
      
 59 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 60 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 61 
     | 
    
         
            +
                            serialized_name: 'origin',
         
     | 
| 
      
 62 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 63 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 64 
     | 
    
         
            +
                            }
         
     | 
| 
      
 65 
     | 
    
         
            +
                          },
         
     | 
| 
      
 66 
     | 
    
         
            +
                          properties: {
         
     | 
| 
      
 67 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 68 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 69 
     | 
    
         
            +
                            serialized_name: 'properties',
         
     | 
| 
      
 70 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 71 
     | 
    
         
            +
                              name: 'Object'
         
     | 
| 
      
 72 
     | 
    
         
            +
                            }
         
     | 
| 
      
 73 
     | 
    
         
            +
                          }
         
     | 
| 
      
 74 
     | 
    
         
            +
                        }
         
     | 
| 
      
 75 
     | 
    
         
            +
                      }
         
     | 
| 
      
 76 
     | 
    
         
            +
                    }
         
     | 
| 
      
 77 
     | 
    
         
            +
                  end
         
     | 
| 
      
 78 
     | 
    
         
            +
                end
         
     | 
| 
      
 79 
     | 
    
         
            +
              end
         
     | 
| 
      
 80 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,79 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Information about an operation
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class OperationInfo
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [String] Name of the provider
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :provider
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
                  # @return [String] Name of the resource type
         
     | 
| 
      
 19 
     | 
    
         
            +
                  attr_accessor :resource
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                  # @return [String] Name of the operation
         
     | 
| 
      
 22 
     | 
    
         
            +
                  attr_accessor :operation
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  # @return [String] Description of the operation
         
     | 
| 
      
 25 
     | 
    
         
            +
                  attr_accessor :description
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                  #
         
     | 
| 
      
 29 
     | 
    
         
            +
                  # Mapper for OperationInfo class as Ruby Hash.
         
     | 
| 
      
 30 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 31 
     | 
    
         
            +
                  #
         
     | 
| 
      
 32 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 33 
     | 
    
         
            +
                    {
         
     | 
| 
      
 34 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 35 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 36 
     | 
    
         
            +
                      serialized_name: 'OperationInfo',
         
     | 
| 
      
 37 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 38 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 39 
     | 
    
         
            +
                        class_name: 'OperationInfo',
         
     | 
| 
      
 40 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 41 
     | 
    
         
            +
                          provider: {
         
     | 
| 
      
 42 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 43 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 44 
     | 
    
         
            +
                            serialized_name: 'provider',
         
     | 
| 
      
 45 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 46 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 47 
     | 
    
         
            +
                            }
         
     | 
| 
      
 48 
     | 
    
         
            +
                          },
         
     | 
| 
      
 49 
     | 
    
         
            +
                          resource: {
         
     | 
| 
      
 50 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 51 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 52 
     | 
    
         
            +
                            serialized_name: 'resource',
         
     | 
| 
      
 53 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 54 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 55 
     | 
    
         
            +
                            }
         
     | 
| 
      
 56 
     | 
    
         
            +
                          },
         
     | 
| 
      
 57 
     | 
    
         
            +
                          operation: {
         
     | 
| 
      
 58 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 59 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 60 
     | 
    
         
            +
                            serialized_name: 'operation',
         
     | 
| 
      
 61 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 62 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 63 
     | 
    
         
            +
                            }
         
     | 
| 
      
 64 
     | 
    
         
            +
                          },
         
     | 
| 
      
 65 
     | 
    
         
            +
                          description: {
         
     | 
| 
      
 66 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 67 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 68 
     | 
    
         
            +
                            serialized_name: 'description',
         
     | 
| 
      
 69 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 70 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 71 
     | 
    
         
            +
                            }
         
     | 
| 
      
 72 
     | 
    
         
            +
                          }
         
     | 
| 
      
 73 
     | 
    
         
            +
                        }
         
     | 
| 
      
 74 
     | 
    
         
            +
                      }
         
     | 
| 
      
 75 
     | 
    
         
            +
                    }
         
     | 
| 
      
 76 
     | 
    
         
            +
                  end
         
     | 
| 
      
 77 
     | 
    
         
            +
                end
         
     | 
| 
      
 78 
     | 
    
         
            +
              end
         
     | 
| 
      
 79 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,55 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Result of the List Operations operation
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class OperationsListResult
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [Array<Operation>] A collection of operations
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :value
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  #
         
     | 
| 
      
 20 
     | 
    
         
            +
                  # Mapper for OperationsListResult class as Ruby Hash.
         
     | 
| 
      
 21 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 22 
     | 
    
         
            +
                  #
         
     | 
| 
      
 23 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 24 
     | 
    
         
            +
                    {
         
     | 
| 
      
 25 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 26 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 27 
     | 
    
         
            +
                      serialized_name: 'OperationsListResult',
         
     | 
| 
      
 28 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 29 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 30 
     | 
    
         
            +
                        class_name: 'OperationsListResult',
         
     | 
| 
      
 31 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 32 
     | 
    
         
            +
                          value: {
         
     | 
| 
      
 33 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 34 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 35 
     | 
    
         
            +
                            serialized_name: 'value',
         
     | 
| 
      
 36 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 37 
     | 
    
         
            +
                              name: 'Sequence',
         
     | 
| 
      
 38 
     | 
    
         
            +
                              element: {
         
     | 
| 
      
 39 
     | 
    
         
            +
                                  client_side_validation: true,
         
     | 
| 
      
 40 
     | 
    
         
            +
                                  required: false,
         
     | 
| 
      
 41 
     | 
    
         
            +
                                  serialized_name: 'OperationElementType',
         
     | 
| 
      
 42 
     | 
    
         
            +
                                  type: {
         
     | 
| 
      
 43 
     | 
    
         
            +
                                    name: 'Composite',
         
     | 
| 
      
 44 
     | 
    
         
            +
                                    class_name: 'Operation'
         
     | 
| 
      
 45 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 46 
     | 
    
         
            +
                              }
         
     | 
| 
      
 47 
     | 
    
         
            +
                            }
         
     | 
| 
      
 48 
     | 
    
         
            +
                          }
         
     | 
| 
      
 49 
     | 
    
         
            +
                        }
         
     | 
| 
      
 50 
     | 
    
         
            +
                      }
         
     | 
| 
      
 51 
     | 
    
         
            +
                    }
         
     | 
| 
      
 52 
     | 
    
         
            +
                  end
         
     | 
| 
      
 53 
     | 
    
         
            +
                end
         
     | 
| 
      
 54 
     | 
    
         
            +
              end
         
     | 
| 
      
 55 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,71 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Definition of a Resource
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class Resource
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [String] Fully qualified identifier of the resource
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :id
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
                  # @return [String] Name of the resource
         
     | 
| 
      
 19 
     | 
    
         
            +
                  attr_accessor :name
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                  # @return [String] Type of the resource
         
     | 
| 
      
 22 
     | 
    
         
            +
                  attr_accessor :type
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                  #
         
     | 
| 
      
 26 
     | 
    
         
            +
                  # Mapper for Resource class as Ruby Hash.
         
     | 
| 
      
 27 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 28 
     | 
    
         
            +
                  #
         
     | 
| 
      
 29 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 30 
     | 
    
         
            +
                    {
         
     | 
| 
      
 31 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 32 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 33 
     | 
    
         
            +
                      serialized_name: 'Resource',
         
     | 
| 
      
 34 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 35 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 36 
     | 
    
         
            +
                        class_name: 'Resource',
         
     | 
| 
      
 37 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 38 
     | 
    
         
            +
                          id: {
         
     | 
| 
      
 39 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 40 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 41 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 42 
     | 
    
         
            +
                            serialized_name: 'id',
         
     | 
| 
      
 43 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 44 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 45 
     | 
    
         
            +
                            }
         
     | 
| 
      
 46 
     | 
    
         
            +
                          },
         
     | 
| 
      
 47 
     | 
    
         
            +
                          name: {
         
     | 
| 
      
 48 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 49 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 50 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 51 
     | 
    
         
            +
                            serialized_name: 'name',
         
     | 
| 
      
 52 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 53 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 54 
     | 
    
         
            +
                            }
         
     | 
| 
      
 55 
     | 
    
         
            +
                          },
         
     | 
| 
      
 56 
     | 
    
         
            +
                          type: {
         
     | 
| 
      
 57 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 58 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 59 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 60 
     | 
    
         
            +
                            serialized_name: 'type',
         
     | 
| 
      
 61 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 62 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 63 
     | 
    
         
            +
                            }
         
     | 
| 
      
 64 
     | 
    
         
            +
                          }
         
     | 
| 
      
 65 
     | 
    
         
            +
                        }
         
     | 
| 
      
 66 
     | 
    
         
            +
                      }
         
     | 
| 
      
 67 
     | 
    
         
            +
                    }
         
     | 
| 
      
 68 
     | 
    
         
            +
                  end
         
     | 
| 
      
 69 
     | 
    
         
            +
                end
         
     | 
| 
      
 70 
     | 
    
         
            +
              end
         
     | 
| 
      
 71 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,16 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Defines values for ResourceRegionType
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                module ResourceRegionType
         
     | 
| 
      
 12 
     | 
    
         
            +
                  RegionalResource = "RegionalResource"
         
     | 
| 
      
 13 
     | 
    
         
            +
                  GlobalResource = "GlobalResource"
         
     | 
| 
      
 14 
     | 
    
         
            +
                end
         
     | 
| 
      
 15 
     | 
    
         
            +
              end
         
     | 
| 
      
 16 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,112 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # EventGrid Topic
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class Topic < TrackedResource
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [TopicProvisioningState] Provisioning state of the topic.
         
     | 
| 
      
 16 
     | 
    
         
            +
                  # Possible values include: 'Creating', 'Updating', 'Deleting',
         
     | 
| 
      
 17 
     | 
    
         
            +
                  # 'Succeeded', 'Canceled', 'Failed'
         
     | 
| 
      
 18 
     | 
    
         
            +
                  attr_accessor :provisioning_state
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
                  # @return [String] Endpoint for the topic.
         
     | 
| 
      
 21 
     | 
    
         
            +
                  attr_accessor :endpoint
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  #
         
     | 
| 
      
 25 
     | 
    
         
            +
                  # Mapper for Topic class as Ruby Hash.
         
     | 
| 
      
 26 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 27 
     | 
    
         
            +
                  #
         
     | 
| 
      
 28 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 29 
     | 
    
         
            +
                    {
         
     | 
| 
      
 30 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 31 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 32 
     | 
    
         
            +
                      serialized_name: 'Topic',
         
     | 
| 
      
 33 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 34 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 35 
     | 
    
         
            +
                        class_name: 'Topic',
         
     | 
| 
      
 36 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 37 
     | 
    
         
            +
                          id: {
         
     | 
| 
      
 38 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 39 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 40 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 41 
     | 
    
         
            +
                            serialized_name: 'id',
         
     | 
| 
      
 42 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 43 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 44 
     | 
    
         
            +
                            }
         
     | 
| 
      
 45 
     | 
    
         
            +
                          },
         
     | 
| 
      
 46 
     | 
    
         
            +
                          name: {
         
     | 
| 
      
 47 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 48 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 49 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 50 
     | 
    
         
            +
                            serialized_name: 'name',
         
     | 
| 
      
 51 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 52 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 53 
     | 
    
         
            +
                            }
         
     | 
| 
      
 54 
     | 
    
         
            +
                          },
         
     | 
| 
      
 55 
     | 
    
         
            +
                          type: {
         
     | 
| 
      
 56 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 57 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 58 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 59 
     | 
    
         
            +
                            serialized_name: 'type',
         
     | 
| 
      
 60 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 61 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 62 
     | 
    
         
            +
                            }
         
     | 
| 
      
 63 
     | 
    
         
            +
                          },
         
     | 
| 
      
 64 
     | 
    
         
            +
                          location: {
         
     | 
| 
      
 65 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 66 
     | 
    
         
            +
                            required: true,
         
     | 
| 
      
 67 
     | 
    
         
            +
                            serialized_name: 'location',
         
     | 
| 
      
 68 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 69 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 70 
     | 
    
         
            +
                            }
         
     | 
| 
      
 71 
     | 
    
         
            +
                          },
         
     | 
| 
      
 72 
     | 
    
         
            +
                          tags: {
         
     | 
| 
      
 73 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 74 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 75 
     | 
    
         
            +
                            serialized_name: 'tags',
         
     | 
| 
      
 76 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 77 
     | 
    
         
            +
                              name: 'Dictionary',
         
     | 
| 
      
 78 
     | 
    
         
            +
                              value: {
         
     | 
| 
      
 79 
     | 
    
         
            +
                                  client_side_validation: true,
         
     | 
| 
      
 80 
     | 
    
         
            +
                                  required: false,
         
     | 
| 
      
 81 
     | 
    
         
            +
                                  serialized_name: 'StringElementType',
         
     | 
| 
      
 82 
     | 
    
         
            +
                                  type: {
         
     | 
| 
      
 83 
     | 
    
         
            +
                                    name: 'String'
         
     | 
| 
      
 84 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 85 
     | 
    
         
            +
                              }
         
     | 
| 
      
 86 
     | 
    
         
            +
                            }
         
     | 
| 
      
 87 
     | 
    
         
            +
                          },
         
     | 
| 
      
 88 
     | 
    
         
            +
                          provisioning_state: {
         
     | 
| 
      
 89 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 90 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 91 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 92 
     | 
    
         
            +
                            serialized_name: 'properties.provisioningState',
         
     | 
| 
      
 93 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 94 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 95 
     | 
    
         
            +
                            }
         
     | 
| 
      
 96 
     | 
    
         
            +
                          },
         
     | 
| 
      
 97 
     | 
    
         
            +
                          endpoint: {
         
     | 
| 
      
 98 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 99 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 100 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 101 
     | 
    
         
            +
                            serialized_name: 'properties.endpoint',
         
     | 
| 
      
 102 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 103 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 104 
     | 
    
         
            +
                            }
         
     | 
| 
      
 105 
     | 
    
         
            +
                          }
         
     | 
| 
      
 106 
     | 
    
         
            +
                        }
         
     | 
| 
      
 107 
     | 
    
         
            +
                      }
         
     | 
| 
      
 108 
     | 
    
         
            +
                    }
         
     | 
| 
      
 109 
     | 
    
         
            +
                  end
         
     | 
| 
      
 110 
     | 
    
         
            +
                end
         
     | 
| 
      
 111 
     | 
    
         
            +
              end
         
     | 
| 
      
 112 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Defines values for TopicProvisioningState
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                module TopicProvisioningState
         
     | 
| 
      
 12 
     | 
    
         
            +
                  Creating = "Creating"
         
     | 
| 
      
 13 
     | 
    
         
            +
                  Updating = "Updating"
         
     | 
| 
      
 14 
     | 
    
         
            +
                  Deleting = "Deleting"
         
     | 
| 
      
 15 
     | 
    
         
            +
                  Succeeded = "Succeeded"
         
     | 
| 
      
 16 
     | 
    
         
            +
                  Canceled = "Canceled"
         
     | 
| 
      
 17 
     | 
    
         
            +
                  Failed = "Failed"
         
     | 
| 
      
 18 
     | 
    
         
            +
                end
         
     | 
| 
      
 19 
     | 
    
         
            +
              end
         
     | 
| 
      
 20 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,46 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Topic regenerate share access key key request
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class TopicRegenerateKeyRequest
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [String] Key name to regenerate key1 or key2
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :key_name
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                  #
         
     | 
| 
      
 20 
     | 
    
         
            +
                  # Mapper for TopicRegenerateKeyRequest class as Ruby Hash.
         
     | 
| 
      
 21 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 22 
     | 
    
         
            +
                  #
         
     | 
| 
      
 23 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 24 
     | 
    
         
            +
                    {
         
     | 
| 
      
 25 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 26 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 27 
     | 
    
         
            +
                      serialized_name: 'TopicRegenerateKeyRequest',
         
     | 
| 
      
 28 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 29 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 30 
     | 
    
         
            +
                        class_name: 'TopicRegenerateKeyRequest',
         
     | 
| 
      
 31 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 32 
     | 
    
         
            +
                          key_name: {
         
     | 
| 
      
 33 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 34 
     | 
    
         
            +
                            required: true,
         
     | 
| 
      
 35 
     | 
    
         
            +
                            serialized_name: 'keyName',
         
     | 
| 
      
 36 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 37 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 38 
     | 
    
         
            +
                            }
         
     | 
| 
      
 39 
     | 
    
         
            +
                          }
         
     | 
| 
      
 40 
     | 
    
         
            +
                        }
         
     | 
| 
      
 41 
     | 
    
         
            +
                      }
         
     | 
| 
      
 42 
     | 
    
         
            +
                    }
         
     | 
| 
      
 43 
     | 
    
         
            +
                  end
         
     | 
| 
      
 44 
     | 
    
         
            +
                end
         
     | 
| 
      
 45 
     | 
    
         
            +
              end
         
     | 
| 
      
 46 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,57 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Shared access keys of the Topic
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class TopicSharedAccessKeys
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [String] Shared access key1 for the topic.
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :key1
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
                  # @return [String] Shared access key2 for the topic.
         
     | 
| 
      
 19 
     | 
    
         
            +
                  attr_accessor :key2
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                  #
         
     | 
| 
      
 23 
     | 
    
         
            +
                  # Mapper for TopicSharedAccessKeys class as Ruby Hash.
         
     | 
| 
      
 24 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 25 
     | 
    
         
            +
                  #
         
     | 
| 
      
 26 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 27 
     | 
    
         
            +
                    {
         
     | 
| 
      
 28 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 29 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 30 
     | 
    
         
            +
                      serialized_name: 'TopicSharedAccessKeys',
         
     | 
| 
      
 31 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 32 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 33 
     | 
    
         
            +
                        class_name: 'TopicSharedAccessKeys',
         
     | 
| 
      
 34 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 35 
     | 
    
         
            +
                          key1: {
         
     | 
| 
      
 36 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 37 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 38 
     | 
    
         
            +
                            serialized_name: 'key1',
         
     | 
| 
      
 39 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 40 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 41 
     | 
    
         
            +
                            }
         
     | 
| 
      
 42 
     | 
    
         
            +
                          },
         
     | 
| 
      
 43 
     | 
    
         
            +
                          key2: {
         
     | 
| 
      
 44 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 45 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 46 
     | 
    
         
            +
                            serialized_name: 'key2',
         
     | 
| 
      
 47 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 48 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 49 
     | 
    
         
            +
                            }
         
     | 
| 
      
 50 
     | 
    
         
            +
                          }
         
     | 
| 
      
 51 
     | 
    
         
            +
                        }
         
     | 
| 
      
 52 
     | 
    
         
            +
                      }
         
     | 
| 
      
 53 
     | 
    
         
            +
                    }
         
     | 
| 
      
 54 
     | 
    
         
            +
                  end
         
     | 
| 
      
 55 
     | 
    
         
            +
                end
         
     | 
| 
      
 56 
     | 
    
         
            +
              end
         
     | 
| 
      
 57 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,139 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Properties of a topic type info.
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                class TopicTypeInfo < Resource
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                  include MsRestAzure
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                  # @return [String] Namespace of the provider of the topic type.
         
     | 
| 
      
 16 
     | 
    
         
            +
                  attr_accessor :provider
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
                  # @return [String] Display Name for the topic type.
         
     | 
| 
      
 19 
     | 
    
         
            +
                  attr_accessor :display_name
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                  # @return [String] Description of the topic type.
         
     | 
| 
      
 22 
     | 
    
         
            +
                  attr_accessor :description
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
                  # @return [ResourceRegionType] Region type of the resource. Possible
         
     | 
| 
      
 25 
     | 
    
         
            +
                  # values include: 'RegionalResource', 'GlobalResource'
         
     | 
| 
      
 26 
     | 
    
         
            +
                  attr_accessor :resource_region_type
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                  # @return [TopicTypeProvisioningState] Provisioning state of the topic
         
     | 
| 
      
 29 
     | 
    
         
            +
                  # type. Possible values include: 'Creating', 'Updating', 'Deleting',
         
     | 
| 
      
 30 
     | 
    
         
            +
                  # 'Succeeded', 'Canceled', 'Failed'
         
     | 
| 
      
 31 
     | 
    
         
            +
                  attr_accessor :provisioning_state
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
                  # @return [Array<String>] List of locations supported by this topic type.
         
     | 
| 
      
 34 
     | 
    
         
            +
                  attr_accessor :supported_locations
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
                  #
         
     | 
| 
      
 38 
     | 
    
         
            +
                  # Mapper for TopicTypeInfo class as Ruby Hash.
         
     | 
| 
      
 39 
     | 
    
         
            +
                  # This will be used for serialization/deserialization.
         
     | 
| 
      
 40 
     | 
    
         
            +
                  #
         
     | 
| 
      
 41 
     | 
    
         
            +
                  def self.mapper()
         
     | 
| 
      
 42 
     | 
    
         
            +
                    {
         
     | 
| 
      
 43 
     | 
    
         
            +
                      client_side_validation: true,
         
     | 
| 
      
 44 
     | 
    
         
            +
                      required: false,
         
     | 
| 
      
 45 
     | 
    
         
            +
                      serialized_name: 'TopicTypeInfo',
         
     | 
| 
      
 46 
     | 
    
         
            +
                      type: {
         
     | 
| 
      
 47 
     | 
    
         
            +
                        name: 'Composite',
         
     | 
| 
      
 48 
     | 
    
         
            +
                        class_name: 'TopicTypeInfo',
         
     | 
| 
      
 49 
     | 
    
         
            +
                        model_properties: {
         
     | 
| 
      
 50 
     | 
    
         
            +
                          id: {
         
     | 
| 
      
 51 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 52 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 53 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 54 
     | 
    
         
            +
                            serialized_name: 'id',
         
     | 
| 
      
 55 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 56 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 57 
     | 
    
         
            +
                            }
         
     | 
| 
      
 58 
     | 
    
         
            +
                          },
         
     | 
| 
      
 59 
     | 
    
         
            +
                          name: {
         
     | 
| 
      
 60 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 61 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 62 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 63 
     | 
    
         
            +
                            serialized_name: 'name',
         
     | 
| 
      
 64 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 65 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 66 
     | 
    
         
            +
                            }
         
     | 
| 
      
 67 
     | 
    
         
            +
                          },
         
     | 
| 
      
 68 
     | 
    
         
            +
                          type: {
         
     | 
| 
      
 69 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 70 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 71 
     | 
    
         
            +
                            read_only: true,
         
     | 
| 
      
 72 
     | 
    
         
            +
                            serialized_name: 'type',
         
     | 
| 
      
 73 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 74 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 75 
     | 
    
         
            +
                            }
         
     | 
| 
      
 76 
     | 
    
         
            +
                          },
         
     | 
| 
      
 77 
     | 
    
         
            +
                          provider: {
         
     | 
| 
      
 78 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 79 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 80 
     | 
    
         
            +
                            serialized_name: 'properties.provider',
         
     | 
| 
      
 81 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 82 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 83 
     | 
    
         
            +
                            }
         
     | 
| 
      
 84 
     | 
    
         
            +
                          },
         
     | 
| 
      
 85 
     | 
    
         
            +
                          display_name: {
         
     | 
| 
      
 86 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 87 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 88 
     | 
    
         
            +
                            serialized_name: 'properties.displayName',
         
     | 
| 
      
 89 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 90 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 91 
     | 
    
         
            +
                            }
         
     | 
| 
      
 92 
     | 
    
         
            +
                          },
         
     | 
| 
      
 93 
     | 
    
         
            +
                          description: {
         
     | 
| 
      
 94 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 95 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 96 
     | 
    
         
            +
                            serialized_name: 'properties.description',
         
     | 
| 
      
 97 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 98 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 99 
     | 
    
         
            +
                            }
         
     | 
| 
      
 100 
     | 
    
         
            +
                          },
         
     | 
| 
      
 101 
     | 
    
         
            +
                          resource_region_type: {
         
     | 
| 
      
 102 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 103 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 104 
     | 
    
         
            +
                            serialized_name: 'properties.resourceRegionType',
         
     | 
| 
      
 105 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 106 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 107 
     | 
    
         
            +
                            }
         
     | 
| 
      
 108 
     | 
    
         
            +
                          },
         
     | 
| 
      
 109 
     | 
    
         
            +
                          provisioning_state: {
         
     | 
| 
      
 110 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 111 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 112 
     | 
    
         
            +
                            serialized_name: 'properties.provisioningState',
         
     | 
| 
      
 113 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 114 
     | 
    
         
            +
                              name: 'String'
         
     | 
| 
      
 115 
     | 
    
         
            +
                            }
         
     | 
| 
      
 116 
     | 
    
         
            +
                          },
         
     | 
| 
      
 117 
     | 
    
         
            +
                          supported_locations: {
         
     | 
| 
      
 118 
     | 
    
         
            +
                            client_side_validation: true,
         
     | 
| 
      
 119 
     | 
    
         
            +
                            required: false,
         
     | 
| 
      
 120 
     | 
    
         
            +
                            serialized_name: 'properties.supportedLocations',
         
     | 
| 
      
 121 
     | 
    
         
            +
                            type: {
         
     | 
| 
      
 122 
     | 
    
         
            +
                              name: 'Sequence',
         
     | 
| 
      
 123 
     | 
    
         
            +
                              element: {
         
     | 
| 
      
 124 
     | 
    
         
            +
                                  client_side_validation: true,
         
     | 
| 
      
 125 
     | 
    
         
            +
                                  required: false,
         
     | 
| 
      
 126 
     | 
    
         
            +
                                  serialized_name: 'StringElementType',
         
     | 
| 
      
 127 
     | 
    
         
            +
                                  type: {
         
     | 
| 
      
 128 
     | 
    
         
            +
                                    name: 'String'
         
     | 
| 
      
 129 
     | 
    
         
            +
                                  }
         
     | 
| 
      
 130 
     | 
    
         
            +
                              }
         
     | 
| 
      
 131 
     | 
    
         
            +
                            }
         
     | 
| 
      
 132 
     | 
    
         
            +
                          }
         
     | 
| 
      
 133 
     | 
    
         
            +
                        }
         
     | 
| 
      
 134 
     | 
    
         
            +
                      }
         
     | 
| 
      
 135 
     | 
    
         
            +
                    }
         
     | 
| 
      
 136 
     | 
    
         
            +
                  end
         
     | 
| 
      
 137 
     | 
    
         
            +
                end
         
     | 
| 
      
 138 
     | 
    
         
            +
              end
         
     | 
| 
      
 139 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # encoding: utf-8
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Code generated by Microsoft (R) AutoRest Code Generator.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Changes may cause incorrect behavior and will be lost if the code is
         
     | 
| 
      
 4 
     | 
    
         
            +
            # regenerated.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            module Azure::EventGrid::Mgmt::V2018_01_01
         
     | 
| 
      
 7 
     | 
    
         
            +
              module Models
         
     | 
| 
      
 8 
     | 
    
         
            +
                #
         
     | 
| 
      
 9 
     | 
    
         
            +
                # Defines values for TopicTypeProvisioningState
         
     | 
| 
      
 10 
     | 
    
         
            +
                #
         
     | 
| 
      
 11 
     | 
    
         
            +
                module TopicTypeProvisioningState
         
     | 
| 
      
 12 
     | 
    
         
            +
                  Creating = "Creating"
         
     | 
| 
      
 13 
     | 
    
         
            +
                  Updating = "Updating"
         
     | 
| 
      
 14 
     | 
    
         
            +
                  Deleting = "Deleting"
         
     | 
| 
      
 15 
     | 
    
         
            +
                  Succeeded = "Succeeded"
         
     | 
| 
      
 16 
     | 
    
         
            +
                  Canceled = "Canceled"
         
     | 
| 
      
 17 
     | 
    
         
            +
                  Failed = "Failed"
         
     | 
| 
      
 18 
     | 
    
         
            +
                end
         
     | 
| 
      
 19 
     | 
    
         
            +
              end
         
     | 
| 
      
 20 
     | 
    
         
            +
            end
         
     |