diff --git a/sdk/policyinsights/mgmt-v2018_04_04/pom.xml b/sdk/policyinsights/mgmt-v2018_04_04/pom.xml index ea4cdb69ed3b..0e82e83b4f0d 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/pom.xml +++ b/sdk/policyinsights/mgmt-v2018_04_04/pom.xml @@ -11,15 +11,15 @@ com.microsoft.azure azure-arm-parent - 1.2.0 - ../../parents/azure-arm-parent + 1.1.0 + ../../../pom.management.xml azure-mgmt-policyinsights - 1.0.0-beta-1 + 1.0.0-beta jar Microsoft Azure SDK for PolicyInsights Management This package contains Microsoft PolicyInsights Management SDK. - https://github.com/Azure/azure-libraries-for-java + https://github.com/Azure/azure-sdk-for-java The MIT License (MIT) @@ -28,8 +28,8 @@ - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git HEAD @@ -64,15 +64,15 @@ com.microsoft.azure azure-mgmt-resources - 1.11.1 test com.microsoft.azure azure-arm-client-runtime - 1.5.2 test-jar test + + 1.6.5 diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/OperationDisplay.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/OperationDisplay.java index 20ecbc62ba34..b1c5a01b83dc 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/OperationDisplay.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/OperationDisplay.java @@ -39,7 +39,7 @@ public class OperationDisplay { private String description; /** - * Get the provider value. + * Get resource provider name. * * @return the provider value */ @@ -48,7 +48,7 @@ public String provider() { } /** - * Set the provider value. + * Set resource provider name. * * @param provider the provider value to set * @return the OperationDisplay object itself. @@ -59,7 +59,7 @@ public OperationDisplay withProvider(String provider) { } /** - * Get the resource value. + * Get resource name on which the operation is performed. * * @return the resource value */ @@ -68,7 +68,7 @@ public String resource() { } /** - * Set the resource value. + * Set resource name on which the operation is performed. * * @param resource the resource value to set * @return the OperationDisplay object itself. @@ -79,7 +79,7 @@ public OperationDisplay withResource(String resource) { } /** - * Get the operation value. + * Get operation name. * * @return the operation value */ @@ -88,7 +88,7 @@ public String operation() { } /** - * Set the operation value. + * Set operation name. * * @param operation the operation value to set * @return the OperationDisplay object itself. @@ -99,7 +99,7 @@ public OperationDisplay withOperation(String operation) { } /** - * Get the description value. + * Get operation description. * * @return the description value */ @@ -108,7 +108,7 @@ public String description() { } /** - * Set the description value. + * Set operation description. * * @param description the description value to set * @return the OperationDisplay object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyAssignmentSummary.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyAssignmentSummary.java index 853e2cfeca65..4cf796ef8f23 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyAssignmentSummary.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyAssignmentSummary.java @@ -40,7 +40,7 @@ public class PolicyAssignmentSummary { private List policyDefinitions; /** - * Get the policyAssignmentId value. + * Get policy assignment ID. * * @return the policyAssignmentId value */ @@ -49,7 +49,7 @@ public String policyAssignmentId() { } /** - * Set the policyAssignmentId value. + * Set policy assignment ID. * * @param policyAssignmentId the policyAssignmentId value to set * @return the PolicyAssignmentSummary object itself. @@ -60,7 +60,7 @@ public PolicyAssignmentSummary withPolicyAssignmentId(String policyAssignmentId) } /** - * Get the policySetDefinitionId value. + * Get policy set definition ID, if the policy assignment is for a policy set. * * @return the policySetDefinitionId value */ @@ -69,7 +69,7 @@ public String policySetDefinitionId() { } /** - * Set the policySetDefinitionId value. + * Set policy set definition ID, if the policy assignment is for a policy set. * * @param policySetDefinitionId the policySetDefinitionId value to set * @return the PolicyAssignmentSummary object itself. @@ -80,7 +80,7 @@ public PolicyAssignmentSummary withPolicySetDefinitionId(String policySetDefinit } /** - * Get the results value. + * Get non-compliance summary for the policy assignment. * * @return the results value */ @@ -89,7 +89,7 @@ public SummaryResults results() { } /** - * Set the results value. + * Set non-compliance summary for the policy assignment. * * @param results the results value to set * @return the PolicyAssignmentSummary object itself. @@ -100,7 +100,7 @@ public PolicyAssignmentSummary withResults(SummaryResults results) { } /** - * Get the policyDefinitions value. + * Get policy definitions summary. * * @return the policyDefinitions value */ @@ -109,7 +109,7 @@ public List policyDefinitions() { } /** - * Set the policyDefinitions value. + * Set policy definitions summary. * * @param policyDefinitions the policyDefinitions value to set * @return the PolicyAssignmentSummary object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyDefinitionSummary.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyDefinitionSummary.java index 20b027ebfac2..74c45dbcef70 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyDefinitionSummary.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyDefinitionSummary.java @@ -39,7 +39,7 @@ public class PolicyDefinitionSummary { private SummaryResults results; /** - * Get the policyDefinitionId value. + * Get policy definition ID. * * @return the policyDefinitionId value */ @@ -48,7 +48,7 @@ public String policyDefinitionId() { } /** - * Set the policyDefinitionId value. + * Set policy definition ID. * * @param policyDefinitionId the policyDefinitionId value to set * @return the PolicyDefinitionSummary object itself. @@ -59,7 +59,7 @@ public PolicyDefinitionSummary withPolicyDefinitionId(String policyDefinitionId) } /** - * Get the policyDefinitionReferenceId value. + * Get policy definition reference ID. * * @return the policyDefinitionReferenceId value */ @@ -68,7 +68,7 @@ public String policyDefinitionReferenceId() { } /** - * Set the policyDefinitionReferenceId value. + * Set policy definition reference ID. * * @param policyDefinitionReferenceId the policyDefinitionReferenceId value to set * @return the PolicyDefinitionSummary object itself. @@ -79,7 +79,7 @@ public PolicyDefinitionSummary withPolicyDefinitionReferenceId(String policyDefi } /** - * Get the effect value. + * Get policy effect, i.e. policy definition action. * * @return the effect value */ @@ -88,7 +88,7 @@ public String effect() { } /** - * Set the effect value. + * Set policy effect, i.e. policy definition action. * * @param effect the effect value to set * @return the PolicyDefinitionSummary object itself. @@ -99,7 +99,7 @@ public PolicyDefinitionSummary withEffect(String effect) { } /** - * Get the results value. + * Get non-compliance summary for the policy definition. * * @return the results value */ @@ -108,7 +108,7 @@ public SummaryResults results() { } /** - * Set the results value. + * Set non-compliance summary for the policy definition. * * @param results the results value to set * @return the PolicyDefinitionSummary object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyEvents.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyEvents.java index 7c29e655e9f5..d4f628fd5e34 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyEvents.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyEvents.java @@ -8,7 +8,6 @@ package com.microsoft.azure.management.policyinsights.v2018_04_04; -import rx.Completable; import rx.Observable; /** @@ -100,6 +99,6 @@ public interface PolicyEvents { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable getMetadataAsync(String scope); + Observable getMetadataAsync(String scope); } diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyStates.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyStates.java index 5b3533408bf0..a5a7131799df 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyStates.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/PolicyStates.java @@ -8,7 +8,6 @@ package com.microsoft.azure.management.policyinsights.v2018_04_04; -import rx.Completable; import rx.Observable; /** @@ -186,6 +185,6 @@ public interface PolicyStates { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable getMetadataAsync(String scope); + Observable getMetadataAsync(String scope); } diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailure.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailure.java index beda033d97e0..4caf9c095cdd 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailure.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailure.java @@ -21,7 +21,7 @@ public class QueryFailure { private QueryFailureError error; /** - * Get the error value. + * Get error definition. * * @return the error value */ @@ -30,7 +30,7 @@ public QueryFailureError error() { } /** - * Set the error value. + * Set error definition. * * @param error the error value to set * @return the QueryFailure object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailureError.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailureError.java index 5ab11fe91957..df48a012368b 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailureError.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryFailureError.java @@ -18,17 +18,17 @@ public class QueryFailureError { * Service specific error code which serves as the substatus for the HTTP * error code. */ - @JsonProperty(value = "code") + @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) private String code; /** * Description of the error. */ - @JsonProperty(value = "message") + @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) private String message; /** - * Get the code value. + * Get service specific error code which serves as the substatus for the HTTP error code. * * @return the code value */ @@ -37,18 +37,7 @@ public String code() { } /** - * Set the code value. - * - * @param code the code value to set - * @return the QueryFailureError object itself. - */ - public QueryFailureError withCode(String code) { - this.code = code; - return this; - } - - /** - * Get the message value. + * Get description of the error. * * @return the message value */ @@ -56,15 +45,4 @@ public String message() { return this.message; } - /** - * Set the message value. - * - * @param message the message value to set - * @return the QueryFailureError object itself. - */ - public QueryFailureError withMessage(String message) { - this.message = message; - return this; - } - } diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryOptions.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryOptions.java index 39b59cad3f2a..86ca2dd0dbb6 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryOptions.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/QueryOptions.java @@ -64,7 +64,7 @@ public class QueryOptions { private String apply; /** - * Get the top value. + * Get maximum number of records to return. * * @return the top value */ @@ -73,7 +73,7 @@ public Integer top() { } /** - * Set the top value. + * Set maximum number of records to return. * * @param top the top value to set * @return the QueryOptions object itself. @@ -84,7 +84,7 @@ public QueryOptions withTop(Integer top) { } /** - * Get the orderBy value. + * Get ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". * * @return the orderBy value */ @@ -93,7 +93,7 @@ public String orderBy() { } /** - * Set the orderBy value. + * Set ordering expression using OData notation. One or more comma-separated column names with an optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc". * * @param orderBy the orderBy value to set * @return the QueryOptions object itself. @@ -104,7 +104,7 @@ public QueryOptions withOrderBy(String orderBy) { } /** - * Get the select value. + * Get select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". * * @return the select value */ @@ -113,7 +113,7 @@ public String select() { } /** - * Set the select value. + * Set select expression using OData notation. Limits the columns on each record to just those requested, e.g. "$select=PolicyAssignmentId, ResourceId". * * @param select the select value to set * @return the QueryOptions object itself. @@ -124,7 +124,7 @@ public QueryOptions withSelect(String select) { } /** - * Get the from value. + * Get iSO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). * * @return the from value */ @@ -133,7 +133,7 @@ public DateTime from() { } /** - * Set the from value. + * Set iSO 8601 formatted timestamp specifying the start time of the interval to query. When not specified, the service uses ($to - 1-day). * * @param from the from value to set * @return the QueryOptions object itself. @@ -144,7 +144,7 @@ public QueryOptions withFrom(DateTime from) { } /** - * Get the to value. + * Get iSO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. * * @return the to value */ @@ -153,7 +153,7 @@ public DateTime to() { } /** - * Set the to value. + * Set iSO 8601 formatted timestamp specifying the end time of the interval to query. When not specified, the service uses request time. * * @param to the to value to set * @return the QueryOptions object itself. @@ -164,7 +164,7 @@ public QueryOptions withTo(DateTime to) { } /** - * Get the filter value. + * Get oData filter expression. * * @return the filter value */ @@ -173,7 +173,7 @@ public String filter() { } /** - * Set the filter value. + * Set oData filter expression. * * @param filter the filter value to set * @return the QueryOptions object itself. @@ -184,7 +184,7 @@ public QueryOptions withFilter(String filter) { } /** - * Get the apply value. + * Get oData apply expression for aggregations. * * @return the apply value */ @@ -193,7 +193,7 @@ public String apply() { } /** - * Set the apply value. + * Set oData apply expression for aggregations. * * @param apply the apply value to set * @return the QueryOptions object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/Summary.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/Summary.java index ff24b3476648..ade9fdf75632 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/Summary.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/Summary.java @@ -42,7 +42,7 @@ public class Summary { private List policyAssignments; /** - * Get the odataid value. + * Get oData entity ID; always set to null since summaries do not have an entity ID. * * @return the odataid value */ @@ -51,7 +51,7 @@ public String odataid() { } /** - * Set the odataid value. + * Set oData entity ID; always set to null since summaries do not have an entity ID. * * @param odataid the odataid value to set * @return the Summary object itself. @@ -62,7 +62,7 @@ public Summary withOdataid(String odataid) { } /** - * Get the odatacontext value. + * Get oData context string; used by OData clients to resolve type information based on metadata. * * @return the odatacontext value */ @@ -71,7 +71,7 @@ public String odatacontext() { } /** - * Set the odatacontext value. + * Set oData context string; used by OData clients to resolve type information based on metadata. * * @param odatacontext the odatacontext value to set * @return the Summary object itself. @@ -82,7 +82,7 @@ public Summary withOdatacontext(String odatacontext) { } /** - * Get the results value. + * Get non-compliance summary for all policy assignments. * * @return the results value */ @@ -91,7 +91,7 @@ public SummaryResults results() { } /** - * Set the results value. + * Set non-compliance summary for all policy assignments. * * @param results the results value to set * @return the Summary object itself. @@ -102,7 +102,7 @@ public Summary withResults(SummaryResults results) { } /** - * Get the policyAssignments value. + * Get policy assignments summary. * * @return the policyAssignments value */ @@ -111,7 +111,7 @@ public List policyAssignments() { } /** - * Set the policyAssignments value. + * Set policy assignments summary. * * @param policyAssignments the policyAssignments value to set * @return the Summary object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/SummaryResults.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/SummaryResults.java index 6a2214e95bfd..0b4549f3cdfd 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/SummaryResults.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/SummaryResults.java @@ -34,7 +34,7 @@ public class SummaryResults { private Integer nonCompliantPolicies; /** - * Get the queryResultsUri value. + * Get hTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the non-compliance summary. * * @return the queryResultsUri value */ @@ -43,7 +43,7 @@ public String queryResultsUri() { } /** - * Set the queryResultsUri value. + * Set hTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the non-compliance summary. * * @param queryResultsUri the queryResultsUri value to set * @return the SummaryResults object itself. @@ -54,7 +54,7 @@ public SummaryResults withQueryResultsUri(String queryResultsUri) { } /** - * Get the nonCompliantResources value. + * Get number of non-compliant resources. * * @return the nonCompliantResources value */ @@ -63,7 +63,7 @@ public Integer nonCompliantResources() { } /** - * Set the nonCompliantResources value. + * Set number of non-compliant resources. * * @param nonCompliantResources the nonCompliantResources value to set * @return the SummaryResults object itself. @@ -74,7 +74,7 @@ public SummaryResults withNonCompliantResources(Integer nonCompliantResources) { } /** - * Get the nonCompliantPolicies value. + * Get number of non-compliant policies. * * @return the nonCompliantPolicies value */ @@ -83,7 +83,7 @@ public Integer nonCompliantPolicies() { } /** - * Set the nonCompliantPolicies value. + * Set number of non-compliant policies. * * @param nonCompliantPolicies the nonCompliantPolicies value to set * @return the SummaryResults object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationInner.java index d74364feade4..8d22efd4fa1c 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationInner.java @@ -28,7 +28,7 @@ public class OperationInner { private OperationDisplay display; /** - * Get the name value. + * Get operation name. * * @return the name value */ @@ -37,7 +37,7 @@ public String name() { } /** - * Set the name value. + * Set operation name. * * @param name the name value to set * @return the OperationInner object itself. @@ -48,7 +48,7 @@ public OperationInner withName(String name) { } /** - * Get the display value. + * Get display metadata associated with the operation. * * @return the display value */ @@ -57,7 +57,7 @@ public OperationDisplay display() { } /** - * Set the display value. + * Set display metadata associated with the operation. * * @param display the display value to set * @return the OperationInner object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationsListResultsInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationsListResultsInner.java index ce6e0866bc24..13be27de87c6 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationsListResultsInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/OperationsListResultsInner.java @@ -28,7 +28,7 @@ public class OperationsListResultsInner { private List value; /** - * Get the odatacount value. + * Get oData entity count; represents the number of operations returned. * * @return the odatacount value */ @@ -37,7 +37,7 @@ public Integer odatacount() { } /** - * Set the odatacount value. + * Set oData entity count; represents the number of operations returned. * * @param odatacount the odatacount value to set * @return the OperationsListResultsInner object itself. @@ -48,7 +48,7 @@ public OperationsListResultsInner withOdatacount(Integer odatacount) { } /** - * Get the value value. + * Get list of available operations. * * @return the value value */ @@ -57,7 +57,7 @@ public List value() { } /** - * Set the value value. + * Set list of available operations. * * @param value the value value to set * @return the OperationsListResultsInner object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventInner.java index d7fed6037b93..de72cd202840 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventInner.java @@ -180,7 +180,7 @@ public class PolicyEventInner { private String policySetDefinitionParameters; /** - * Comma seperated list of management group IDs, which represent the + * Comma separated list of management group IDs, which represent the * hierarchy of the management groups the resource is under. */ @JsonProperty(value = "managementGroupIds") @@ -207,7 +207,7 @@ public class PolicyEventInner { private String principalOid; /** - * Get the additionalProperties value. + * Get unmatched properties from the message are deserialized this collection. * * @return the additionalProperties value */ @@ -216,7 +216,7 @@ public Map additionalProperties() { } /** - * Set the additionalProperties value. + * Set unmatched properties from the message are deserialized this collection. * * @param additionalProperties the additionalProperties value to set * @return the PolicyEventInner object itself. @@ -227,7 +227,7 @@ public PolicyEventInner withAdditionalProperties(Map additionalP } /** - * Get the odataid value. + * Get oData entity ID; always set to null since policy event records do not have an entity ID. * * @return the odataid value */ @@ -236,7 +236,7 @@ public String odataid() { } /** - * Set the odataid value. + * Set oData entity ID; always set to null since policy event records do not have an entity ID. * * @param odataid the odataid value to set * @return the PolicyEventInner object itself. @@ -247,7 +247,7 @@ public PolicyEventInner withOdataid(String odataid) { } /** - * Get the odatacontext value. + * Get oData context string; used by OData clients to resolve type information based on metadata. * * @return the odatacontext value */ @@ -256,7 +256,7 @@ public String odatacontext() { } /** - * Set the odatacontext value. + * Set oData context string; used by OData clients to resolve type information based on metadata. * * @param odatacontext the odatacontext value to set * @return the PolicyEventInner object itself. @@ -267,7 +267,7 @@ public PolicyEventInner withOdatacontext(String odatacontext) { } /** - * Get the timestamp value. + * Get timestamp for the policy event record. * * @return the timestamp value */ @@ -276,7 +276,7 @@ public DateTime timestamp() { } /** - * Set the timestamp value. + * Set timestamp for the policy event record. * * @param timestamp the timestamp value to set * @return the PolicyEventInner object itself. @@ -287,7 +287,7 @@ public PolicyEventInner withTimestamp(DateTime timestamp) { } /** - * Get the resourceId value. + * Get resource ID. * * @return the resourceId value */ @@ -296,7 +296,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set resource ID. * * @param resourceId the resourceId value to set * @return the PolicyEventInner object itself. @@ -307,7 +307,7 @@ public PolicyEventInner withResourceId(String resourceId) { } /** - * Get the policyAssignmentId value. + * Get policy assignment ID. * * @return the policyAssignmentId value */ @@ -316,7 +316,7 @@ public String policyAssignmentId() { } /** - * Set the policyAssignmentId value. + * Set policy assignment ID. * * @param policyAssignmentId the policyAssignmentId value to set * @return the PolicyEventInner object itself. @@ -327,7 +327,7 @@ public PolicyEventInner withPolicyAssignmentId(String policyAssignmentId) { } /** - * Get the policyDefinitionId value. + * Get policy definition ID. * * @return the policyDefinitionId value */ @@ -336,7 +336,7 @@ public String policyDefinitionId() { } /** - * Set the policyDefinitionId value. + * Set policy definition ID. * * @param policyDefinitionId the policyDefinitionId value to set * @return the PolicyEventInner object itself. @@ -347,7 +347,7 @@ public PolicyEventInner withPolicyDefinitionId(String policyDefinitionId) { } /** - * Get the effectiveParameters value. + * Get effective parameters for the policy assignment. * * @return the effectiveParameters value */ @@ -356,7 +356,7 @@ public String effectiveParameters() { } /** - * Set the effectiveParameters value. + * Set effective parameters for the policy assignment. * * @param effectiveParameters the effectiveParameters value to set * @return the PolicyEventInner object itself. @@ -367,7 +367,7 @@ public PolicyEventInner withEffectiveParameters(String effectiveParameters) { } /** - * Get the isCompliant value. + * Get flag which states whether the resource is compliant against the policy assignment it was evaluated against. * * @return the isCompliant value */ @@ -376,7 +376,7 @@ public Boolean isCompliant() { } /** - * Set the isCompliant value. + * Set flag which states whether the resource is compliant against the policy assignment it was evaluated against. * * @param isCompliant the isCompliant value to set * @return the PolicyEventInner object itself. @@ -387,7 +387,7 @@ public PolicyEventInner withIsCompliant(Boolean isCompliant) { } /** - * Get the subscriptionId value. + * Get subscription ID. * * @return the subscriptionId value */ @@ -396,7 +396,7 @@ public String subscriptionId() { } /** - * Set the subscriptionId value. + * Set subscription ID. * * @param subscriptionId the subscriptionId value to set * @return the PolicyEventInner object itself. @@ -407,7 +407,7 @@ public PolicyEventInner withSubscriptionId(String subscriptionId) { } /** - * Get the resourceType value. + * Get resource type. * * @return the resourceType value */ @@ -416,7 +416,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set resource type. * * @param resourceType the resourceType value to set * @return the PolicyEventInner object itself. @@ -427,7 +427,7 @@ public PolicyEventInner withResourceType(String resourceType) { } /** - * Get the resourceLocation value. + * Get resource location. * * @return the resourceLocation value */ @@ -436,7 +436,7 @@ public String resourceLocation() { } /** - * Set the resourceLocation value. + * Set resource location. * * @param resourceLocation the resourceLocation value to set * @return the PolicyEventInner object itself. @@ -447,7 +447,7 @@ public PolicyEventInner withResourceLocation(String resourceLocation) { } /** - * Get the resourceGroup value. + * Get resource group name. * * @return the resourceGroup value */ @@ -456,7 +456,7 @@ public String resourceGroup() { } /** - * Set the resourceGroup value. + * Set resource group name. * * @param resourceGroup the resourceGroup value to set * @return the PolicyEventInner object itself. @@ -467,7 +467,7 @@ public PolicyEventInner withResourceGroup(String resourceGroup) { } /** - * Get the resourceTags value. + * Get list of resource tags. * * @return the resourceTags value */ @@ -476,7 +476,7 @@ public String resourceTags() { } /** - * Set the resourceTags value. + * Set list of resource tags. * * @param resourceTags the resourceTags value to set * @return the PolicyEventInner object itself. @@ -487,7 +487,7 @@ public PolicyEventInner withResourceTags(String resourceTags) { } /** - * Get the policyAssignmentName value. + * Get policy assignment name. * * @return the policyAssignmentName value */ @@ -496,7 +496,7 @@ public String policyAssignmentName() { } /** - * Set the policyAssignmentName value. + * Set policy assignment name. * * @param policyAssignmentName the policyAssignmentName value to set * @return the PolicyEventInner object itself. @@ -507,7 +507,7 @@ public PolicyEventInner withPolicyAssignmentName(String policyAssignmentName) { } /** - * Get the policyAssignmentOwner value. + * Get policy assignment owner. * * @return the policyAssignmentOwner value */ @@ -516,7 +516,7 @@ public String policyAssignmentOwner() { } /** - * Set the policyAssignmentOwner value. + * Set policy assignment owner. * * @param policyAssignmentOwner the policyAssignmentOwner value to set * @return the PolicyEventInner object itself. @@ -527,7 +527,7 @@ public PolicyEventInner withPolicyAssignmentOwner(String policyAssignmentOwner) } /** - * Get the policyAssignmentParameters value. + * Get policy assignment parameters. * * @return the policyAssignmentParameters value */ @@ -536,7 +536,7 @@ public String policyAssignmentParameters() { } /** - * Set the policyAssignmentParameters value. + * Set policy assignment parameters. * * @param policyAssignmentParameters the policyAssignmentParameters value to set * @return the PolicyEventInner object itself. @@ -547,7 +547,7 @@ public PolicyEventInner withPolicyAssignmentParameters(String policyAssignmentPa } /** - * Get the policyAssignmentScope value. + * Get policy assignment scope. * * @return the policyAssignmentScope value */ @@ -556,7 +556,7 @@ public String policyAssignmentScope() { } /** - * Set the policyAssignmentScope value. + * Set policy assignment scope. * * @param policyAssignmentScope the policyAssignmentScope value to set * @return the PolicyEventInner object itself. @@ -567,7 +567,7 @@ public PolicyEventInner withPolicyAssignmentScope(String policyAssignmentScope) } /** - * Get the policyDefinitionName value. + * Get policy definition name. * * @return the policyDefinitionName value */ @@ -576,7 +576,7 @@ public String policyDefinitionName() { } /** - * Set the policyDefinitionName value. + * Set policy definition name. * * @param policyDefinitionName the policyDefinitionName value to set * @return the PolicyEventInner object itself. @@ -587,7 +587,7 @@ public PolicyEventInner withPolicyDefinitionName(String policyDefinitionName) { } /** - * Get the policyDefinitionAction value. + * Get policy definition action, i.e. effect. * * @return the policyDefinitionAction value */ @@ -596,7 +596,7 @@ public String policyDefinitionAction() { } /** - * Set the policyDefinitionAction value. + * Set policy definition action, i.e. effect. * * @param policyDefinitionAction the policyDefinitionAction value to set * @return the PolicyEventInner object itself. @@ -607,7 +607,7 @@ public PolicyEventInner withPolicyDefinitionAction(String policyDefinitionAction } /** - * Get the policyDefinitionCategory value. + * Get policy definition category. * * @return the policyDefinitionCategory value */ @@ -616,7 +616,7 @@ public String policyDefinitionCategory() { } /** - * Set the policyDefinitionCategory value. + * Set policy definition category. * * @param policyDefinitionCategory the policyDefinitionCategory value to set * @return the PolicyEventInner object itself. @@ -627,7 +627,7 @@ public PolicyEventInner withPolicyDefinitionCategory(String policyDefinitionCate } /** - * Get the policySetDefinitionId value. + * Get policy set definition ID, if the policy assignment is for a policy set. * * @return the policySetDefinitionId value */ @@ -636,7 +636,7 @@ public String policySetDefinitionId() { } /** - * Set the policySetDefinitionId value. + * Set policy set definition ID, if the policy assignment is for a policy set. * * @param policySetDefinitionId the policySetDefinitionId value to set * @return the PolicyEventInner object itself. @@ -647,7 +647,7 @@ public PolicyEventInner withPolicySetDefinitionId(String policySetDefinitionId) } /** - * Get the policySetDefinitionName value. + * Get policy set definition name, if the policy assignment is for a policy set. * * @return the policySetDefinitionName value */ @@ -656,7 +656,7 @@ public String policySetDefinitionName() { } /** - * Set the policySetDefinitionName value. + * Set policy set definition name, if the policy assignment is for a policy set. * * @param policySetDefinitionName the policySetDefinitionName value to set * @return the PolicyEventInner object itself. @@ -667,7 +667,7 @@ public PolicyEventInner withPolicySetDefinitionName(String policySetDefinitionNa } /** - * Get the policySetDefinitionOwner value. + * Get policy set definition owner, if the policy assignment is for a policy set. * * @return the policySetDefinitionOwner value */ @@ -676,7 +676,7 @@ public String policySetDefinitionOwner() { } /** - * Set the policySetDefinitionOwner value. + * Set policy set definition owner, if the policy assignment is for a policy set. * * @param policySetDefinitionOwner the policySetDefinitionOwner value to set * @return the PolicyEventInner object itself. @@ -687,7 +687,7 @@ public PolicyEventInner withPolicySetDefinitionOwner(String policySetDefinitionO } /** - * Get the policySetDefinitionCategory value. + * Get policy set definition category, if the policy assignment is for a policy set. * * @return the policySetDefinitionCategory value */ @@ -696,7 +696,7 @@ public String policySetDefinitionCategory() { } /** - * Set the policySetDefinitionCategory value. + * Set policy set definition category, if the policy assignment is for a policy set. * * @param policySetDefinitionCategory the policySetDefinitionCategory value to set * @return the PolicyEventInner object itself. @@ -707,7 +707,7 @@ public PolicyEventInner withPolicySetDefinitionCategory(String policySetDefiniti } /** - * Get the policySetDefinitionParameters value. + * Get policy set definition parameters, if the policy assignment is for a policy set. * * @return the policySetDefinitionParameters value */ @@ -716,7 +716,7 @@ public String policySetDefinitionParameters() { } /** - * Set the policySetDefinitionParameters value. + * Set policy set definition parameters, if the policy assignment is for a policy set. * * @param policySetDefinitionParameters the policySetDefinitionParameters value to set * @return the PolicyEventInner object itself. @@ -727,7 +727,7 @@ public PolicyEventInner withPolicySetDefinitionParameters(String policySetDefini } /** - * Get the managementGroupIds value. + * Get comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. * * @return the managementGroupIds value */ @@ -736,7 +736,7 @@ public String managementGroupIds() { } /** - * Set the managementGroupIds value. + * Set comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. * * @param managementGroupIds the managementGroupIds value to set * @return the PolicyEventInner object itself. @@ -747,7 +747,7 @@ public PolicyEventInner withManagementGroupIds(String managementGroupIds) { } /** - * Get the policyDefinitionReferenceId value. + * Get reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. * * @return the policyDefinitionReferenceId value */ @@ -756,7 +756,7 @@ public String policyDefinitionReferenceId() { } /** - * Set the policyDefinitionReferenceId value. + * Set reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. * * @param policyDefinitionReferenceId the policyDefinitionReferenceId value to set * @return the PolicyEventInner object itself. @@ -767,7 +767,7 @@ public PolicyEventInner withPolicyDefinitionReferenceId(String policyDefinitionR } /** - * Get the tenantId value. + * Get tenant ID for the policy event record. * * @return the tenantId value */ @@ -776,7 +776,7 @@ public String tenantId() { } /** - * Set the tenantId value. + * Set tenant ID for the policy event record. * * @param tenantId the tenantId value to set * @return the PolicyEventInner object itself. @@ -787,7 +787,7 @@ public PolicyEventInner withTenantId(String tenantId) { } /** - * Get the principalOid value. + * Get principal object ID for the user who initiated the resource operation that triggered the policy event. * * @return the principalOid value */ @@ -796,7 +796,7 @@ public String principalOid() { } /** - * Set the principalOid value. + * Set principal object ID for the user who initiated the resource operation that triggered the policy event. * * @param principalOid the principalOid value to set * @return the PolicyEventInner object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsImpl.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsImpl.java index 146307070932..e8b41e3b5402 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsImpl.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsImpl.java @@ -11,7 +11,6 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; import com.microsoft.azure.management.policyinsights.v2018_04_04.PolicyEvents; -import rx.Completable; import rx.functions.Func1; import rx.Observable; import com.microsoft.azure.management.policyinsights.v2018_04_04.PolicyEventsQueryResults; @@ -125,9 +124,9 @@ public PolicyEventsQueryResults call(PolicyEventsQueryResultsInner inner) { } @Override - public Completable getMetadataAsync(String scope) { + public Observable getMetadataAsync(String scope) { PolicyEventsInner client = this.inner(); - return client.getMetadataAsync(scope).toCompletable(); - } + return client.getMetadataAsync(scope) + ;} } diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsQueryResultsInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsQueryResultsInner.java index 230ef2d8a228..de80da671770 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsQueryResultsInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyEventsQueryResultsInner.java @@ -36,7 +36,7 @@ public class PolicyEventsQueryResultsInner { private List value; /** - * Get the odatacontext value. + * Get oData context string; used by OData clients to resolve type information based on metadata. * * @return the odatacontext value */ @@ -45,7 +45,7 @@ public String odatacontext() { } /** - * Set the odatacontext value. + * Set oData context string; used by OData clients to resolve type information based on metadata. * * @param odatacontext the odatacontext value to set * @return the PolicyEventsQueryResultsInner object itself. @@ -56,7 +56,7 @@ public PolicyEventsQueryResultsInner withOdatacontext(String odatacontext) { } /** - * Get the odatacount value. + * Get oData entity count; represents the number of policy event records returned. * * @return the odatacount value */ @@ -65,7 +65,7 @@ public Integer odatacount() { } /** - * Set the odatacount value. + * Set oData entity count; represents the number of policy event records returned. * * @param odatacount the odatacount value to set * @return the PolicyEventsQueryResultsInner object itself. @@ -76,7 +76,7 @@ public PolicyEventsQueryResultsInner withOdatacount(Integer odatacount) { } /** - * Get the value value. + * Get query results. * * @return the value value */ @@ -85,7 +85,7 @@ public List value() { } /** - * Set the value value. + * Set query results. * * @param value the value value to set * @return the PolicyEventsQueryResultsInner object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsClientImpl.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsClientImpl.java index 522e93bb3197..d93d98979f9e 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsClientImpl.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsClientImpl.java @@ -40,11 +40,11 @@ public String apiVersion() { return this.apiVersion; } - /** Gets or sets the preferred language for the response. */ + /** The preferred language for the response. */ private String acceptLanguage; /** - * Gets Gets or sets the preferred language for the response. + * Gets The preferred language for the response. * * @return the acceptLanguage value. */ @@ -53,7 +53,7 @@ public String acceptLanguage() { } /** - * Sets Gets or sets the preferred language for the response. + * Sets The preferred language for the response. * * @param acceptLanguage the acceptLanguage value. * @return the service client itself @@ -63,11 +63,11 @@ public PolicyInsightsClientImpl withAcceptLanguage(String acceptLanguage) { return this; } - /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */ + /** The retry timeout in seconds for Long Running Operations. Default value is 30. */ private int longRunningOperationRetryTimeout; /** - * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * Gets The retry timeout in seconds for Long Running Operations. Default value is 30. * * @return the longRunningOperationRetryTimeout value. */ @@ -76,7 +76,7 @@ public int longRunningOperationRetryTimeout() { } /** - * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * Sets The retry timeout in seconds for Long Running Operations. Default value is 30. * * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. * @return the service client itself @@ -86,11 +86,11 @@ public PolicyInsightsClientImpl withLongRunningOperationRetryTimeout(int longRun return this; } - /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ + /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ private boolean generateClientRequestId; /** - * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. * * @return the generateClientRequestId value. */ @@ -99,7 +99,7 @@ public boolean generateClientRequestId() { } /** - * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. * * @param generateClientRequestId the generateClientRequestId value. * @return the service client itself @@ -196,6 +196,6 @@ protected void initialize() { */ @Override public String userAgent() { - return String.format("%s (%s, %s)", super.userAgent(), "PolicyInsightsClient", "2018-04-04"); + return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "PolicyInsightsClient", "2018-04-04"); } } diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsManager.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsManager.java index 92a91f68bb7b..38d9c20f48ba 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsManager.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyInsightsManager.java @@ -11,6 +11,8 @@ import com.microsoft.azure.AzureEnvironment; import com.microsoft.azure.AzureResponseBuilder; import com.microsoft.azure.credentials.AzureTokenCredentials; +import com.microsoft.azure.management.apigeneration.Beta; +import com.microsoft.azure.management.apigeneration.Beta.SinceVersion; import com.microsoft.azure.arm.resources.AzureConfigurable; import com.microsoft.azure.serializer.AzureJacksonAdapter; import com.microsoft.rest.RestClient; diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStateInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStateInner.java index 95dab2022a18..8c0be8d3d4e1 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStateInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStateInner.java @@ -180,7 +180,7 @@ public class PolicyStateInner { private String policySetDefinitionParameters; /** - * Comma seperated list of management group IDs, which represent the + * Comma separated list of management group IDs, which represent the * hierarchy of the management groups the resource is under. */ @JsonProperty(value = "managementGroupIds") @@ -194,7 +194,7 @@ public class PolicyStateInner { private String policyDefinitionReferenceId; /** - * Get the additionalProperties value. + * Get unmatched properties from the message are deserialized this collection. * * @return the additionalProperties value */ @@ -203,7 +203,7 @@ public Map additionalProperties() { } /** - * Set the additionalProperties value. + * Set unmatched properties from the message are deserialized this collection. * * @param additionalProperties the additionalProperties value to set * @return the PolicyStateInner object itself. @@ -214,7 +214,7 @@ public PolicyStateInner withAdditionalProperties(Map additionalP } /** - * Get the odataid value. + * Get oData entity ID; always set to null since policy state records do not have an entity ID. * * @return the odataid value */ @@ -223,7 +223,7 @@ public String odataid() { } /** - * Set the odataid value. + * Set oData entity ID; always set to null since policy state records do not have an entity ID. * * @param odataid the odataid value to set * @return the PolicyStateInner object itself. @@ -234,7 +234,7 @@ public PolicyStateInner withOdataid(String odataid) { } /** - * Get the odatacontext value. + * Get oData context string; used by OData clients to resolve type information based on metadata. * * @return the odatacontext value */ @@ -243,7 +243,7 @@ public String odatacontext() { } /** - * Set the odatacontext value. + * Set oData context string; used by OData clients to resolve type information based on metadata. * * @param odatacontext the odatacontext value to set * @return the PolicyStateInner object itself. @@ -254,7 +254,7 @@ public PolicyStateInner withOdatacontext(String odatacontext) { } /** - * Get the timestamp value. + * Get timestamp for the policy state record. * * @return the timestamp value */ @@ -263,7 +263,7 @@ public DateTime timestamp() { } /** - * Set the timestamp value. + * Set timestamp for the policy state record. * * @param timestamp the timestamp value to set * @return the PolicyStateInner object itself. @@ -274,7 +274,7 @@ public PolicyStateInner withTimestamp(DateTime timestamp) { } /** - * Get the resourceId value. + * Get resource ID. * * @return the resourceId value */ @@ -283,7 +283,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set resource ID. * * @param resourceId the resourceId value to set * @return the PolicyStateInner object itself. @@ -294,7 +294,7 @@ public PolicyStateInner withResourceId(String resourceId) { } /** - * Get the policyAssignmentId value. + * Get policy assignment ID. * * @return the policyAssignmentId value */ @@ -303,7 +303,7 @@ public String policyAssignmentId() { } /** - * Set the policyAssignmentId value. + * Set policy assignment ID. * * @param policyAssignmentId the policyAssignmentId value to set * @return the PolicyStateInner object itself. @@ -314,7 +314,7 @@ public PolicyStateInner withPolicyAssignmentId(String policyAssignmentId) { } /** - * Get the policyDefinitionId value. + * Get policy definition ID. * * @return the policyDefinitionId value */ @@ -323,7 +323,7 @@ public String policyDefinitionId() { } /** - * Set the policyDefinitionId value. + * Set policy definition ID. * * @param policyDefinitionId the policyDefinitionId value to set * @return the PolicyStateInner object itself. @@ -334,7 +334,7 @@ public PolicyStateInner withPolicyDefinitionId(String policyDefinitionId) { } /** - * Get the effectiveParameters value. + * Get effective parameters for the policy assignment. * * @return the effectiveParameters value */ @@ -343,7 +343,7 @@ public String effectiveParameters() { } /** - * Set the effectiveParameters value. + * Set effective parameters for the policy assignment. * * @param effectiveParameters the effectiveParameters value to set * @return the PolicyStateInner object itself. @@ -354,7 +354,7 @@ public PolicyStateInner withEffectiveParameters(String effectiveParameters) { } /** - * Get the isCompliant value. + * Get flag which states whether the resource is compliant against the policy assignment it was evaluated against. * * @return the isCompliant value */ @@ -363,7 +363,7 @@ public Boolean isCompliant() { } /** - * Set the isCompliant value. + * Set flag which states whether the resource is compliant against the policy assignment it was evaluated against. * * @param isCompliant the isCompliant value to set * @return the PolicyStateInner object itself. @@ -374,7 +374,7 @@ public PolicyStateInner withIsCompliant(Boolean isCompliant) { } /** - * Get the subscriptionId value. + * Get subscription ID. * * @return the subscriptionId value */ @@ -383,7 +383,7 @@ public String subscriptionId() { } /** - * Set the subscriptionId value. + * Set subscription ID. * * @param subscriptionId the subscriptionId value to set * @return the PolicyStateInner object itself. @@ -394,7 +394,7 @@ public PolicyStateInner withSubscriptionId(String subscriptionId) { } /** - * Get the resourceType value. + * Get resource type. * * @return the resourceType value */ @@ -403,7 +403,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set resource type. * * @param resourceType the resourceType value to set * @return the PolicyStateInner object itself. @@ -414,7 +414,7 @@ public PolicyStateInner withResourceType(String resourceType) { } /** - * Get the resourceLocation value. + * Get resource location. * * @return the resourceLocation value */ @@ -423,7 +423,7 @@ public String resourceLocation() { } /** - * Set the resourceLocation value. + * Set resource location. * * @param resourceLocation the resourceLocation value to set * @return the PolicyStateInner object itself. @@ -434,7 +434,7 @@ public PolicyStateInner withResourceLocation(String resourceLocation) { } /** - * Get the resourceGroup value. + * Get resource group name. * * @return the resourceGroup value */ @@ -443,7 +443,7 @@ public String resourceGroup() { } /** - * Set the resourceGroup value. + * Set resource group name. * * @param resourceGroup the resourceGroup value to set * @return the PolicyStateInner object itself. @@ -454,7 +454,7 @@ public PolicyStateInner withResourceGroup(String resourceGroup) { } /** - * Get the resourceTags value. + * Get list of resource tags. * * @return the resourceTags value */ @@ -463,7 +463,7 @@ public String resourceTags() { } /** - * Set the resourceTags value. + * Set list of resource tags. * * @param resourceTags the resourceTags value to set * @return the PolicyStateInner object itself. @@ -474,7 +474,7 @@ public PolicyStateInner withResourceTags(String resourceTags) { } /** - * Get the policyAssignmentName value. + * Get policy assignment name. * * @return the policyAssignmentName value */ @@ -483,7 +483,7 @@ public String policyAssignmentName() { } /** - * Set the policyAssignmentName value. + * Set policy assignment name. * * @param policyAssignmentName the policyAssignmentName value to set * @return the PolicyStateInner object itself. @@ -494,7 +494,7 @@ public PolicyStateInner withPolicyAssignmentName(String policyAssignmentName) { } /** - * Get the policyAssignmentOwner value. + * Get policy assignment owner. * * @return the policyAssignmentOwner value */ @@ -503,7 +503,7 @@ public String policyAssignmentOwner() { } /** - * Set the policyAssignmentOwner value. + * Set policy assignment owner. * * @param policyAssignmentOwner the policyAssignmentOwner value to set * @return the PolicyStateInner object itself. @@ -514,7 +514,7 @@ public PolicyStateInner withPolicyAssignmentOwner(String policyAssignmentOwner) } /** - * Get the policyAssignmentParameters value. + * Get policy assignment parameters. * * @return the policyAssignmentParameters value */ @@ -523,7 +523,7 @@ public String policyAssignmentParameters() { } /** - * Set the policyAssignmentParameters value. + * Set policy assignment parameters. * * @param policyAssignmentParameters the policyAssignmentParameters value to set * @return the PolicyStateInner object itself. @@ -534,7 +534,7 @@ public PolicyStateInner withPolicyAssignmentParameters(String policyAssignmentPa } /** - * Get the policyAssignmentScope value. + * Get policy assignment scope. * * @return the policyAssignmentScope value */ @@ -543,7 +543,7 @@ public String policyAssignmentScope() { } /** - * Set the policyAssignmentScope value. + * Set policy assignment scope. * * @param policyAssignmentScope the policyAssignmentScope value to set * @return the PolicyStateInner object itself. @@ -554,7 +554,7 @@ public PolicyStateInner withPolicyAssignmentScope(String policyAssignmentScope) } /** - * Get the policyDefinitionName value. + * Get policy definition name. * * @return the policyDefinitionName value */ @@ -563,7 +563,7 @@ public String policyDefinitionName() { } /** - * Set the policyDefinitionName value. + * Set policy definition name. * * @param policyDefinitionName the policyDefinitionName value to set * @return the PolicyStateInner object itself. @@ -574,7 +574,7 @@ public PolicyStateInner withPolicyDefinitionName(String policyDefinitionName) { } /** - * Get the policyDefinitionAction value. + * Get policy definition action, i.e. effect. * * @return the policyDefinitionAction value */ @@ -583,7 +583,7 @@ public String policyDefinitionAction() { } /** - * Set the policyDefinitionAction value. + * Set policy definition action, i.e. effect. * * @param policyDefinitionAction the policyDefinitionAction value to set * @return the PolicyStateInner object itself. @@ -594,7 +594,7 @@ public PolicyStateInner withPolicyDefinitionAction(String policyDefinitionAction } /** - * Get the policyDefinitionCategory value. + * Get policy definition category. * * @return the policyDefinitionCategory value */ @@ -603,7 +603,7 @@ public String policyDefinitionCategory() { } /** - * Set the policyDefinitionCategory value. + * Set policy definition category. * * @param policyDefinitionCategory the policyDefinitionCategory value to set * @return the PolicyStateInner object itself. @@ -614,7 +614,7 @@ public PolicyStateInner withPolicyDefinitionCategory(String policyDefinitionCate } /** - * Get the policySetDefinitionId value. + * Get policy set definition ID, if the policy assignment is for a policy set. * * @return the policySetDefinitionId value */ @@ -623,7 +623,7 @@ public String policySetDefinitionId() { } /** - * Set the policySetDefinitionId value. + * Set policy set definition ID, if the policy assignment is for a policy set. * * @param policySetDefinitionId the policySetDefinitionId value to set * @return the PolicyStateInner object itself. @@ -634,7 +634,7 @@ public PolicyStateInner withPolicySetDefinitionId(String policySetDefinitionId) } /** - * Get the policySetDefinitionName value. + * Get policy set definition name, if the policy assignment is for a policy set. * * @return the policySetDefinitionName value */ @@ -643,7 +643,7 @@ public String policySetDefinitionName() { } /** - * Set the policySetDefinitionName value. + * Set policy set definition name, if the policy assignment is for a policy set. * * @param policySetDefinitionName the policySetDefinitionName value to set * @return the PolicyStateInner object itself. @@ -654,7 +654,7 @@ public PolicyStateInner withPolicySetDefinitionName(String policySetDefinitionNa } /** - * Get the policySetDefinitionOwner value. + * Get policy set definition owner, if the policy assignment is for a policy set. * * @return the policySetDefinitionOwner value */ @@ -663,7 +663,7 @@ public String policySetDefinitionOwner() { } /** - * Set the policySetDefinitionOwner value. + * Set policy set definition owner, if the policy assignment is for a policy set. * * @param policySetDefinitionOwner the policySetDefinitionOwner value to set * @return the PolicyStateInner object itself. @@ -674,7 +674,7 @@ public PolicyStateInner withPolicySetDefinitionOwner(String policySetDefinitionO } /** - * Get the policySetDefinitionCategory value. + * Get policy set definition category, if the policy assignment is for a policy set. * * @return the policySetDefinitionCategory value */ @@ -683,7 +683,7 @@ public String policySetDefinitionCategory() { } /** - * Set the policySetDefinitionCategory value. + * Set policy set definition category, if the policy assignment is for a policy set. * * @param policySetDefinitionCategory the policySetDefinitionCategory value to set * @return the PolicyStateInner object itself. @@ -694,7 +694,7 @@ public PolicyStateInner withPolicySetDefinitionCategory(String policySetDefiniti } /** - * Get the policySetDefinitionParameters value. + * Get policy set definition parameters, if the policy assignment is for a policy set. * * @return the policySetDefinitionParameters value */ @@ -703,7 +703,7 @@ public String policySetDefinitionParameters() { } /** - * Set the policySetDefinitionParameters value. + * Set policy set definition parameters, if the policy assignment is for a policy set. * * @param policySetDefinitionParameters the policySetDefinitionParameters value to set * @return the PolicyStateInner object itself. @@ -714,7 +714,7 @@ public PolicyStateInner withPolicySetDefinitionParameters(String policySetDefini } /** - * Get the managementGroupIds value. + * Get comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. * * @return the managementGroupIds value */ @@ -723,7 +723,7 @@ public String managementGroupIds() { } /** - * Set the managementGroupIds value. + * Set comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under. * * @param managementGroupIds the managementGroupIds value to set * @return the PolicyStateInner object itself. @@ -734,7 +734,7 @@ public PolicyStateInner withManagementGroupIds(String managementGroupIds) { } /** - * Get the policyDefinitionReferenceId value. + * Get reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. * * @return the policyDefinitionReferenceId value */ @@ -743,7 +743,7 @@ public String policyDefinitionReferenceId() { } /** - * Set the policyDefinitionReferenceId value. + * Set reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set. * * @param policyDefinitionReferenceId the policyDefinitionReferenceId value to set * @return the PolicyStateInner object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesImpl.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesImpl.java index f0a85106b6bf..afeb77c41c74 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesImpl.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesImpl.java @@ -11,7 +11,6 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; import com.microsoft.azure.management.policyinsights.v2018_04_04.PolicyStates; -import rx.Completable; import rx.functions.Func1; import rx.Observable; import com.microsoft.azure.management.policyinsights.v2018_04_04.PolicyStatesQueryResults; @@ -223,9 +222,9 @@ public SummarizeResults call(SummarizeResultsInner inner) { } @Override - public Completable getMetadataAsync(String scope) { + public Observable getMetadataAsync(String scope) { PolicyStatesInner client = this.inner(); - return client.getMetadataAsync(scope).toCompletable(); - } + return client.getMetadataAsync(scope) + ;} } diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesQueryResultsInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesQueryResultsInner.java index ec2abe0f9bd5..730e6bc06a2b 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesQueryResultsInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/PolicyStatesQueryResultsInner.java @@ -36,7 +36,7 @@ public class PolicyStatesQueryResultsInner { private List value; /** - * Get the odatacontext value. + * Get oData context string; used by OData clients to resolve type information based on metadata. * * @return the odatacontext value */ @@ -45,7 +45,7 @@ public String odatacontext() { } /** - * Set the odatacontext value. + * Set oData context string; used by OData clients to resolve type information based on metadata. * * @param odatacontext the odatacontext value to set * @return the PolicyStatesQueryResultsInner object itself. @@ -56,7 +56,7 @@ public PolicyStatesQueryResultsInner withOdatacontext(String odatacontext) { } /** - * Get the odatacount value. + * Get oData entity count; represents the number of policy state records returned. * * @return the odatacount value */ @@ -65,7 +65,7 @@ public Integer odatacount() { } /** - * Set the odatacount value. + * Set oData entity count; represents the number of policy state records returned. * * @param odatacount the odatacount value to set * @return the PolicyStatesQueryResultsInner object itself. @@ -76,7 +76,7 @@ public PolicyStatesQueryResultsInner withOdatacount(Integer odatacount) { } /** - * Get the value value. + * Get query results. * * @return the value value */ @@ -85,7 +85,7 @@ public List value() { } /** - * Set the value value. + * Set query results. * * @param value the value value to set * @return the PolicyStatesQueryResultsInner object itself. diff --git a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/SummarizeResultsInner.java b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/SummarizeResultsInner.java index be6ac29ed662..03df7898859f 100644 --- a/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/SummarizeResultsInner.java +++ b/sdk/policyinsights/mgmt-v2018_04_04/src/main/java/com/microsoft/azure/management/policyinsights/v2018_04_04/implementation/SummarizeResultsInner.java @@ -37,7 +37,7 @@ public class SummarizeResultsInner { private List value; /** - * Get the odatacontext value. + * Get oData context string; used by OData clients to resolve type information based on metadata. * * @return the odatacontext value */ @@ -46,7 +46,7 @@ public String odatacontext() { } /** - * Set the odatacontext value. + * Set oData context string; used by OData clients to resolve type information based on metadata. * * @param odatacontext the odatacontext value to set * @return the SummarizeResultsInner object itself. @@ -57,7 +57,7 @@ public SummarizeResultsInner withOdatacontext(String odatacontext) { } /** - * Get the odatacount value. + * Get oData entity count; represents the number of summaries returned; always set to 1. * * @return the odatacount value */ @@ -66,7 +66,7 @@ public Integer odatacount() { } /** - * Set the odatacount value. + * Set oData entity count; represents the number of summaries returned; always set to 1. * * @param odatacount the odatacount value to set * @return the SummarizeResultsInner object itself. @@ -77,7 +77,7 @@ public SummarizeResultsInner withOdatacount(Integer odatacount) { } /** - * Get the value value. + * Get summarize action results. * * @return the value value */ @@ -86,7 +86,7 @@ public List value() { } /** - * Set the value value. + * Set summarize action results. * * @param value the value value to set * @return the SummarizeResultsInner object itself.