зеркало из
1
0
Форкнуть 0

Generated from 75926b97fa6ea2c49e751d80c35aa916c6e5523a (#982)

This commit is contained in:
AutorestCI 2017-09-26 12:52:34 -07:00 коммит произвёл Sarangan Rajamanickam
Родитель 779a9333c0
Коммит 74968b1cd5
3 изменённых файлов: 7 добавлений и 8 удалений

Просмотреть файл

@ -20,8 +20,8 @@ require 'generated/azure_mgmt_policy/module_definition'
require 'ms_rest_azure' require 'ms_rest_azure'
module Azure::ARM::Policy module Azure::ARM::Policy
autoload :PolicyAssignments, 'generated/azure_mgmt_policy/policy_assignments.rb'
autoload :PolicyDefinitions, 'generated/azure_mgmt_policy/policy_definitions.rb' autoload :PolicyDefinitions, 'generated/azure_mgmt_policy/policy_definitions.rb'
autoload :PolicyAssignments, 'generated/azure_mgmt_policy/policy_assignments.rb'
autoload :PolicyClient, 'generated/azure_mgmt_policy/policy_client.rb' autoload :PolicyClient, 'generated/azure_mgmt_policy/policy_client.rb'
module Models module Models

Просмотреть файл

@ -41,9 +41,7 @@ module Azure::ARM::Policy
# @return [String] The ID of the policy definition. # @return [String] The ID of the policy definition.
attr_accessor :id attr_accessor :id
# @return [String] The name of the policy definition. If you do not # @return [String] The name of the policy definition.
# specify a value for name, the value is inferred from the name value in
# the request URI.
attr_accessor :name attr_accessor :name
@ -118,6 +116,7 @@ module Azure::ARM::Policy
}, },
name: { name: {
required: false, required: false,
read_only: true,
serialized_name: 'name', serialized_name: 'name',
type: { type: {
name: 'String' name: 'String'

Просмотреть файл

@ -34,12 +34,12 @@ module Azure::ARM::Policy
# is generated and included in each request. Default is true. # is generated and included in each request. Default is true.
attr_accessor :generate_client_request_id attr_accessor :generate_client_request_id
# @return [PolicyAssignments] policy_assignments
attr_reader :policy_assignments
# @return [PolicyDefinitions] policy_definitions # @return [PolicyDefinitions] policy_definitions
attr_reader :policy_definitions attr_reader :policy_definitions
# @return [PolicyAssignments] policy_assignments
attr_reader :policy_assignments
# #
# Creates initializes a new instance of the PolicyClient class. # Creates initializes a new instance of the PolicyClient class.
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
@ -53,8 +53,8 @@ module Azure::ARM::Policy
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
@credentials = credentials @credentials = credentials
@policy_assignments = PolicyAssignments.new(self)
@policy_definitions = PolicyDefinitions.new(self) @policy_definitions = PolicyDefinitions.new(self)
@policy_assignments = PolicyAssignments.new(self)
@api_version = '2016-12-01' @api_version = '2016-12-01'
@accept_language = 'en-US' @accept_language = 'en-US'
@long_running_operation_retry_timeout = 30 @long_running_operation_retry_timeout = 30