ApplicationInsightsComponentApiKeyInner Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. fluent. models. ApplicationInsightsComponentApiKeyInner
- com.
Implements
public final class ApplicationInsightsComponentApiKeyInner
implements JsonSerializable<ApplicationInsightsComponentApiKeyInner>
Properties that define an API key of an Application Insights Component.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationInsightsComponentApiKeyInner() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
apiKey()
Get the api |
| String |
createdDate()
Get the created |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
id()
Get the id property: The unique ID of the API key inside an Application Insights component. |
| List<String> |
linkedReadProperties()
Get the linked |
| List<String> |
linkedWriteProperties()
Get the linked |
| String |
name()
Get the name property: The name of the API key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withCreatedDate(String createdDate)
Set the created |
|
Application |
withLinkedReadProperties(List<String> linkedReadProperties)
Set the linked |
|
Application |
withLinkedWriteProperties(List<String> linkedWriteProperties)
Set the linked |
|
Application |
withName(String name)
Set the name property: The name of the API key. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationInsightsComponentApiKeyInner
public ApplicationInsightsComponentApiKeyInner()
Creates an instance of ApplicationInsightsComponentApiKeyInner class.
Method Details
apiKey
public String apiKey()
Get the apiKey property: The API key value. It will be only return once when the API Key was created.
Returns:
createdDate
public String createdDate()
Get the createdDate property: The create date of this API key.
Returns:
fromJson
public static ApplicationInsightsComponentApiKeyInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationInsightsComponentApiKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String 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:
linkedReadProperties
public List<String> linkedReadProperties()
Get the linkedReadProperties property: The read access rights of this API Key.
Returns:
linkedWriteProperties
public List<String> linkedWriteProperties()
Get the linkedWriteProperties property: The write access rights of this API Key.
Returns:
name
public String name()
Get the name property: The name of the API key.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreatedDate
public ApplicationInsightsComponentApiKeyInner withCreatedDate(String createdDate)
Set the createdDate property: The create date of this API key.
Parameters:
Returns:
withLinkedReadProperties
public ApplicationInsightsComponentApiKeyInner withLinkedReadProperties(List<String> linkedReadProperties)
Set the linkedReadProperties property: The read access rights of this API Key.
Parameters:
Returns:
withLinkedWriteProperties
public ApplicationInsightsComponentApiKeyInner withLinkedWriteProperties(List<String> linkedWriteProperties)
Set the linkedWriteProperties property: The write access rights of this API Key.
Parameters:
Returns:
withName
public ApplicationInsightsComponentApiKeyInner withName(String name)
Set the name property: The name of the API key.
Parameters:
Returns: