ComponentLinkedStorageAccountsOperations class
Class representing a ComponentLinkedStorageAccountsOperations.
Constructors
Component |
Create a ComponentLinkedStorageAccountsOperations. |
Methods
Constructor Details
ComponentLinkedStorageAccountsOperations(ApplicationInsightsManagementClientContext)
Create a ComponentLinkedStorageAccountsOperations.
new ComponentLinkedStorageAccountsOperations(client: ApplicationInsightsManagementClientContext)
Parameters
Reference to the service client.
Method Details
createAndUpdate(string, string, ComponentLinkedStorageAccounts, RequestOptionsBase)
Replace current linked storage account for an Application Insights component.
function createAndUpdate(resourceGroupName: string, resourceName: string, linkedStorageAccountsProperties: ComponentLinkedStorageAccounts, options?: RequestOptionsBase): Promise<ComponentLinkedStorageAccountsCreateAndUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- linkedStorageAccountsProperties
- ComponentLinkedStorageAccounts
Properties that need to be specified to update linked storage accounts for an Application Insights component.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ComponentLinkedStorageAccountsCreateAndUpdateResponse>
createAndUpdate(string, string, ComponentLinkedStorageAccounts, RequestOptionsBase, ServiceCallback<ComponentLinkedStorageAccounts>)
function createAndUpdate(resourceGroupName: string, resourceName: string, linkedStorageAccountsProperties: ComponentLinkedStorageAccounts, options: RequestOptionsBase, callback: ServiceCallback<ComponentLinkedStorageAccounts>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- linkedStorageAccountsProperties
- ComponentLinkedStorageAccounts
Properties that need to be specified to update linked storage accounts for an Application Insights component.
- options
- RequestOptionsBase
The optional parameters
The callback
createAndUpdate(string, string, ComponentLinkedStorageAccounts, ServiceCallback<ComponentLinkedStorageAccounts>)
function createAndUpdate(resourceGroupName: string, resourceName: string, linkedStorageAccountsProperties: ComponentLinkedStorageAccounts, callback: ServiceCallback<ComponentLinkedStorageAccounts>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- linkedStorageAccountsProperties
- ComponentLinkedStorageAccounts
Properties that need to be specified to update linked storage accounts for an Application Insights component.
The callback
deleteMethod(string, string, RequestOptionsBase)
Delete linked storage accounts for an Application Insights component.
function deleteMethod(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, resourceName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- callback
-
ServiceCallback<void>
The callback
get(string, string, RequestOptionsBase)
Returns the current linked storage settings for an Application Insights component.
function get(resourceGroupName: string, resourceName: string, options?: RequestOptionsBase): Promise<ComponentLinkedStorageAccountsGetResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ComponentLinkedStorageAccountsGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<ComponentLinkedStorageAccounts>)
function get(resourceGroupName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ComponentLinkedStorageAccounts>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- options
- RequestOptionsBase
The optional parameters
The callback
get(string, string, ServiceCallback<ComponentLinkedStorageAccounts>)
function get(resourceGroupName: string, resourceName: string, callback: ServiceCallback<ComponentLinkedStorageAccounts>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
The callback
update(string, string, ComponentLinkedStorageAccountsPatch, RequestOptionsBase)
Update linked storage accounts for an Application Insights component.
function update(resourceGroupName: string, resourceName: string, linkedStorageAccountsProperties: ComponentLinkedStorageAccountsPatch, options?: RequestOptionsBase): Promise<ComponentLinkedStorageAccountsUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- linkedStorageAccountsProperties
- ComponentLinkedStorageAccountsPatch
Properties that need to be specified to update a linked storage accounts for an Application Insights component.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ComponentLinkedStorageAccountsUpdateResponse>
update(string, string, ComponentLinkedStorageAccountsPatch, RequestOptionsBase, ServiceCallback<ComponentLinkedStorageAccounts>)
function update(resourceGroupName: string, resourceName: string, linkedStorageAccountsProperties: ComponentLinkedStorageAccountsPatch, options: RequestOptionsBase, callback: ServiceCallback<ComponentLinkedStorageAccounts>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- linkedStorageAccountsProperties
- ComponentLinkedStorageAccountsPatch
Properties that need to be specified to update a linked storage accounts for an Application Insights component.
- options
- RequestOptionsBase
The optional parameters
The callback
update(string, string, ComponentLinkedStorageAccountsPatch, ServiceCallback<ComponentLinkedStorageAccounts>)
function update(resourceGroupName: string, resourceName: string, linkedStorageAccountsProperties: ComponentLinkedStorageAccountsPatch, callback: ServiceCallback<ComponentLinkedStorageAccounts>)
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the Application Insights component resource.
- linkedStorageAccountsProperties
- ComponentLinkedStorageAccountsPatch
Properties that need to be specified to update a linked storage accounts for an Application Insights component.
The callback