class Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData

Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.

Attributes

authorization[RW]

@return [String] The requested authorization for the operation.

claims[RW]

@return [String] The properties of the claims.

correlation_id[RW]

@return [String] An operation ID used for troubleshooting.

http_request[RW]

@return [String] The details of the operation.

operation_name[RW]

@return [String] The operation that was performed.

resource_group[RW]

@return [String] The resource group of the resource.

resource_provider[RW]

@return [String] The resource provider performing the operation.

resource_uri[RW]

@return [String] The URI of the resource in the operation.

status[RW]

@return [String] The status of the operation.

subscription_id[RW]

@return [String] The subscription ID of the resource.

tenant_id[RW]

@return [String] The tenant ID of the resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_event_grid/models/resource_delete_failure_data.rb, line 55
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceDeleteFailureData',
    type: {
      name: 'Composite',
      class_name: 'ResourceDeleteFailureData',
      model_properties: {
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subscriptionId',
          type: {
            name: 'String'
          }
        },
        resource_group: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceGroup',
          type: {
            name: 'String'
          }
        },
        resource_provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceProvider',
          type: {
            name: 'String'
          }
        },
        resource_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceUri',
          type: {
            name: 'String'
          }
        },
        operation_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'operationName',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        authorization: {
          client_side_validation: true,
          required: false,
          serialized_name: 'authorization',
          type: {
            name: 'String'
          }
        },
        claims: {
          client_side_validation: true,
          required: false,
          serialized_name: 'claims',
          type: {
            name: 'String'
          }
        },
        correlation_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'correlationId',
          type: {
            name: 'String'
          }
        },
        http_request: {
          client_side_validation: true,
          required: false,
          serialized_name: 'httpRequest',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end