private SetDiagnostics ( string cacheId, string storageAccountName ) : void | ||
cacheId | string | |
storageAccountName | string | |
return | void |
internal void SetDiagnostics(string cacheId, string storageAccountName)
{
_insightsClient.ServiceDiagnosticSettingsOperations.Put(
resourceUri: cacheId,
parameters: new ServiceDiagnosticSettingsPutParameters
{
Properties = new ServiceDiagnosticSettings
{
StorageAccountName = storageAccountName
}
}
);
}