SecurityInsightsExtensions.GetSecurityInsightsMetadata Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a Metadata. <item> Mocking. To mock this method, please mock GetSecurityInsightsMetadata(ResourceIdentifier, String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsMetadataResource> GetSecurityInsightsMetadata(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string metadataName, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityInsightsMetadata : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsMetadataResource>
<Extension()>
Public Function GetSecurityInsightsMetadata (client As ArmClient, scope As ResourceIdentifier, metadataName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsMetadataResource)
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- metadataName
- String
The Metadata name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
client is null.