lib/services/containerinstanceManagement/lib/models/containerGroup.js
/**
   * Defines the metadata of ContainerGroup
   *
   * @returns {object} metadata of ContainerGroup
   *
   */
Defines the metadata of ContainerGroup
@returns {object} metadata of ContainerGroup
Defines the metadata of ContainerGroup @returns { object } metadata of ContainerGroup
mapper() {
    return {
      required: false,
      serializedName: 'ContainerGroup',
      type: {
        name: 'Composite',
        className: 'ContainerGroup',
        modelProperties: {
          id: {
            required: false,
            readOnly: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          name: {
            required: false,
            readOnly: true,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          type: {
            required: false,
            readOnly: true,
            serializedName: 'type',
            type: {
              name: 'String'
            }
          },
          location: {
            required: false,
            serializedName: 'location',
            type: {
              name: 'String'
            }
          },
          tags: {
            required: false,
            serializedName: 'tags',
            type: {
              name: 'Dictionary',
              value: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          provisioningState: {
            required: false,
            readOnly: true,
            serializedName: 'properties.provisioningState',
            type: {
              name: 'String'
            }
          },
          containers: {
            required: true,
            serializedName: 'properties.containers',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ContainerElementType',
                  type: {
                    name: 'Composite',
                    className: 'Container'
                  }
              }
            }
          },
          imageRegistryCredentials: {
            required: false,
            serializedName: 'properties.imageRegistryCredentials',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ImageRegistryCredentialElementType',
                  type: {
                    name: 'Composite',
                    className: 'ImageRegistryCredential'
                  }
              }
            }
          },
          restartPolicy: {
            required: false,
            serializedName: 'properties.restartPolicy',
            type: {
              name: 'String'
            }
          },
          ipAddress: {
            required: false,
            serializedName: 'properties.ipAddress',
            type: {
              name: 'Composite',
              className: 'IpAddress'
            }
          },
          osType: {
            required: true,
            serializedName: 'properties.osType',
            type: {
              name: 'String'
            }
          },
          volumes: {
            required: false,
            serializedName: 'properties.volumes',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'VolumeElementType',
                  type: {
                    name: 'Composite',
                    className: 'Volume'
                  }
              }
            }
          },
          instanceView: {
            required: false,
            readOnly: true,
            serializedName: 'properties.instanceView',
            type: {
              name: 'Composite',
              className: 'ContainerGroupPropertiesInstanceView'
            }
          },
          diagnostics: {
            required: false,
            serializedName: 'properties.diagnostics',
            type: {
              name: 'Composite',
              className: 'ContainerGroupDiagnostics'
            }
          },
          networkProfile: {
            required: false,
            serializedName: 'properties.networkProfile',
            type: {
              name: 'Composite',
              className: 'ContainerGroupNetworkProfile'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'ContainerGroup' , type : { name : 'Composite' , className : 'ContainerGroup' , modelProperties : { id : { required : false , readOnly : true , serializedName : 'id' , type : { name : 'String' } } , name : { required : false , readOnly : true , serializedName : 'name' , type : { name : 'String' } } , type : { required : false , readOnly : true , serializedName : 'type' , type : { name : 'String' } } , location : { required : false , serializedName : 'location' , type : { name : 'String' } } , tags : { required : false , serializedName : 'tags' , type : { name : 'Dictionary' , value : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } , provisioningState : { required : false , readOnly : true , serializedName : 'properties.provisioningState' , type : { name : 'String' } } , containers : { required : true , serializedName : 'properties.containers' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ContainerElementType' , type : { name : 'Composite' , className : 'Container' } } } } , imageRegistryCredentials : { required : false , serializedName : 'properties.imageRegistryCredentials' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ImageRegistryCredentialElementType' , type : { name : 'Composite' , className : 'ImageRegistryCredential' } } } } , restartPolicy : { required : false , serializedName : 'properties.restartPolicy' , type : { name : 'String' } } , ipAddress : { required : false , serializedName : 'properties.ipAddress' , type : { name : 'Composite' , className : 'IpAddress' } } , osType : { required : true , serializedName : 'properties.osType' , type : { name : 'String' } } , volumes : { required : false , serializedName : 'properties.volumes' , type : { name : 'Sequence' , element : { required : false , serializedName : 'VolumeElementType' , type : { name : 'Composite' , className : 'Volume' } } } } , instanceView : { required : false , readOnly : true , serializedName : 'properties.instanceView' , type : { name : 'Composite' , className : 'ContainerGroupPropertiesInstanceView' } } , diagnostics : { required : false , serializedName : 'properties.diagnostics' , type : { name : 'Composite' , className : 'ContainerGroupDiagnostics' } } , networkProfile : { required : false , serializedName : 'properties.networkProfile' , type : { name : 'Composite' , className : 'ContainerGroupNetworkProfile' } } } } } ; }
Defines the metadata of ContainerGroup
 @returns {object} metadata of ContainerGroup
Defines the metadata of ContainerGroup @returns { object } metadata of ContainerGroup