Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/**
* 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.hybriddata;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Contains the localized display information for this particular operation /
* action.
* These value will be used by several clients for
* (1) custom role definitions for RBAC;
* (2) complex query filters for the event service; and (3) audit history /
* records for management operations.
*/
public class AvailableProviderOperationDisplay {
/**
* Gets or sets Provider
* The localized friendly form of the resource provider name – it is
* expected to also include the publisher/company responsible.
* It should use Title Casing and begin with “Microsoft” for 1st party
* services.
*/
@JsonProperty(value = "provider")
private String provider;

/**
* Gets or sets Resource
* The localized friendly form of the resource type related to this
* action/operation – it should match the public documentation for the
* resource provider.
* It should use Title Casing – for examples, please refer to the “name”
* section.
*/
@JsonProperty(value = "resource")
private String resource;

/**
* Gets or sets Operation
* The localized friendly name for the operation, as it should be shown to
* the user.
* It should be concise (to fit in drop downs) but clear (i.e.
* self-documenting). It should use Title Casing and include the
* entity/resource to which it applies.
*/
@JsonProperty(value = "operation")
private String operation;

/**
* Gets or sets Description
* The localized friendly description for the operation, as it should be
* shown to the user.
* It should be thorough, yet concise – it will be used in tool tips and
* detailed views.
*/
@JsonProperty(value = "description")
private String description;

/**
* Get gets or sets Provider
The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible.
It should use Title Casing and begin with “Microsoft” for 1st party services.
*
* @return the provider value
*/
public String provider() {
return this.provider;
}

/**
* Set gets or sets Provider
The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible.
It should use Title Casing and begin with “Microsoft” for 1st party services.
*
* @param provider the provider value to set
* @return the AvailableProviderOperationDisplay object itself.
*/
public AvailableProviderOperationDisplay withProvider(String provider) {
this.provider = provider;
return this;
}

/**
* Get gets or sets Resource
The localized friendly form of the resource type related to this action/operation – it should match the public documentation for the resource provider.
It should use Title Casing – for examples, please refer to the “name” section.
*
* @return the resource value
*/
public String resource() {
return this.resource;
}

/**
* Set gets or sets Resource
The localized friendly form of the resource type related to this action/operation – it should match the public documentation for the resource provider.
It should use Title Casing – for examples, please refer to the “name” section.
*
* @param resource the resource value to set
* @return the AvailableProviderOperationDisplay object itself.
*/
public AvailableProviderOperationDisplay withResource(String resource) {
this.resource = resource;
return this;
}

/**
* Get gets or sets Operation
The localized friendly name for the operation, as it should be shown to the user.
It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing and include the entity/resource to which it applies.
*
* @return the operation value
*/
public String operation() {
return this.operation;
}

/**
* Set gets or sets Operation
The localized friendly name for the operation, as it should be shown to the user.
It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing and include the entity/resource to which it applies.
*
* @param operation the operation value to set
* @return the AvailableProviderOperationDisplay object itself.
*/
public AvailableProviderOperationDisplay withOperation(String operation) {
this.operation = operation;
return this;
}

/**
* Get gets or sets Description
The localized friendly description for the operation, as it should be shown to the user.
It should be thorough, yet concise – it will be used in tool tips and detailed views.
*
* @return the description value
*/
public String description() {
return this.description;
}

/**
* Set gets or sets Description
The localized friendly description for the operation, as it should be shown to the user.
It should be thorough, yet concise – it will be used in tool tips and detailed views.
*
* @param description the description value to set
* @return the AvailableProviderOperationDisplay object itself.
*/
public AvailableProviderOperationDisplay withDescription(String description) {
this.description = description;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/**
* 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.hybriddata;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The pair of customer secret.
*/
public class CustomerSecret {
/**
* The identifier to the data service input object which this secret
* corresponds to.
*/
@JsonProperty(value = "keyIdentifier", required = true)
private String keyIdentifier;

/**
* It contains the encrypted customer secret.
*/
@JsonProperty(value = "keyValue", required = true)
private String keyValue;

/**
* The encryption algorithm used to encrypt data. Possible values include:
* 'None', 'RSA1_5', 'RSA_OAEP', 'PlainText'.
*/
@JsonProperty(value = "algorithm", required = true)
private SupportedAlgorithm algorithm;

/**
* Get the identifier to the data service input object which this secret corresponds to.
*
* @return the keyIdentifier value
*/
public String keyIdentifier() {
return this.keyIdentifier;
}

/**
* Set the identifier to the data service input object which this secret corresponds to.
*
* @param keyIdentifier the keyIdentifier value to set
* @return the CustomerSecret object itself.
*/
public CustomerSecret withKeyIdentifier(String keyIdentifier) {
this.keyIdentifier = keyIdentifier;
return this;
}

/**
* Get it contains the encrypted customer secret.
*
* @return the keyValue value
*/
public String keyValue() {
return this.keyValue;
}

/**
* Set it contains the encrypted customer secret.
*
* @param keyValue the keyValue value to set
* @return the CustomerSecret object itself.
*/
public CustomerSecret withKeyValue(String keyValue) {
this.keyValue = keyValue;
return this;
}

/**
* Get the encryption algorithm used to encrypt data. Possible values include: 'None', 'RSA1_5', 'RSA_OAEP', 'PlainText'.
*
* @return the algorithm value
*/
public SupportedAlgorithm algorithm() {
return this.algorithm;
}

/**
* Set the encryption algorithm used to encrypt data. Possible values include: 'None', 'RSA1_5', 'RSA_OAEP', 'PlainText'.
*
* @param algorithm the algorithm value to set
* @return the CustomerSecret object itself.
*/
public CustomerSecret withAlgorithm(SupportedAlgorithm algorithm) {
this.algorithm = algorithm;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* 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.hybriddata;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The DataManagerUpdateParameter.
*/
public class DataManagerUpdateParameter {
/**
* The sku type.
*/
@JsonProperty(value = "sku")
private Sku sku;

/**
* The list of key value pairs that describe the resource. These tags can
* be used in viewing and grouping this resource
* (across resource groups).
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;

/**
* Get the sku type.
*
* @return the sku value
*/
public Sku sku() {
return this.sku;
}

/**
* Set the sku type.
*
* @param sku the sku value to set
* @return the DataManagerUpdateParameter object itself.
*/
public DataManagerUpdateParameter withSku(Sku sku) {
this.sku = sku;
return this;
}

/**
* Get the list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
(across resource groups).
*
* @return the tags value
*/
public Map<String, String> tags() {
return this.tags;
}

/**
* Set the list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
(across resource groups).
*
* @param tags the tags value to set
* @return the DataManagerUpdateParameter object itself.
*/
public DataManagerUpdateParameter withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* 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.hybriddata;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Contains the information about the filters for the DataStore.
*/
public class DataStoreFilter {
/**
* The data store type id.
*/
@JsonProperty(value = "dataStoreTypeId")
private String dataStoreTypeId;

/**
* Get the data store type id.
*
* @return the dataStoreTypeId value
*/
public String dataStoreTypeId() {
return this.dataStoreTypeId;
}

/**
* Set the data store type id.
*
* @param dataStoreTypeId the dataStoreTypeId value to set
* @return the DataStoreFilter object itself.
*/
public DataStoreFilter withDataStoreTypeId(String dataStoreTypeId) {
this.dataStoreTypeId = dataStoreTypeId;
return this;
}

}
Loading