Sha256: ff89df1fc6f88eeac59fa87d5a2c8292a9df303acc13c81e676eec7d20424e92
Contents?: true
Size: 783 Bytes
Versions: 5
Compression:
Stored size: 783 Bytes
Contents
module ApiStub module Models module Resources # Mock class for Resource Group Model class ResourceGroup def self.create_resource_group_response(client) resource_group = '{ "id": "/subscriptions/########-####-####-####-############/resourceGroups/fog-test-rg", "name": "fog-test-rg", "location": "westus", "tags": { "tagname1": "tagvalue1" }, "properties": { "provisioning_state": "Succeeded" } }' result_mapper = Azure::ARM::Resources::Models::ResourceGroup.mapper client.deserialize(result_mapper, JSON.load(resource_group), 'result.body') end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems