Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Projects

Package version

Class representing a Projects.

Hierarchy

  • Projects

Index

Constructors

constructor

Methods

createOrUpdate

  • createOrUpdate(parameters: Project, groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsCreateOrUpdateResponse>
  • createOrUpdate(parameters: Project, groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Project>): void
  • createOrUpdate(parameters: Project, groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Project>): void
  • The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.

    summary

    Create or update project

    Parameters

    • parameters: Project

      Information about the project

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ProjectsCreateOrUpdateResponse>

    Promise<Models.ProjectsCreateOrUpdateResponse>

  • Parameters

    • parameters: Project

      Information about the project

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • callback: msRest.ServiceCallback<Project>

      The callback

    Returns void

  • Parameters

    • parameters: Project

      Information about the project

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Project>

      The callback

    Returns void

deleteMethod

  • deleteMethod(groupName: string, serviceName: string, projectName: string, options?: Models.ProjectsDeleteMethodOptionalParams): Promise<msRest.RestResponse>
  • deleteMethod(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(groupName: string, serviceName: string, projectName: string, options: ProjectsDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void
  • The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.

    summary

    Delete project

    Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • Optional options: Models.ProjectsDeleteMethodOptionalParams

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • options: ProjectsDeleteMethodOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsGetResponse>
  • get(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Project>): void
  • get(groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Project>): void
  • The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.

    summary

    Get project information

    Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ProjectsGetResponse>

    Promise<Models.ProjectsGetResponse>

  • Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • callback: msRest.ServiceCallback<Project>

      The callback

    Returns void

  • Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Project>

      The callback

    Returns void

list

  • list(groupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListResponse>
  • list(groupName: string, serviceName: string, callback: msRest.ServiceCallback<ProjectList>): void
  • list(groupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ProjectList>): void
  • The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.

    summary

    Get projects in a service

    Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ProjectsListResponse>

    Promise<Models.ProjectsListResponse>

  • Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • callback: msRest.ServiceCallback<ProjectList>

      The callback

    Returns void

  • Parameters

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ProjectList>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ProjectList>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ProjectList>): void
  • The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.

    summary

    Get projects in a service

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ProjectsListNextResponse>

    Promise<Models.ProjectsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ProjectList>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ProjectList>

      The callback

    Returns void

update

  • update(parameters: Project, groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsUpdateResponse>
  • update(parameters: Project, groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Project>): void
  • update(parameters: Project, groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Project>): void
  • The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project.

    summary

    Update project

    Parameters

    • parameters: Project

      Information about the project

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.ProjectsUpdateResponse>

    Promise<Models.ProjectsUpdateResponse>

  • Parameters

    • parameters: Project

      Information about the project

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • callback: msRest.ServiceCallback<Project>

      The callback

    Returns void

  • Parameters

    • parameters: Project

      Information about the project

    • groupName: string

      Name of the resource group

    • serviceName: string

      Name of the service

    • projectName: string

      Name of the project

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Project>

      The callback

    Returns void

Generated using TypeDoc