class Azure::OperationalInsights::Mgmt::V2020_08_01::Models::LinkedService

The top level Linked service resource container.

Attributes

provisioning_state[RW]

@return [LinkedServiceEntityStatus] The provisioning state of the linked service. Possible values include: 'Succeeded', 'Deleting', 'ProvisioningAccount', 'Updating'

resource_id[RW]

@return [String] The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access

tags[RW]

@return [Hash{String => String}] Resource tags.

write_access_resource_id[RW]

@return [String] The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LinkedService',
    type: {
      name: 'Composite',
      class_name: 'LinkedService',
      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'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceId',
          type: {
            name: 'String'
          }
        },
        write_access_resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.writeAccessResourceId',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          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