StorageManagementClient class
- Extends
-
AzureServiceClient
Constructors
Storage |
Initializes a new instance of the StorageManagementClient class. |
Properties
accept |
|
api |
|
blob |
|
blob |
|
credentials | |
generate |
|
long |
|
management |
|
operations | |
skus | |
storage |
|
subscription |
|
usages |
Inherited Methods
Constructor Details
StorageManagementClient(ServiceClientCredentials, string, string, AzureServiceClientOptions)
Initializes a new instance of the StorageManagementClient class.
new StorageManagementClient(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions)
Parameters
- credentials
-
ServiceClientCredentials
Credentials needed for the client to connect to Azure.
- subscriptionId
-
string
The ID of the target subscription.
- baseUri
-
string
The base URI of the service.
- options
-
AzureServiceClientOptions
The parameter options
Property Details
acceptLanguage
acceptLanguage: string
Property Value
string
apiVersion
apiVersion: string
Property Value
string
blobContainers
blobContainers: BlobContainers
Property Value
BlobContainers
blobServices
blobServices: BlobServices
Property Value
BlobServices
credentials
credentials: ServiceClientCredentials
Property Value
ServiceClientCredentials
generateClientRequestId
generateClientRequestId: boolean
Property Value
boolean
longRunningOperationRetryTimeout
longRunningOperationRetryTimeout: number
Property Value
number
managementPolicies
managementPolicies: ManagementPolicies
Property Value
ManagementPolicies
operations
operations: Operations
Property Value
Operations
skus
skus: Skus
Property Value
Skus
storageAccounts
storageAccounts: StorageAccounts
Property Value
StorageAccounts
subscriptionId
subscriptionId: string
Property Value
string
usages
usages: Usages
Property Value
Usages
Inherited Method Details
addUserAgentInfo(any)
Adds custom information to user agent header
function addUserAgentInfo(additionalUserAgentInfo: any)
Parameters
- additionalUserAgentInfo
-
any
information to be added to user agent header, as string.
Inherited From AzureServiceClient.addUserAgentInfo
getLongRunningOperationResult<TResult>(HttpOperationResponse<TResult>, RequestOptions)
function getLongRunningOperationResult<TResult>(resultOfInitialRequest: HttpOperationResponse<TResult>, options?: RequestOptions): Promise<TResult>
Parameters
- resultOfInitialRequest
-
HttpOperationResponse<TResult>
- options
-
RequestOptions
Returns
Promise<TResult>
Inherited From AzureServiceClient.getLongRunningOperationResult
getLongRunningOperationResult<TResult>(HttpOperationResponse<TResult>, RequestOptions, ServiceCallback<TResult>)
function getLongRunningOperationResult<TResult>(resultOfInitialRequest: HttpOperationResponse<TResult>, options: RequestOptions, callback: ServiceCallback<TResult>)
Parameters
- resultOfInitialRequest
-
HttpOperationResponse<TResult>
- options
-
RequestOptions
- callback
-
ServiceCallback<TResult>
Inherited From AzureServiceClient.getLongRunningOperationResult
getLongRunningOperationResult<TResult>(HttpOperationResponse<TResult>, ServiceCallback<TResult>)
function getLongRunningOperationResult<TResult>(resultOfInitialRequest: HttpOperationResponse<TResult>, callback: ServiceCallback<TResult>)
Parameters
- resultOfInitialRequest
-
HttpOperationResponse<TResult>
- callback
-
ServiceCallback<TResult>
Inherited From AzureServiceClient.getLongRunningOperationResult
getPackageJsonInfo(string)
Attempts to find package.json for the given azure nodejs package. If found, returns the name and version of the package by reading the package.json If package.json is not found, returns a default value.
function getPackageJsonInfo(managementClientDir: string): { name: string, version: string }
Parameters
- managementClientDir
-
string
pass the directory of the specific azure management client.
Returns
{ name: string, version: string }
packageJsonInfo - "name" and "version" of the desired package.
Inherited From AzureServiceClient.getPackageJsonInfo
sendLongRunningRequest<TResult>(LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions)
function sendLongRunningRequest<TResult>(options: LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions): Promise<TResult>
Parameters
- options
-
LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions
Returns
Promise<TResult>
Inherited From AzureServiceClient.sendLongRunningRequest
sendLongRunningRequest<TResult>(LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions, ServiceCallback<TResult>)
function sendLongRunningRequest<TResult>(options: LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions, callback: ServiceCallback<TResult>)
Parameters
- options
-
LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions
- callback
-
ServiceCallback<TResult>
Inherited From AzureServiceClient.sendLongRunningRequest
sendLongRunningRequestWithHttpOperationResponse<TResult>(LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions)
function sendLongRunningRequestWithHttpOperationResponse<TResult>(options: LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions): Promise<HttpOperationResponse<TResult>>
Parameters
- options
-
LongRunningUrlBasedRequestPrepareOptions | LongRunningPathTemplateBasedRequestPrepareOptions
Returns
Promise<HttpOperationResponse<TResult>>
Inherited From AzureServiceClient.sendLongRunningRequestWithHttpOperationResponse
sendRequest<TResult>(UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions)
function sendRequest<TResult>(options: UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions): Promise<TResult>
Parameters
- options
-
UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions
Returns
Promise<TResult>
Inherited From AzureServiceClient.sendRequest
sendRequest<TResult>(UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions, ServiceCallback<TResult>)
function sendRequest<TResult>(options: UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions, callback: ServiceCallback<TResult>)
Parameters
- options
-
UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions
- callback
-
ServiceCallback<TResult>
Inherited From AzureServiceClient.sendRequest
sendRequestWithHttpOperationResponse<TResult>(UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions)
function sendRequestWithHttpOperationResponse<TResult>(options: UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions): Promise<HttpOperationResponse<TResult>>
Parameters
- options
-
UrlBasedRequestPrepareOptions | PathTemplateBasedRequestPrepareOptions
Returns
Promise<HttpOperationResponse<TResult>>
Inherited From AzureServiceClient.sendRequestWithHttpOperationResponse
Azure SDK for JavaScript