次の方法で共有


Module Class

Definition

A class that contains the module-common code and data.

public class Module
type Module = class
Public Class Module
Inheritance
Module

Fields

_handler
_useProxy
_webProxy
Profile

The currently selected profile.

Properties

AddAuthorizeRequestHandler

The delegate to call before each new request to add authorization.

AddPatchRequestUriHandler

The delegate to call before each new request to patch request uri.

AddRequestUserAgentHandler

The delegate to call before each new request to add request user agent.

ArgumentCompleter

Gets completion data for azure specific fields

ClientAPI

The instance of the Client API

EventListener

A delegate that gets called for each signalled event

GetParameterValue

The delegate to call to get parameter data from a common module.

GetTelemetryId

The delegate to get the telemetry Id.

Instance

the singleton of this module class

Name

The Name of this module

OnModuleLoad

The delegate to call when this module is loaded (supporting a commmon module).

ProfileName

The name of the currently selected Azure profile

ResourceId

The ResourceID for this module (azure arm).

Telemetry

The delegate for creating a telemetry.

Methods

CreatePipeline(InvocationInfo, String, String, String, IDictionary<String,Object>)

Creates an instance of the HttpPipeline for each call.

GetParameter(InvocationInfo, String, String)

Gets parameters from a common module.

Init()

Initialization steps performed after the module is loaded.

SendAsync(HttpRequestMessage, IEventListener, ISendAsync)
SetProxyConfiguration(Uri, PSCredential, Boolean)
Signal(String, CancellationToken, Func<EventArgs>, Func<String, CancellationToken,Func<EventArgs>,Task>, InvocationInfo, String, String, String, Exception)

Called to dispatch events to the common module listener

Applies to