class Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerRegistration

Information about a partner registration.

Attributes

authorized_azure_subscription_ids[RW]

@return [Array<String>] List of Azure subscription Ids that are authorized to create a partner namespace associated with this partner registration. This is an optional property. Creating partner namespaces is always permitted under the same Azure subscription as the one used for creating the partner registration.

customer_service_uri[RW]

@return [String] The extension of the customer service URI of the publisher.

logo_uri[RW]

@return [String] URI of the logo.

long_description[RW]

@return [String] Long description for the custom scenarios and integration to be displayed in the portal if needed. Length of this description should not exceed 2048 characters.

partner_customer_service_extension[RW]

@return [String] The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10.

partner_customer_service_number[RW]

@return [String] The customer service number of the publisher. The expected phone format should start with a '+' sign followed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43

partner_name[RW]

@return [String] Official name of the partner name. For example: “Contoso”.

partner_resource_type_description[RW]

@return [String] Short description of the partner resource type. The length of this description should not exceed 256 characters.

partner_resource_type_display_name[RW]

@return [String] Display name of the partner resource type.

partner_resource_type_name[RW]

@return [String] Name of the partner resource type.

provisioning_state[RW]

@return [PartnerRegistrationProvisioningState] Provisioning state of the partner registration. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'

setup_uri[RW]

@return [String] URI of the partner website that can be used by Azure customers to setup Event Grid integration on an event source.

visibility_state[RW]

@return [PartnerRegistrationVisibilityState] Visibility state of the partner registration. Possible values include: 'Hidden', 'PublicPreview', 'GenerallyAvailable'

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_registration.rb, line 85
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PartnerRegistration',
    type: {
      name: 'Composite',
      class_name: 'PartnerRegistration',
      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'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          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'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        partner_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerName',
          type: {
            name: 'String'
          }
        },
        partner_resource_type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerResourceTypeName',
          type: {
            name: 'String'
          }
        },
        partner_resource_type_display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerResourceTypeDisplayName',
          type: {
            name: 'String'
          }
        },
        partner_resource_type_description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerResourceTypeDescription',
          type: {
            name: 'String'
          }
        },
        long_description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.longDescription',
          type: {
            name: 'String'
          }
        },
        partner_customer_service_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerCustomerServiceNumber',
          type: {
            name: 'String'
          }
        },
        partner_customer_service_extension: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerCustomerServiceExtension',
          type: {
            name: 'String'
          }
        },
        customer_service_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customerServiceUri',
          type: {
            name: 'String'
          }
        },
        setup_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.setupUri',
          type: {
            name: 'String'
          }
        },
        logo_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.logoUri',
          type: {
            name: 'String'
          }
        },
        visibility_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.visibilityState',
          type: {
            name: 'String'
          }
        },
        authorized_azure_subscription_ids: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizedAzureSubscriptionIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end