Share via


AgentsOperations interface

Interface representing a Agents operations.

Properties

createOrUpdate

Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.

delete
get

Gets an Agent resource.

list

Lists all Agents in a Storage Mover.

update

Creates or updates an Agent resource.

Property Details

createOrUpdate

Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.

createOrUpdate: (resourceGroupName: string, storageMoverName: string, agentName: string, agent: Agent, options?: AgentsCreateOrUpdateOptionalParams) => Promise<Agent>

Property Value

(resourceGroupName: string, storageMoverName: string, agentName: string, agent: Agent, options?: AgentsCreateOrUpdateOptionalParams) => Promise<Agent>

delete

delete: (resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets an Agent resource.

get: (resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsGetOptionalParams) => Promise<Agent>

Property Value

(resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsGetOptionalParams) => Promise<Agent>

list

Lists all Agents in a Storage Mover.

list: (resourceGroupName: string, storageMoverName: string, options?: AgentsListOptionalParams) => PagedAsyncIterableIterator<Agent, Agent[], PageSettings>

Property Value

(resourceGroupName: string, storageMoverName: string, options?: AgentsListOptionalParams) => PagedAsyncIterableIterator<Agent, Agent[], PageSettings>

update

Creates or updates an Agent resource.

update: (resourceGroupName: string, storageMoverName: string, agentName: string, agent: AgentUpdateParameters, options?: AgentsUpdateOptionalParams) => Promise<Agent>

Property Value

(resourceGroupName: string, storageMoverName: string, agentName: string, agent: AgentUpdateParameters, options?: AgentsUpdateOptionalParams) => Promise<Agent>