CommitsOperations interface

Interface representing a Commits operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Creates or updates a commit.

delete

Deletes a commit.

get

Gets the specified commit.

list

Lists all commits for the specified network manager.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, networkManagerName: string, commitName: string, resource: Commit, options?: CommitsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Commit>, Commit>>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, resource: Commit, options?: CommitsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Commit>, Commit>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, networkManagerName: string, commitName: string, resource: Commit, options?: CommitsCreateOrUpdateOptionalParams) => Promise<Commit>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, resource: Commit, options?: CommitsCreateOrUpdateOptionalParams) => Promise<Commit>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsDeleteOptionalParams) => Promise<void>

createOrUpdate

Creates or updates a commit.

createOrUpdate: (resourceGroupName: string, networkManagerName: string, commitName: string, resource: Commit, options?: CommitsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Commit>, Commit>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, resource: Commit, options?: CommitsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Commit>, Commit>

delete

Deletes a commit.

delete: (resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified commit.

get: (resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsGetOptionalParams) => Promise<Commit>

Property Value

(resourceGroupName: string, networkManagerName: string, commitName: string, options?: CommitsGetOptionalParams) => Promise<Commit>

list

Lists all commits for the specified network manager.

list: (resourceGroupName: string, networkManagerName: string, options?: CommitsListOptionalParams) => PagedAsyncIterableIterator<Commit, Commit[], PageSettings>

Property Value

(resourceGroupName: string, networkManagerName: string, options?: CommitsListOptionalParams) => PagedAsyncIterableIterator<Commit, Commit[], PageSettings>