class Azure::EventGrid::Mgmt::V2020_10_15_preview::Models::EventSubscriptionIdentity

The identity information with the event subscription.

Attributes

type[RW]

@return [EventSubscriptionIdentityType] The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. Possible values include: 'SystemAssigned', 'UserAssigned'

user_assigned_identity[RW]

@return [String] The user identity associated with the resource.

Private Class Methods

mapper() click to toggle source

Mapper for EventSubscriptionIdentity class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-10-15-preview/generated/azure_mgmt_event_grid/models/event_subscription_identity.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EventSubscriptionIdentity',
    type: {
      name: 'Composite',
      class_name: 'EventSubscriptionIdentity',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        user_assigned_identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userAssignedIdentity',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end