Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice.implementation; import java.util.List; import org.joda.time.DateTime; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Process Information.
/** * Process Information. */
@JsonFlatten public class ProcessInfoInner extends ProxyOnlyResource {
ARM Identifier for deployment.
/** * ARM Identifier for deployment. */
@JsonProperty(value = "properties.identifier", access = JsonProperty.Access.WRITE_ONLY) private Integer identifier;
Deployment name.
/** * Deployment name. */
@JsonProperty(value = "properties.deployment_name") private String deploymentName;
HRef URI.
/** * HRef URI. */
@JsonProperty(value = "properties.href") private String href;
Minidump URI.
/** * Minidump URI. */
@JsonProperty(value = "properties.minidump") private String minidump;
Is profile running?.
/** * Is profile running?. */
@JsonProperty(value = "properties.is_profile_running") private Boolean isProfileRunning;
Is the IIS Profile running?.
/** * Is the IIS Profile running?. */
@JsonProperty(value = "properties.is_iis_profile_running") private Boolean isIisProfileRunning;
IIS Profile timeout (seconds).
/** * IIS Profile timeout (seconds). */
@JsonProperty(value = "properties.iis_profile_timeout_in_seconds") private Double iisProfileTimeoutInSeconds;
Parent process.
/** * Parent process. */
@JsonProperty(value = "properties.parent") private String parent;
Child process list.
/** * Child process list. */
@JsonProperty(value = "properties.children") private List<String> children;
Thread list.
/** * Thread list. */
@JsonProperty(value = "properties.threads") private List<ProcessThreadInfoInner> threads;
List of open files.
/** * List of open files. */
@JsonProperty(value = "properties.open_file_handles") private List<String> openFileHandles;
List of modules.
/** * List of modules. */
@JsonProperty(value = "properties.modules") private List<ProcessModuleInfoInner> modules;
File name of this process.
/** * File name of this process. */
@JsonProperty(value = "properties.file_name") private String fileName;
Command line.
/** * Command line. */
@JsonProperty(value = "properties.command_line") private String commandLine;
User name.
/** * User name. */
@JsonProperty(value = "properties.user_name") private String userName;
Handle count.
/** * Handle count. */
@JsonProperty(value = "properties.handle_count") private Integer handleCount;
Module count.
/** * Module count. */
@JsonProperty(value = "properties.module_count") private Integer moduleCount;
Thread count.
/** * Thread count. */
@JsonProperty(value = "properties.thread_count") private Integer threadCount;
Start time.
/** * Start time. */
@JsonProperty(value = "properties.start_time") private DateTime startTime;
Total CPU time.
/** * Total CPU time. */
@JsonProperty(value = "properties.total_cpu_time") private String totalCpuTime;
User CPU time.
/** * User CPU time. */
@JsonProperty(value = "properties.user_cpu_time") private String userCpuTime;
Privileged CPU time.
/** * Privileged CPU time. */
@JsonProperty(value = "properties.privileged_cpu_time") private String privilegedCpuTime;
Working set.
/** * Working set. */
@JsonProperty(value = "properties.working_set") private Long workingSet;
Peak working set.
/** * Peak working set. */
@JsonProperty(value = "properties.peak_working_set") private Long peakWorkingSet;
Private memory size.
/** * Private memory size. */
@JsonProperty(value = "properties.private_memory") private Long privateMemory;
Virtual memory size.
/** * Virtual memory size. */
@JsonProperty(value = "properties.virtual_memory") private Long virtualMemory;
Peak virtual memory usage.
/** * Peak virtual memory usage. */
@JsonProperty(value = "properties.peak_virtual_memory") private Long peakVirtualMemory;
Paged system memory.
/** * Paged system memory. */
@JsonProperty(value = "properties.paged_system_memory") private Long pagedSystemMemory;
Non-paged system memory.
/** * Non-paged system memory. */
@JsonProperty(value = "properties.non_paged_system_memory") private Long nonPagedSystemMemory;
Paged memory.
/** * Paged memory. */
@JsonProperty(value = "properties.paged_memory") private Long pagedMemory;
Peak paged memory.
/** * Peak paged memory. */
@JsonProperty(value = "properties.peak_paged_memory") private Long peakPagedMemory;
Time stamp.
/** * Time stamp. */
@JsonProperty(value = "properties.time_stamp") private DateTime timeStamp;
List of environment variables.
/** * List of environment variables. */
@JsonProperty(value = "properties.environment_variables") private Map<String, String> environmentVariables;
Is this the SCM site?.
/** * Is this the SCM site?. */
@JsonProperty(value = "properties.is_scm_site") private Boolean isScmSite;
Is this a Web Job?.
/** * Is this a Web Job?. */
@JsonProperty(value = "properties.is_webjob") private Boolean isWebjob;
Description of process.
/** * Description of process. */
@JsonProperty(value = "properties.description") private String description;
Get aRM Identifier for deployment.
Returns:the identifier value
/** * Get aRM Identifier for deployment. * * @return the identifier value */
public Integer identifier() { return this.identifier; }
Get deployment name.
Returns:the deploymentName value
/** * Get deployment name. * * @return the deploymentName value */
public String deploymentName() { return this.deploymentName; }
Set deployment name.
Params:
  • deploymentName – the deploymentName value to set
Returns:the ProcessInfoInner object itself.
/** * Set deployment name. * * @param deploymentName the deploymentName value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withDeploymentName(String deploymentName) { this.deploymentName = deploymentName; return this; }
Get hRef URI.
Returns:the href value
/** * Get hRef URI. * * @return the href value */
public String href() { return this.href; }
Set hRef URI.
Params:
  • href – the href value to set
Returns:the ProcessInfoInner object itself.
/** * Set hRef URI. * * @param href the href value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withHref(String href) { this.href = href; return this; }
Get minidump URI.
Returns:the minidump value
/** * Get minidump URI. * * @return the minidump value */
public String minidump() { return this.minidump; }
Set minidump URI.
Params:
  • minidump – the minidump value to set
Returns:the ProcessInfoInner object itself.
/** * Set minidump URI. * * @param minidump the minidump value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withMinidump(String minidump) { this.minidump = minidump; return this; }
Get is profile running?.
Returns:the isProfileRunning value
/** * Get is profile running?. * * @return the isProfileRunning value */
public Boolean isProfileRunning() { return this.isProfileRunning; }
Set is profile running?.
Params:
  • isProfileRunning – the isProfileRunning value to set
Returns:the ProcessInfoInner object itself.
/** * Set is profile running?. * * @param isProfileRunning the isProfileRunning value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withIsProfileRunning(Boolean isProfileRunning) { this.isProfileRunning = isProfileRunning; return this; }
Get is the IIS Profile running?.
Returns:the isIisProfileRunning value
/** * Get is the IIS Profile running?. * * @return the isIisProfileRunning value */
public Boolean isIisProfileRunning() { return this.isIisProfileRunning; }
Set is the IIS Profile running?.
Params:
  • isIisProfileRunning – the isIisProfileRunning value to set
Returns:the ProcessInfoInner object itself.
/** * Set is the IIS Profile running?. * * @param isIisProfileRunning the isIisProfileRunning value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withIsIisProfileRunning(Boolean isIisProfileRunning) { this.isIisProfileRunning = isIisProfileRunning; return this; }
Get iIS Profile timeout (seconds).
Returns:the iisProfileTimeoutInSeconds value
/** * Get iIS Profile timeout (seconds). * * @return the iisProfileTimeoutInSeconds value */
public Double iisProfileTimeoutInSeconds() { return this.iisProfileTimeoutInSeconds; }
Set iIS Profile timeout (seconds).
Params:
  • iisProfileTimeoutInSeconds – the iisProfileTimeoutInSeconds value to set
Returns:the ProcessInfoInner object itself.
/** * Set iIS Profile timeout (seconds). * * @param iisProfileTimeoutInSeconds the iisProfileTimeoutInSeconds value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withIisProfileTimeoutInSeconds(Double iisProfileTimeoutInSeconds) { this.iisProfileTimeoutInSeconds = iisProfileTimeoutInSeconds; return this; }
Get parent process.
Returns:the parent value
/** * Get parent process. * * @return the parent value */
public String parent() { return this.parent; }
Set parent process.
Params:
  • parent – the parent value to set
Returns:the ProcessInfoInner object itself.
/** * Set parent process. * * @param parent the parent value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withParent(String parent) { this.parent = parent; return this; }
Get child process list.
Returns:the children value
/** * Get child process list. * * @return the children value */
public List<String> children() { return this.children; }
Set child process list.
Params:
  • children – the children value to set
Returns:the ProcessInfoInner object itself.
/** * Set child process list. * * @param children the children value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withChildren(List<String> children) { this.children = children; return this; }
Get thread list.
Returns:the threads value
/** * Get thread list. * * @return the threads value */
public List<ProcessThreadInfoInner> threads() { return this.threads; }
Set thread list.
Params:
  • threads – the threads value to set
Returns:the ProcessInfoInner object itself.
/** * Set thread list. * * @param threads the threads value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withThreads(List<ProcessThreadInfoInner> threads) { this.threads = threads; return this; }
Get list of open files.
Returns:the openFileHandles value
/** * Get list of open files. * * @return the openFileHandles value */
public List<String> openFileHandles() { return this.openFileHandles; }
Set list of open files.
Params:
  • openFileHandles – the openFileHandles value to set
Returns:the ProcessInfoInner object itself.
/** * Set list of open files. * * @param openFileHandles the openFileHandles value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withOpenFileHandles(List<String> openFileHandles) { this.openFileHandles = openFileHandles; return this; }
Get list of modules.
Returns:the modules value
/** * Get list of modules. * * @return the modules value */
public List<ProcessModuleInfoInner> modules() { return this.modules; }
Set list of modules.
Params:
  • modules – the modules value to set
Returns:the ProcessInfoInner object itself.
/** * Set list of modules. * * @param modules the modules value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withModules(List<ProcessModuleInfoInner> modules) { this.modules = modules; return this; }
Get file name of this process.
Returns:the fileName value
/** * Get file name of this process. * * @return the fileName value */
public String fileName() { return this.fileName; }
Set file name of this process.
Params:
  • fileName – the fileName value to set
Returns:the ProcessInfoInner object itself.
/** * Set file name of this process. * * @param fileName the fileName value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withFileName(String fileName) { this.fileName = fileName; return this; }
Get command line.
Returns:the commandLine value
/** * Get command line. * * @return the commandLine value */
public String commandLine() { return this.commandLine; }
Set command line.
Params:
  • commandLine – the commandLine value to set
Returns:the ProcessInfoInner object itself.
/** * Set command line. * * @param commandLine the commandLine value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withCommandLine(String commandLine) { this.commandLine = commandLine; return this; }
Get user name.
Returns:the userName value
/** * Get user name. * * @return the userName value */
public String userName() { return this.userName; }
Set user name.
Params:
  • userName – the userName value to set
Returns:the ProcessInfoInner object itself.
/** * Set user name. * * @param userName the userName value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withUserName(String userName) { this.userName = userName; return this; }
Get handle count.
Returns:the handleCount value
/** * Get handle count. * * @return the handleCount value */
public Integer handleCount() { return this.handleCount; }
Set handle count.
Params:
  • handleCount – the handleCount value to set
Returns:the ProcessInfoInner object itself.
/** * Set handle count. * * @param handleCount the handleCount value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withHandleCount(Integer handleCount) { this.handleCount = handleCount; return this; }
Get module count.
Returns:the moduleCount value
/** * Get module count. * * @return the moduleCount value */
public Integer moduleCount() { return this.moduleCount; }
Set module count.
Params:
  • moduleCount – the moduleCount value to set
Returns:the ProcessInfoInner object itself.
/** * Set module count. * * @param moduleCount the moduleCount value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withModuleCount(Integer moduleCount) { this.moduleCount = moduleCount; return this; }
Get thread count.
Returns:the threadCount value
/** * Get thread count. * * @return the threadCount value */
public Integer threadCount() { return this.threadCount; }
Set thread count.
Params:
  • threadCount – the threadCount value to set
Returns:the ProcessInfoInner object itself.
/** * Set thread count. * * @param threadCount the threadCount value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withThreadCount(Integer threadCount) { this.threadCount = threadCount; return this; }
Get start time.
Returns:the startTime value
/** * Get start time. * * @return the startTime value */
public DateTime startTime() { return this.startTime; }
Set start time.
Params:
  • startTime – the startTime value to set
Returns:the ProcessInfoInner object itself.
/** * Set start time. * * @param startTime the startTime value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withStartTime(DateTime startTime) { this.startTime = startTime; return this; }
Get total CPU time.
Returns:the totalCpuTime value
/** * Get total CPU time. * * @return the totalCpuTime value */
public String totalCpuTime() { return this.totalCpuTime; }
Set total CPU time.
Params:
  • totalCpuTime – the totalCpuTime value to set
Returns:the ProcessInfoInner object itself.
/** * Set total CPU time. * * @param totalCpuTime the totalCpuTime value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withTotalCpuTime(String totalCpuTime) { this.totalCpuTime = totalCpuTime; return this; }
Get user CPU time.
Returns:the userCpuTime value
/** * Get user CPU time. * * @return the userCpuTime value */
public String userCpuTime() { return this.userCpuTime; }
Set user CPU time.
Params:
  • userCpuTime – the userCpuTime value to set
Returns:the ProcessInfoInner object itself.
/** * Set user CPU time. * * @param userCpuTime the userCpuTime value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withUserCpuTime(String userCpuTime) { this.userCpuTime = userCpuTime; return this; }
Get privileged CPU time.
Returns:the privilegedCpuTime value
/** * Get privileged CPU time. * * @return the privilegedCpuTime value */
public String privilegedCpuTime() { return this.privilegedCpuTime; }
Set privileged CPU time.
Params:
  • privilegedCpuTime – the privilegedCpuTime value to set
Returns:the ProcessInfoInner object itself.
/** * Set privileged CPU time. * * @param privilegedCpuTime the privilegedCpuTime value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPrivilegedCpuTime(String privilegedCpuTime) { this.privilegedCpuTime = privilegedCpuTime; return this; }
Get working set.
Returns:the workingSet value
/** * Get working set. * * @return the workingSet value */
public Long workingSet() { return this.workingSet; }
Set working set.
Params:
  • workingSet – the workingSet value to set
Returns:the ProcessInfoInner object itself.
/** * Set working set. * * @param workingSet the workingSet value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withWorkingSet(Long workingSet) { this.workingSet = workingSet; return this; }
Get peak working set.
Returns:the peakWorkingSet value
/** * Get peak working set. * * @return the peakWorkingSet value */
public Long peakWorkingSet() { return this.peakWorkingSet; }
Set peak working set.
Params:
  • peakWorkingSet – the peakWorkingSet value to set
Returns:the ProcessInfoInner object itself.
/** * Set peak working set. * * @param peakWorkingSet the peakWorkingSet value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPeakWorkingSet(Long peakWorkingSet) { this.peakWorkingSet = peakWorkingSet; return this; }
Get private memory size.
Returns:the privateMemory value
/** * Get private memory size. * * @return the privateMemory value */
public Long privateMemory() { return this.privateMemory; }
Set private memory size.
Params:
  • privateMemory – the privateMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set private memory size. * * @param privateMemory the privateMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPrivateMemory(Long privateMemory) { this.privateMemory = privateMemory; return this; }
Get virtual memory size.
Returns:the virtualMemory value
/** * Get virtual memory size. * * @return the virtualMemory value */
public Long virtualMemory() { return this.virtualMemory; }
Set virtual memory size.
Params:
  • virtualMemory – the virtualMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set virtual memory size. * * @param virtualMemory the virtualMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withVirtualMemory(Long virtualMemory) { this.virtualMemory = virtualMemory; return this; }
Get peak virtual memory usage.
Returns:the peakVirtualMemory value
/** * Get peak virtual memory usage. * * @return the peakVirtualMemory value */
public Long peakVirtualMemory() { return this.peakVirtualMemory; }
Set peak virtual memory usage.
Params:
  • peakVirtualMemory – the peakVirtualMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set peak virtual memory usage. * * @param peakVirtualMemory the peakVirtualMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPeakVirtualMemory(Long peakVirtualMemory) { this.peakVirtualMemory = peakVirtualMemory; return this; }
Get paged system memory.
Returns:the pagedSystemMemory value
/** * Get paged system memory. * * @return the pagedSystemMemory value */
public Long pagedSystemMemory() { return this.pagedSystemMemory; }
Set paged system memory.
Params:
  • pagedSystemMemory – the pagedSystemMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set paged system memory. * * @param pagedSystemMemory the pagedSystemMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPagedSystemMemory(Long pagedSystemMemory) { this.pagedSystemMemory = pagedSystemMemory; return this; }
Get non-paged system memory.
Returns:the nonPagedSystemMemory value
/** * Get non-paged system memory. * * @return the nonPagedSystemMemory value */
public Long nonPagedSystemMemory() { return this.nonPagedSystemMemory; }
Set non-paged system memory.
Params:
  • nonPagedSystemMemory – the nonPagedSystemMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set non-paged system memory. * * @param nonPagedSystemMemory the nonPagedSystemMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withNonPagedSystemMemory(Long nonPagedSystemMemory) { this.nonPagedSystemMemory = nonPagedSystemMemory; return this; }
Get paged memory.
Returns:the pagedMemory value
/** * Get paged memory. * * @return the pagedMemory value */
public Long pagedMemory() { return this.pagedMemory; }
Set paged memory.
Params:
  • pagedMemory – the pagedMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set paged memory. * * @param pagedMemory the pagedMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPagedMemory(Long pagedMemory) { this.pagedMemory = pagedMemory; return this; }
Get peak paged memory.
Returns:the peakPagedMemory value
/** * Get peak paged memory. * * @return the peakPagedMemory value */
public Long peakPagedMemory() { return this.peakPagedMemory; }
Set peak paged memory.
Params:
  • peakPagedMemory – the peakPagedMemory value to set
Returns:the ProcessInfoInner object itself.
/** * Set peak paged memory. * * @param peakPagedMemory the peakPagedMemory value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withPeakPagedMemory(Long peakPagedMemory) { this.peakPagedMemory = peakPagedMemory; return this; }
Get time stamp.
Returns:the timeStamp value
/** * Get time stamp. * * @return the timeStamp value */
public DateTime timeStamp() { return this.timeStamp; }
Set time stamp.
Params:
  • timeStamp – the timeStamp value to set
Returns:the ProcessInfoInner object itself.
/** * Set time stamp. * * @param timeStamp the timeStamp value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withTimeStamp(DateTime timeStamp) { this.timeStamp = timeStamp; return this; }
Get list of environment variables.
Returns:the environmentVariables value
/** * Get list of environment variables. * * @return the environmentVariables value */
public Map<String, String> environmentVariables() { return this.environmentVariables; }
Set list of environment variables.
Params:
  • environmentVariables – the environmentVariables value to set
Returns:the ProcessInfoInner object itself.
/** * Set list of environment variables. * * @param environmentVariables the environmentVariables value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withEnvironmentVariables(Map<String, String> environmentVariables) { this.environmentVariables = environmentVariables; return this; }
Get is this the SCM site?.
Returns:the isScmSite value
/** * Get is this the SCM site?. * * @return the isScmSite value */
public Boolean isScmSite() { return this.isScmSite; }
Set is this the SCM site?.
Params:
  • isScmSite – the isScmSite value to set
Returns:the ProcessInfoInner object itself.
/** * Set is this the SCM site?. * * @param isScmSite the isScmSite value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withIsScmSite(Boolean isScmSite) { this.isScmSite = isScmSite; return this; }
Get is this a Web Job?.
Returns:the isWebjob value
/** * Get is this a Web Job?. * * @return the isWebjob value */
public Boolean isWebjob() { return this.isWebjob; }
Set is this a Web Job?.
Params:
  • isWebjob – the isWebjob value to set
Returns:the ProcessInfoInner object itself.
/** * Set is this a Web Job?. * * @param isWebjob the isWebjob value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withIsWebjob(Boolean isWebjob) { this.isWebjob = isWebjob; return this; }
Get description of process.
Returns:the description value
/** * Get description of process. * * @return the description value */
public String description() { return this.description; }
Set description of process.
Params:
  • description – the description value to set
Returns:the ProcessInfoInner object itself.
/** * Set description of process. * * @param description the description value to set * @return the ProcessInfoInner object itself. */
public ProcessInfoInner withDescription(String description) { this.description = description; return this; } }