Class ContainerServiceVMDiagnostics
Profile for diagnostics on the container service VMs.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class ContainerServiceVMDiagnostics
Constructors
ContainerServiceVMDiagnostics()
Initializes a new instance of the ContainerServiceVMDiagnostics class.
Declaration
public ContainerServiceVMDiagnostics ();
ContainerServiceVMDiagnostics(Boolean, String)
Initializes a new instance of the ContainerServiceVMDiagnostics class.
Declaration
public ContainerServiceVMDiagnostics (bool enabled, string storageUri = null);
Parameters
|
Boolean
enabled
Whether the VM diagnostic agent is provisioned on the VM. |
|
String
storageUri
The URI of the storage account where diagnostics are stored. |
Properties
Enabled
Gets or sets whether the VM diagnostic agent is provisioned on the VM.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="enabled")]
public bool Enabled { get; set; }
Property Value
|
Boolean
|
StorageUri
Gets the URI of the storage account where diagnostics are stored.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="storageUri")]
public string StorageUri { get; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |