Class ApplicationInsightsComponentApiKeyInner
java.lang.Object
com.azure.resourcemanager.applicationinsights.fluent.models.ApplicationInsightsComponentApiKeyInner
Properties that define an API key of an Application Insights Component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiKey()
Get the apiKey property: The API key value.Get the createdDate property: The create date of this API key.id()
Get the id property: The unique ID of the API key inside an Application Insights component.Get the linkedReadProperties property: The read access rights of this API Key.Get the linkedWriteProperties property: The write access rights of this API Key.name()
Get the name property: The name of the API key.void
validate()
Validates the instance.withCreatedDate
(String createdDate) Set the createdDate property: The create date of this API key.withLinkedReadProperties
(List<String> linkedReadProperties) Set the linkedReadProperties property: The read access rights of this API Key.withLinkedWriteProperties
(List<String> linkedWriteProperties) Set the linkedWriteProperties property: The write access rights of this API Key.Set the name property: The name of the API key.
-
Constructor Details
-
ApplicationInsightsComponentApiKeyInner
public ApplicationInsightsComponentApiKeyInner()
-
-
Method Details
-
id
Get the id property: The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is created.- Returns:
- the id value.
-
apiKey
Get the apiKey property: The API key value. It will be only return once when the API Key was created.- Returns:
- the apiKey value.
-
createdDate
Get the createdDate property: The create date of this API key.- Returns:
- the createdDate value.
-
withCreatedDate
Set the createdDate property: The create date of this API key.- Parameters:
createdDate
- the createdDate value to set.- Returns:
- the ApplicationInsightsComponentApiKeyInner object itself.
-
name
Get the name property: The name of the API key.- Returns:
- the name value.
-
withName
Set the name property: The name of the API key.- Parameters:
name
- the name value to set.- Returns:
- the ApplicationInsightsComponentApiKeyInner object itself.
-
linkedReadProperties
Get the linkedReadProperties property: The read access rights of this API Key.- Returns:
- the linkedReadProperties value.
-
withLinkedReadProperties
public ApplicationInsightsComponentApiKeyInner withLinkedReadProperties(List<String> linkedReadProperties) Set the linkedReadProperties property: The read access rights of this API Key.- Parameters:
linkedReadProperties
- the linkedReadProperties value to set.- Returns:
- the ApplicationInsightsComponentApiKeyInner object itself.
-
linkedWriteProperties
Get the linkedWriteProperties property: The write access rights of this API Key.- Returns:
- the linkedWriteProperties value.
-
withLinkedWriteProperties
public ApplicationInsightsComponentApiKeyInner withLinkedWriteProperties(List<String> linkedWriteProperties) Set the linkedWriteProperties property: The write access rights of this API Key.- Parameters:
linkedWriteProperties
- the linkedWriteProperties value to set.- Returns:
- the ApplicationInsightsComponentApiKeyInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-